On Wed, 20 Aug 2008, Ned Collyer wrote: > eg, a dropdown for "Number of textfields" - if you choose 3, it adds 3 to > the panel then puts it into the page with ajax. > > So I dont think this will work. > > I could perhaps wrap these added fields in their own form and nest that with > its own visitor - just feels a bit nasty.
Hmm... I've always used repeaters for that kind of things, they can display a dynamic amount of children. However, I'm not sure if visiting them at that point would work either. you might need to invoke the visitor in onBeforeRender or something, just after the creation of the repeater items. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
