set the following property in the af:document tag of your page
<af:document id="d1" uncommittedDataWarning="on">
uncommittedDataWarning - Specifies whether users should be warned about uncommitted data when navigating off the page or region. Setting this property to ‘on’ will enable the warnings.
we can also call
to check for any uncommitted data
Pingback: Tweets that mention How to check pending changes in the page when browser back button is clicked « They point the finger at me.. again! -- Topsy.com
We are facing an issue in our application where this doensot seem to work for input fields for which autosubmit is turned to true. Once I unset thye autoSubmit property to false , this works fine.
the autosubmit is needed in our application for specific needs.
Can you please throw some light on this weird behaviour !
is it like you have to update some component based on the value in the inputfield?..
sure buddy. appreciate.