not sure why they would be different unless you explicitly change it in Session. when the session is created it sets its locale from the request by default:
public Session(Request request) { ... locale = request.getLocale(); ... } -igor On Wed, Jun 30, 2010 at 2:02 AM, David Meulemans <meulemans.da...@gmail.com> wrote: > Hi > > I've noticed a difference in getting the locale from the request and from > the session. > getSession().getLocale() shows "en" > but getRequest().getLocale() shows "en_GB". thus not only the language but > also the country. > > Why is this, or what am I doing wrong perhaps? > Are there maybe other drawbacks related to the use of one of these? > > I'm using wicket 1.4.1 > > grtz > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org