Hmmm... you're right, Timo, this does not work on 1.2.6. Unfortunately, I'm stuck on this version for now. :-(
Any other suggestions? Cheers, David On Fri, 2007-07-27 at 08:30 +0300, Timo Rantalaiho wrote: > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
