cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Chávez <>
Subject Re: How do you submit repeater values to an ESQL Query Page? (through HTML)
Date Tue, 30 Nov 2004 22:57:55 GMT 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 = <xsp-request:get-parameter-values name="name"

 later you can iterate over the elements of array.


Carlos Chávez

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message