cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <>
Subject RE: SessionTransformer: multiple select
Date Mon, 21 Oct 2002 15:41:36 GMT
Thanks for the tip Ryan.
I'm hoping to stick with SessionTransformer -- I would assume it should be
possible, but haven't been able to find the correct usage in documentation.
Any other ideas?
-----Original Message----- 
From: Ryan Agler [] 
Sent: Mon 10/21/2002 1:42 PM 
Subject: RE: SessionTransformer: multiple select

Something like this should do the trick inside of an xsp.  Be sure to
declare the xsp-request logicsheet.

String[] selectItems = <xsp-request:get-parameter-values
name="selectItem" as="array"/>;
for(int i=0; i <![CDATA[<]]> selectItems.length; i++)

-----Original Message-----
From: Alex Romayev [ <> ]
Sent: Monday, October 21, 2002 5:57 AM
Subject: SessionTransformer: multiple select

I have a "multiple" select, which is being submitted by a form, so that
my request string looks like:
Does anyone know how I could retrieve all of the "selectItem" request
paramters?  I've tried (just to see what happens):
<session:getxml context="request" path="/parameter/selectItem"/>, and
this just gets the first selectItem parameter (id=1).
What I would like to get is:
 <item id="1"/>
 <item id="2"/>
 <item id="3"/>

Please check that your question  has not already been answered in the
FAQ before posting.     <
<> >

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

View raw message