Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 13411 invoked from network); 30 Nov 2004 22:58:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Nov 2004 22:58:13 -0000 Received: (qmail 24473 invoked by uid 500); 30 Nov 2004 22:58:05 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 24424 invoked by uid 500); 30 Nov 2004 22:58:05 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 24403 invoked by uid 99); 30 Nov 2004 22:58:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from garuda-95.cablenet.com.ni (HELO ags01.agsoftware.dnsalias.com) (165.98.147.95) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 14:58:03 -0800 Received: from ags01.agsoftware.dnsalias.com (localhost.localdomain [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.10) with ESMTP id iAUMvtxI018382 for ; Tue, 30 Nov 2004 16:57:55 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11/Submit) id iAUMvtPa018381; Tue, 30 Nov 2004 16:57:55 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to cchavez@agssa.net using -f Received: from 10.0.0.1 (SquirrelMail authenticated user cchavez); by ags01.agsoftware.dnsalias.com with HTTP; Tue, 30 Nov 2004 16:57:55 -0600 (CST) Message-ID: <40812.10.0.0.1.1101855475.squirrel@ags01.agsoftware.dnsalias.com> In-Reply-To: References: Date: Tue, 30 Nov 2004 16:57:55 -0600 (CST) Subject: Re: How do you submit repeater values to an ESQL Query Page? (through HTML) From: Carlos =?iso-8859-1?Q?Ch=E1vez?= To: users@cocoon.apache.org Reply-To: cchavez@agssa.net User-Agent: SquirrelMail/1.4.3a-6.FC2 X-Mailer: SquirrelMail/1.4.3a-6.FC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jonathan_Leaders@sil.org Escribio :-) > I have an HTML form that has a variable amount of fields. Because the > number of fields (and thus their field names) are unknown at submission, > how can I write an XSP page that will take the dynamic content? (The > dynamic content however, is deducible, either by DOM tree, or local > javascript variables) And the field names are standardized (e.g. "input1", > "input2", "input3" etc. to and unknown n) Hi Jonathan. you can create several input field with the same name: for example "name" and you can create a array over that input field : String[ ] strName = later you can iterate over the elements of array. Cheers. -- Carlos Ch�vez --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org