Cancel Button Conundrum

2013-09-10 Thread Richard W. Adams
I need to create a Cancel button that warns the user about saved data on a form before leaving the page. Thus, I can't call setDefaultFormProcessing (false), since that would cause the data not be transferred to the model. But I ALSO don't want the page to complain about missing or invalid

RE: Cancel Button Conundrum

2013-09-10 Thread Paul Bors
-Original Message- From: Richard W. Adams [mailto:rwada...@up.com] Sent: Tuesday, September 10, 2013 8:59 AM To: users@wicket.apache.org Subject: Cancel Button Conundrum I need to create a Cancel button that warns the user about saved data on a form before leaving the page. Thus, I can't call

Re: Cancel Button Conundrum

2013-09-10 Thread Sven Meier
You can show a ModalDialog via Ajax or use a JavaScript-only solution. Sven On 09/10/2013 02:58 PM, Richard W. Adams wrote: I need to create a Cancel button that warns the user about saved data on a form before leaving the page. Thus, I can't call setDefaultFormProcessing (false), since that