On Fri, 27 Jul 2007, David Leangen wrote: > I have a Panel that I'd like to be able to either render as a > FormComponent in the context of a known Form (by passing the parent Form > in this component's constructor) or, if the parent Form is null, to > itself render as a complete Form.
The discontinued 2.0 branch had nested forms, which would solve this elegantly; you would just change your Panel to Form, and it could be added (and Wicket would take care of replacing the inner <form> HTML elements with something else, <div> I think). But I'm not sure if nested forms are in 1.3 (though think they are). In 1.2 they definitely cannot be used. If you're on 1.3 you could give it a try. - Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
