It's not clear to me what exactly is your goal if it is, as I think,
dinamically generate a tapestry url inside a javascript you should
then look at one of the IEngineService (depending
on the type of "service" your link will be bound to):

http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/engine/IEngineService.html

in particular the getLink method.

In fact I think there is a lack of documentation in tapestry about how
to properly generate url.

The most common case (action/listener links for forms or not) you
should look at DirectService

http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/engine/DirectService.html

and the Object passed to the getLink method (even though not
documented) should be of type

DirectServiceParameter
(http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/engine/DirectServiceParameter.html)

You can see the types of parameters that can be passed reading
DirectLink component documentation
(http://tapestry.apache.org/tapestry4.1/components/link/directlink.html)


Hope this can be of some help.

Martino


On 9/21/07, mogulwraith <[EMAIL PROTECTED]> wrote:
>
> From Javascript I try to build a link something like:
>
> var link = "${requestlink}" + "?firstparam=" + paramA + "&secondparam=" +
> paramB;
>
> But when this gets back to the server the only parameter available with
> request.getParameter is the first one. How can I accomplish this?
>
> --
> View this message in context: 
> http://www.nabble.com/Request-Parameters-tf4498661.html#a12830070
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to