struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jouravlev" <>
Subject Re: FormDef
Date Wed, 02 Aug 2006 22:05:27 GMT
On 7/20/06, Hubert Rabago <> wrote:
> FormDef support nested beans, and nested collections of beans.  If you
> had a nested Address object, your form would look like:
> <html:text property="name"/>
> <html:text property="hireDate"/>
> <html:text property="address.zipCode"/>

In your example Address is nested within ActionForm, right? What if I
have an object like Person having Address as its member. All
properties are strongly-typed so I do not want to expose them for I/O,
instead I want to have autogenerated ActionForm fields so that I could
redisplay them on error. Say I do not nest Persion inside ActionForm.
Can I still somehow have a string property inside my ActionForm that
corresponds to Person.Address? Can this property be autogenerated?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message