I am developing a simple project in JDeveloper. In the jsff page I have a button which should execute a specific action only if the result from the action listener of the button is true. Please take a look at the code:
<af:button text="Save" id="b1" action="finish"
actionListener="#{pageFlowScope.saveDate.isValid}">
For example, if the return value of #{pageFlowScope.saveDate.isValid}
is true, then execute action="finish"
, otherwise do nothing.
Thanks!