OK I think I must be spreading confusion - thats what you get, arrays of
beans, not strings.

For LazyValidatorForm the default for an indexed property is an ArrayList of
LazyDynaBean - and it populates the LazyDynaBean for you automatically.

For LazyDynaBean the default indexed property is an ArrayList - but it
doesn't populate it with anything. If however you create a custom
LazyDynaBean (like the example I gave) changing the default indexed property
to an LazyDynaBean array then the default indexed property is an Array of
LazyDynaBean  - populated automatically. Now you can have 1...n levels of
indexed beans to your hearts content.

Niall

----- Original Message ----- 
From: "Hubert Rabago" <[EMAIL PROTECTED]>
Subject: Re: Indexed Properties and Lazy List behaviour

> My understanding of the question on the user list was for a form which
> contained an array of beans, instead of just an array of strings.  An
> example would be a form bean containing a list/array of children, each
> with a name, date of birth, daily allowance, etc.  If each child is a
> dyna form, I can use FormDef for each element.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to