Re: Explicitly setting the locale

2006-07-25 Thread Jesse Kuhnert
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

Re: Explicitly setting the locale

2006-07-25 Thread Peter Dawn
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

Re: Explicitly setting the locale

2006-07-24 Thread Daniel Trebbien
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

Re: Explicitly setting the locale

2006-07-24 Thread Jesse Kuhnert
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) {

RE: Explicitly setting the locale

2006-07-24 Thread Firas A.
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);

Re: Explicitly setting the locale

2006-07-23 Thread James Carman
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