[Wicket-user] extending and reusing form (and eventually any component)

2007-06-06 Thread diego
Hi, i have an inner form that i want to modularize (the class and the html), but the only way that came up to my mind to do this is creating a new class that extends Panel, add the form to it (as inner too but this time into the extended panel) and put in a html file my code inside

Re: [Wicket-user] extending and reusing form (and eventually any component)

2007-06-06 Thread Matej Knopp
Not an easy one I'm afraid. The way you've described (creating a panel with form) is actually a preferred one. If you really need to have form with own markup, you'll probably have to look at WebMarkupContainerWithAssociatedMarkup and Panel classes, and add the functionality from those to your

Re: [Wicket-user] extending and reusing form (and eventually any component)

2007-06-06 Thread Francisco Diaz Trepat - gmail
Diego I have been encapsulating functionality of a Demo app into panels and worked preaty good. A Login panel can then be added wherever and whenever we needed. f(t) On 6/6/07, diego [EMAIL PROTECTED] wrote: Hi, i have an inner form that i want to modularize (the class and the html), but the