Re: [Wicket-user] Optional confirmation when cancelling/leaving a form

2006-10-02 Thread Eelco Hillenius
I think I would do kind of the same if I understand you correctly. An attribute modifier could do find(Form.class) on the component it is attached to, and then figure out the components it should include in the check. I would make a separate Javascript function in a separate file that would be

Re: [Wicket-user] Optional confirmation when cancelling/leaving a form

2006-09-28 Thread Nino Wael
The wicket phonebook has an example on howto do this or at least something similar.. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Macrae, Jeremy Sent: 27. september 2006 15:44 To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] Optional confirmation

[Wicket-user] Optional confirmation when cancelling/leaving a form

2006-09-27 Thread Macrae, Jeremy
Hi, I am trying to implement a mechanism where a confirmation dialogue is raised if the user leaves a form either via the cancel button, or selecting to navigate to another page. I only want this dialogue to appear if the model has changed so that the user knows that they have changed