Martin Gainty
Sun, 04 May 2008 18:01:30 -0700
Why not use Autocompleter?When used on the "simple" theme, the autocompleter can be used like the ComboBox.
When used on the "ajax" theme, the list can be retieved from an action. http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/components/Autocompleter.html----- Original Message ----- From: "Mead Lai" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Sunday, May 04, 2008 8:43 PM Subject: Re: How to get dynamic number of arguments into ActionForm
List typeOn Sun, May 4, 2008 at 7:51 PM, venkat reddy <[EMAIL PROTECTED]> wrote:I'm using struts 1.2.7I've a poll-posting-form in adminstrator section of my application. formatof 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 alink to give the administrator another choice field.Now, how can i get these dynamic fields into my ActionForm and what type ofobject should i declare in <form-beans> tag. explain in detail plz--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]