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
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
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