You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mariusz Sieraczkiewicz <ma...@o2.pl> on 2003/08/04 14:12:05 UTC
How to enumerate parameters values with xsp-request logicsheet
As in subject. There exists
xsp-request:get-parameter-names
that enumerates parameters names, but how to build
pairs 'name <-> value'?
_____________________________
Best regards, Mariusz Sieraczkiewicz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How to enumerate parameters values with xsp-request logicsheet
Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 04.Aug.2003 -- 02:12 PM, Mariusz Sieraczkiewicz wrote:
> As in subject. There exists
>
> xsp-request:get-parameter-names
>
> that enumerates parameters names, but how to build
> pairs 'name <-> value'?
I'm afraid you'll need to do that manually with
java. get-parameter-names returns an enumeration of all parameter
names. Walk over that, retrieve the name, call get-parameter-values on
the name and add it to a map or something.
But -- if you need this, you might be better off reconsidering your
design. Maybe there is too much logic on your XSP.
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org