You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by ta...@jakarta.apache.org on 2005/03/14 12:37:39 UTC

[Jakarta Tapestry Wiki] New: DefaultLocale

   Date: 2005-03-14T03:37:38
   Editor: RonPiterman
   Wiki: Jakarta Tapestry Wiki
   Page: DefaultLocale
   URL: http://wiki.apache.org/jakarta-tapestry/DefaultLocale

   no comment

New Page:

Override the engine method setLocale like this:

{{{
public final void setLocale(Locale locale)
  {
     if (getLocale() == null)
        super.setLocale(new Locale(defaultLanguage, defaultCountry));
     else
        super.setLocale(locale);
  }
}}}

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org