I wonder, why it even compiles ;). _locale is a private member! Try using setLocale() instead.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 04, 2007 1:19 PM > To: Tapestry users > Subject: service method in BaseEngine > > Has anyone an idea why the following code will not work? > > public void service(WebRequest webRequest, WebResponse > webResponse) throws IOException { > > > if (webRequest.getServerName().startsWith("en.")){ > this._locale=new Locale("en",""); > > } > else { > this._locale=new Locale("de",""); > } > > ... > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]