This content has been marked as final.
Show 2 replies
-
1. Re: Disable a4j:support client side
ilya_shaikovsky Jan 4, 2008 6:23 AM (in response to mtaal)For example you may use onsubmit on support to cancel the request when some flag changed. ;) Hope it helps.
-
2. Re: Disable a4j:support client side
mtaal Jan 4, 2008 7:02 AM (in response to mtaal)Thanks this worked, for reference I did this:
<a4j:support event="onchange" reRender="updateButton" rendered="#{formBean.editMode}" oncomplete="dataChanged = true;" onsubmit="if (dataChanged) return false;" action="#{formBean.setDataChanged(true)}" limitToList="true" bypassUpdates="true" ajaxSingle="true" />
gr. Martin