Oh, sorry, missed that. Thanks! jk
On Mon, Aug 31, 2009 at 02:40:33PM -0700, Igor Vaynberg wrote: > later versions of wicket (1.4.0+?) have Component#onRemove() > > -igor > > On Mon, Aug 31, 2009 at 1:42 PM, John Krasnay<j...@krasnay.ca> wrote: > > Hi folks, > > > > I have a wizard-like page with a form, and inside the form I have a > > panel that I replace as the user moves through the flow. In some cases, > > I need one of the panels to contribute a form validator to the enclosing > > form. > > > > Adding the validator is simple enough: I just override the panel's > > onBeforeRender(), find the form, and add the validator. But removing the > > validator is tricky since there doesn't seem to be a way to have Wicket > > notify the panel that it has been removed. > > > > Currently, I have the page call a "onRemove" method on panels that > > implement a particular interface, but it would be nice if I didn't need > > to explicitly do this. > > > > Am I missing something? > > > > jk > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org