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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -