On Wed, 17 Jul 2002, Struts Newsgroup wrote:

> Date: Wed, 17 Jul 2002 10:55:01 -0700
> From: Struts Newsgroup <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: getting nested tags to work with DynaActionForm???
>
> Subject: Re: getting nested tags to work with DynaActionForm???
> From: Serge Shikov <[EMAIL PROTECTED]>
>  ===
> Craig R. McClanahan wrote:
> >
> > For DynaActionForm instances, the default initialization of all
> > non-primitives in null.  That's why you still need to initialize in
> > reset(), or use the new "initial" property described below.
> Craig, could you give some examples for nested property initialization?
> How to initialize DynaForm with nested properties like yyyy.zzzz - what
> should I specify in initial attribute for yyyy (if any)?
>

You'll have to do nested initialization like this on your own, in either
the reset() method or perhaps in a constructor.  The initial attribute
only works for one-level setting, and only for the restricted cases where
you can convert the initial value from the "initial" string.

Craig


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


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

Reply via email to