struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: ActionForm
Date Wed, 25 Jun 2003 13:19:03 GMT
Agreed.  Was just curious if Struts had an adequate solution for this type of 
problem.  Currently, I went back to using getParameterValues() which does an 
excellent job.

In a message dated 6/25/2003 1:14:48 PM Eastern Daylight Time, writes:

> >I'm running into a problem with using ActioForm.  I mean I know how to do
> the
> >normal stuff like say a login form, but I'm running into serious issues
> when
> >it comes to a dynamic forms.  I writing a survey application and well the
> form
> >is created dynamically as I dunno how many questions will exist in the
> >survey.  The problem comes into the picture when i'm trying to collect the
> form
> >data.  It seems the value object needs to have a specific number of
> methods.  Any
> >way to make this dynamic??
> >
> >
> When you don't know how many questions in the surveys, you might consider
> a map based property. But I don't believe this will give you much
> productivity
> gains comparing with the use of the ServletRequest.getParameterMap()
> method (The fundamental question becomes why you need form beans
> for this problem?)
> Jing
> Netspread Carrier

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message