I don't quite understand your case.
The page activation context has been handled by Tapestry itself, we don't need
handle it in our action link.
I have finished something similar to your case. I just set the correct locale
to PersistentLocale and everything works perfectly.
Like:
public void onActionFromEnglish() {
persistentLocale.set(Locale.ENGLISH);
}
DH
http://www.gaonline.com.cn
----- Original Message -----
From: "Erik Putrycz" <[email protected]>
To: <[email protected]>
Sent: Tuesday, August 25, 2009 5:21 AM
Subject: Create actionlinks in components with page context
>
> I started an app based on trails and T5.1. On my layout component, I want to
> have a button to toggle the locale from french to english for any page. This
> works fine, however if the page has a context, that context is lost for the
> action link. Is there any way to access the page context, or create action
> links with the current context?
>
> Erik.
>
> -----
> Apption Software
> --
> View this message in context:
> http://www.nabble.com/Create-actionlinks-in-components-with-page-context-tp25123666p25123666.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>