Hi Barbara,

I already spent a couple of time about this problem and found the following, 
suboptimal solution:
I created an XSP, called the <xsp-request:get-parameter-values name="foo"/> and filled 
all the parameter name/value pairs in a loop into an XML element. Then I used the 
<aggregate> tag in the sitemap to concatenate the xml stream generated by the XSP 
(which contains now the parameter name/value pairs) with the original one. So I was at 
least able to reuse my stylesheet and additionally to get my parameter values out of 
the XML stream.

Regards,
Elmar

-----Ursprüngliche Nachricht-----
Von: Barbara Post [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 31. Juli 2002 00:05
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: Re: multiple checkboxes and request parameters passed to an xsl


hello Christian,, I don't want to use xsp, only xsl....
so...


Babs
--
website: www.babsfrance.fr.st
ICQ #: 135868405
----- Original Message -----
From: "Christian Haul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 7:45 PM
Subject: Re: multiple checkboxes and request parameters passed to an xsl


> On 30.Jul.2002 -- 07:15 PM, Barbara Post wrote:
> > Hello, how can my stylesheet get all the http request parameters since
the
> > http request sends a variable number of parameters named "checkedbox_i"
for
> > example, "i" being an unique identifier ? checkboxes are in variable
number
> > on the submit page, depending on a former choice.
> >
>
> Have a look at the getParameterValues() method (or
> <xsp-request:get-parameter-values name="foo"/>). They return arrays
> containing all values.
>
> Chris.
> --
> C h r i s t i a n       H a u l
> [EMAIL PROTECTED]
>     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> ---------------------------------------------------------------------
> 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]>
>
>


---------------------------------------------------------------------
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]>

---------------------------------------------------------------------
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]>

Reply via email to