Detecting Page Re-Display

2013-05-13 Thread Richard W. Adams
How can I detect when a page is about to be re-displayed? In my app, some pages have OK buttons that are enabled once the user has entered certain data. When the user then clicks OK, he taken to another page where some actions are performed. When he then RETURNS from the action page to the

Re: Detecting Page Re-Display

2013-05-13 Thread Andrea Del Bene
Do you disable/enable the button on server side (i.e. invoking setEnabled)? You should use page's onConfigure to place your configuration code (for example the code to disable the button). How can I detect when a page is about to be re-displayed? In my app, some pages have OK buttons that are

Re: Detecting Page Re-Display

2013-05-13 Thread Richard W. Adams
That did it! Thanks! From: Andrea Del Bene an.delb...@gmail.com To: users@wicket.apache.org Date: 05/13/2013 10:42 AM Subject:Re: Detecting Page Re-Display Do you disable/enable the button on server side (i.e. invoking setEnabled)? You should use page's onConfigure to place