struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mead Lai" <laiqi...@gmail.com>
Subject Re: How to get dynamic number of arguments into ActionForm
Date Mon, 05 May 2008 00:43:38 GMT
List type

On Sun, May 4, 2008 at 7:51 PM, venkat reddy <venkatonfire@gmail.com> wrote:
> I'm using struts 1.2.7
>
>  I've a poll-posting-form in adminstrator section of my application. format
>  of the form is as follows.
>
>  pollsubject: String
>  lastDate:String
>  choice1:String
>  choice2:String
>  .
>  .
>  .
>  <a href="addChoice();">Add another option</a>
>
>  As you can see here, the number of choices are dynamic and i want to add a
>  link to give the administrator another choice field.
>
>  Now, how can i get these dynamic fields into my ActionForm and what type of
>  object should i declare in <form-beans> tag. explain in detail plz
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message