My action handler is inside a component, for example, the layout component.
If there is context, url for the action link is like /app/pagename.layout.english?t:ac=1 (1 is context), after link is clicked, the redirect url is like /app/pagename/1 Thanks, DH ----- Original Message ----- From: "Erik Putrycz" To: <users@tapestry.apache.org> Sent: Tuesday, August 25, 2009 10:44 PM Subject: Re: Create actionlinks in components with page context > > This is my action handler > void onActionFromToggleLocale() > { > Locale current = locale.get(); > if (current == null || current.getDisplayLanguage().equals("en")) > locale.set(Locale.CANADA_FRENCH); > else > locale.set(Locale.CANADA); > } > > btw, is your action handler inside a component or in the page class? > How are the urls generated looking like?