Nested properties already provide for "objects as members of the form".
See
http://jakarta.apache.org/struts/api/org/apache/struts/taglib/bean/package-summary.html#doc.Properties
Chris Butler wrote:
>
> Has there been any interest in allowing ActionForms
> to have objects as members of the form?
>
> ie. dividing registration into user/address/contact/subscriptions
> sorts of sub-beans...
>
> chris
>
> At 08:25 AM 4/22/2001 -0400, Ted Husted wrote:
> >For a simple form with a single field that doesn't need validation you
> >can specify a name and type, e.g.
> >
> >otherwise, yes, you do have to give Struts a bean where it can save the
> >fields in your form. Vimal Kansal wrote: > > Hi, > > I am having a strange
> >problem. > > I have an action nmapping defined as > > >
> >path="/XDIViewAdminConfigForm.jsp" /> > > > And then in my
> >XDIViewAdminConfigForm.jsp, I have the > following : > >
> >action="/viewadminconfig.do"> > > .... > > > > When I request this, I get
> >the following exception : > > "javax.servlet.jsp.jSpException : Cannot
> >retrieve > definition for form bean null > at >
> >org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:708) > .... > >
> >Do I always have to associate a form bean with a form. > > Vimal