Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 8508 invoked from network); 5 May 2008 01:01:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 May 2008 01:01:35 -0000 Received: (qmail 87023 invoked by uid 500); 5 May 2008 01:01:28 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 86998 invoked by uid 500); 5 May 2008 01:01:28 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 86987 invoked by uid 99); 5 May 2008 01:01:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 May 2008 18:01:28 -0700 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=FORGED_MUA_OUTLOOK,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mgainty@hotmail.com designates 65.54.246.177 as permitted sender) Received: from [65.54.246.177] (HELO bay0-omc2-s41.bay0.hotmail.com) (65.54.246.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 01:00:35 +0000 Received: from hotmail.com ([10.4.65.12]) by bay0-omc2-s41.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 4 May 2008 18:00:55 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 4 May 2008 18:00:55 -0700 Message-ID: Received: from 76.119.179.89 by BLU142-DAV2.phx.gbl with DAV; Mon, 05 May 2008 01:00:53 +0000 X-Originating-IP: [76.119.179.89] X-Originating-Email: [mgainty@hotmail.com] X-Sender: mgainty@hotmail.com From: "Martin Gainty" To: "Struts Users Mailing List" References: <3ad611430805041743t1efd356x7cee343991c685f@mail.gmail.com> Subject: Re: How to get dynamic number of arguments into ActionForm Date: Sun, 4 May 2008 21:00:51 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-OriginalArrivalTime: 05 May 2008 01:00:55.0418 (UTC) FILETIME=[78E605A0:01C8AE4B] X-Virus-Checked: Checked by ClamAV on apache.org 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" To: "Struts Users Mailing List" Sent: Sunday, May 04, 2008 8:43 PM Subject: Re: How to get dynamic number of arguments into ActionForm > List type > > On Sun, May 4, 2008 at 7:51 PM, venkat reddy > 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 >> . >> . >> . >> Add another option >> >> 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 tag. explain in detail plz >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org