Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Button action problem in richfaces

Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have created one simple master page. There is cancel button with action in that page.To execute action, I have to press cancel button two times.
Why its not working on single click.

here is jsf page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns=""

<h:form id="productMasterForm">
<f:facet name="header">
Product Master
<h:panelGrid columns="2">
<h:outputLabel value="EAN" />
<h:inputText value="#{productMaster.ean}"
readonly="#{productMaster.editMode}" />
<h:outputLabel value="Product Descirption" />
<h:inputText value="#{productMaster.productDesc}" />
<a4j:commandButton id="save" value="Save"
<h:commandButton id="cancel" value="Cancel"
<h:message showSummary="true" showDetail="false"
style="color: red; font-weight: bold;" for="save" />

Slideshow boring ... losing consciousness ... just gonna take a quick nap on this tiny ad ...
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic