Hi,
I have a button like this:

When I click 'save' it is supposed to call the save() of the UserForm.
But it does not get called.
Interesting thing is if I remove this line from the file, the save()
function of UserForm get called.

<!-- if I remove this line, it works -->
"<h:inputHidden value="#{userForm.user.id}" id="id"/>"


Here is the line for the save button.

<h:panelGroup styleClass="buttonBar bottom">
       <h:commandButton value="#{text['button.save']}"
action="#{userForm.save}" styleClass="button"/>

       <h:commandButton value="#{text['button.cancel']}"
action="#{userForm.cancel}" immediate="true"
           styleClass="button" onclick="bCancel=true"/>
   </h:panelGroup>

Any idea how can I trouble-shoot this problem?

Thank you.

Reply via email to