I 'm not sure i completely understand your requirement, but the AjaxButton too has a constructor with a Form as parameter. Would it be possible to access the form when creating the button?
Bert On Mon, Jan 18, 2010 at 13:11, Martin Asenov <mase...@velti.com> wrote: > Thanks Bert, but I use a button... I need to have the button in the page, > because it does the same for any form. I want to have code re-usage. But > however my abstract MyFormPanel does not have relevant markup, so I can't > include the buttons there, it would be nice, but I can not. I just want to > avoid having the very same buttons and markup in every subclass of > MyFormPanel... > > Can anyone please give further assist? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org