Hi,
You can use ActivationRequestParameter
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/ActivationRequestParameter.html

It's basically the samo use case as PageActivationContext except you can
have more than one field annotated and it handles URL parameters, so the
object is encoded/decoded with a ValueEncoder etc.

Cheers,
Dragan Sahpaski



On Fri, Oct 21, 2011 at 11:37 AM, captain_rhino <
graeme.kitc...@axa-travel-insurance.com> wrote:

>
> I found a way of doing this unless anyone know any different.  Is there a
> way to this with the page object rather than using a link.
>
>    @Inject
>    private PageRenderLinkSource linkSource;
>
>    @Log
>    public Object onSubmitFromPolicySigninForm()
>    {
>        Link link =
> linkSource.createPageRenderLinkWithContext(PolicySignin.class);
>        link.addParameter("x", "123");
>        link.addParameter("y", "123");
>        return link;
>
>    }
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Page-url-rewrite-tp4924085p4924245.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to