RE: SessionTransformer: multiple select

2002-10-21 Thread Ryan Agler
Something like this should do the trick inside of an xsp.  Be sure to
declare the xsp-request logicsheet.



String[] selectItems = ;
for(int i=0; i  selectItems.length; i++)
{

selectItems[i]

}



-Original Message-
From: Alex Romayev [mailto:aromay@;sapient.com] 
Sent: Monday, October 21, 2002 5:57 AM
To: [EMAIL PROTECTED]
Subject: SessionTransformer: multiple select

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

 
 
 

 
Thanks,
-Alex

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

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: SessionTransformer: multiple select

2002-10-21 Thread Alex Romayev
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 [mailto:ryanagler@;hotmail.com] 
Sent: Mon 10/21/2002 1:42 PM 
To: [EMAIL PROTECTED] 
Cc: 
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 = ;
for(int i=0; i  selectItems.length; i++)
{

selectItems[i]

}



-Original Message-
From: Alex Romayev [mailto:aromay@;sapient.com <mailto:aromay@;sapient.com> ]
Sent: Monday, October 21, 2002 5:57 AM
To: [EMAIL PROTECTED]
Subject: SessionTransformer: multiple select

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

 
 
 

 
Thanks,
-Alex

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html
<http://xml.apache.org/cocoon/faq/index.html> >

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




<>-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>