Re: JSF commandButton

Splash Forums PrettyFaces Users JSF commandButton Re: JSF commandButton


What version of PrettyFaces are you using? That sounds backwards.

<action> #{bean.action} </action> — should trigger the action on PostBack

<action onPostback="false"> #{bean.action}</action> — should not trigger the action on PostBack

This should have no affect on command button action methods (<h:commandButton action="#{otherBean.otherMethod}" />), unless of course your action method invokes navigation – this would prevent further JSF processing (including any command actions) for the current request