1. You may replace submit action with some other .I'am sure you do not need form field values in case back button was pressed.

change
<input type="submit" value="back"/>
to
<input type="button" value="back"/> or <input type="reset" value="back"/>

2. In case if you need it you may set defer parameter to false in Submit component and receive submit event before validation

Angelo Chen пишет:
Hi,

following is the order of events fired when a form is submitted, I'd like to
avoid validation by  setting a flag in the onSelectedFromBackButton, but
can't find a way, onValidateFromForm is always called before any onAction or
onSelected, even I do an ajax call to onSelectedFromBackupButton, any idea?
thanks

onValidateFromForm
onSelectedFromBackButton


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to