http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/Workbench/src/context/WEB-INF/localization/Localization.page?view=markup
On 7/25/06, Peter Dawn <[EMAIL PROTECTED]> wrote:
guys, have been trying to implement this. but what should i put in my
page file and can somebody pro
guys, have been trying to implement this. but what should i put in my
page file and can somebody provide the code for getLocale() to
complete it. thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hi Firas,
Thank you for the 'getRequestCycle().cleanup();' line.
Daniel Trebbien.
On 7/24/06, Firas A. <[EMAIL PROTECTED]> wrote:
Hi Daniel,
You would probably need to use an DirectLink on your page template:
Click here for German
In your page class:
public void setNewLocale(String localeStr
Oh yeah. Duh. The tapestry workbench example application does exactly this.
On 7/24/06, Firas A. <[EMAIL PROTECTED]> wrote:
Hi Daniel,
You would probably need to use an DirectLink on your page template:
Click here for German
In your page class:
public void setNewLocale(String localeString) {
Hi Daniel,
You would probably need to use an DirectLink on your page template:
Click here for German
In your page class:
public void setNewLocale(String localeString) {
Locale newLocale = getLocale(localeString); // Must be defined
somewhere
getEngine().setLocale(newLocale);
Would this work?
http://tapestry.apache.org/tapestry4/UsersGuide/localization.html#localization.changing
> Hello all,
>
> I am developing a multilingual personal site for myself using Tapestry. I
> am
> constantly setting my browser preferences to set the locale so that I can
> view the page in