You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sanket Pattekar <sa...@gmail.com> on 2006/07/25 16:09:51 UTC

Accessing values of check-box having the same name in the stylesheets

Hi,

I have a html form with multiple check box. This html form is
dynamically generated based on the content. So I have kept the names
of all the check boxes as MyCheck.

When I select multiple check-boxes, the request query is as follows

http://localhost:8888/Mytest?MyCheck=blue&MyCheck=red&MyCheck=yellow etc.

I have defined my xslt transformer to use-request params, so these are
available to me in the stylesheets. The problem I have is that I only
get the value of the first check box. How can I get the values of
other check box in my stylesheet

Thanks
Sanket

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Accessing values of check-box having the same name in the stylesheets

Posted by Antonio Gallardo <ag...@agssa.net>.
Sanket Pattekar escribió:
> Hi,
>
> I have a html form with multiple check box. This html form is
> dynamically generated based on the content. So I have kept the names
> of all the check boxes as MyCheck.
>
> When I select multiple check-boxes, the request query is as follows
>
> http://localhost:8888/Mytest?MyCheck=blue&MyCheck=red&MyCheck=yellow etc.
>
> I have defined my xslt transformer to use-request params, so these are
> available to me in the stylesheets. The problem I have is that I only
> get the value of the first check box. How can I get the values of
> other check box in my stylesheet
You should use different names.

Best Regards,

Antonio Gallardo.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org