Re: Defining dyna forms on the fly

2006-06-16 Thread Scott Van Wart
Wendy Smoak wrote: Let us know how the multiboxes work with lazy forms -- I had trouble with lists in regular DynaValidatorForms until I switched to using Commons Collections 'GrowthList' instead of String[] or ArrayList. Hi Wendy, The multibox thing seems to be a little tricky... I looked thro

Re: Defining dyna forms on the fly

2006-06-16 Thread Scott Van Wart
Wendy Smoak wrote: Let us know how the multiboxes work with lazy forms -- I had trouble with lists in regular DynaValidatorForms until I switched to using Commons Collections 'GrowthList' instead of String[] or ArrayList. Yeah I honestly don't understand why multiboxes don't work. The request h

Re: Defining dyna forms on the fly

2006-06-16 Thread Scott Van Wart
Wendy Smoak wrote: Let us know how the multiboxes work with lazy forms -- I had trouble with lists in regular DynaValidatorForms until I switched to using Commons Collections 'GrowthList' instead of String[] or ArrayList. I figured everything would work the same, but now that you mention it, it

Re: Defining dyna forms on the fly

2006-06-16 Thread Wendy Smoak
On 6/16/06, Scott Van Wart <[EMAIL PROTECTED]> wrote: > type="org.apache.struts.validator.LazyValidatorForm" /> OK, I'll give that a shot. Do lazy forms have the benefit of auto-population or do I need to copy the parameters from request to action form myself? I think the most complex I'l

Re: Defining dyna forms on the fly

2006-06-16 Thread Scott Van Wart
Wendy Smoak wrote: On 6/16/06, Scott Van Wart <[EMAIL PROTECTED]> wrote: I'd like to define the structure of a DynaValidatorForm on the fly instead of through struts-config.xml. I had a look at FormBeanConfig and DynaActionFormClass (which says "Application developers never need to consult this

Re: Defining dyna forms on the fly

2006-06-16 Thread Niall Pemberton
On 6/16/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 6/16/06, Scott Van Wart <[EMAIL PROTECTED]> wrote: > I'd like to define the structure of a DynaValidatorForm on the fly > instead of through struts-config.xml. I had a look at FormBeanConfig > and DynaActionFormClass (which says "Application

Re: Defining dyna forms on the fly

2006-06-16 Thread Wendy Smoak
On 6/16/06, Scott Van Wart <[EMAIL PROTECTED]> wrote: I'd like to define the structure of a DynaValidatorForm on the fly instead of through struts-config.xml. I had a look at FormBeanConfig and DynaActionFormClass (which says "Application developers never need to consult this documentation" :),

Defining dyna forms on the fly

2006-06-16 Thread Scott Van Wart
I'd like to define the structure of a DynaValidatorForm on the fly instead of through struts-config.xml. I had a look at FormBeanConfig and DynaActionFormClass (which says "Application developers never need to consult this documentation" :), but I'm not sure where to start. I'd like to do som