jsf - <h:commandButton> not firing the action method -
i have nested <h:form>, , inside inner <h:form> have <h:commandbutton> this,
<h:commandbutton value="next" actionlistener="#{billcontroller.savefiles}"\> public void savefiles(actionevent event){ //code } but method not getting invoked clicking action button. can give solution this?
just stop nesting forms. nested forms invalid in html. should never nest html <form> elements. jsf merely html code generator, it's not different jsf side on. should never nest jsf <h:form> components well.
the browser behavior on nested forms unspecified.
Comments
Post a Comment