thanks, that worked great :) Always learning more of the API...
-- greetings from Berlin, Rüdiger Schulz Eelco Hillenius wrote on 26.04.2006 at 14:41: > Easiest thing is probably to override Session.getLocale in a custom > Session implementation. super.getLocale will give you the locale that > was set based on the request that created the session in case you need > to take that into consideration. > Eelco > On 4/26/06, Rüdiger Schulz <[EMAIL PROTECTED]> wrote: >> Hello list, >> >> is it somehow possible to not only set a default Locale for an >> application, but sort of hard-wire one, that isn't overridden by >> Browser settings? >> >> I'm using an english Firefox for development, and (so far) didn't >> change the web page language settings. Now I'm getting the english >> default error messages from the validators. Sure, normally this is a >> great feature, but as this web application is in german, and there are >> no plans for additional languages, english error messages are never >> going to be useful anyway. >> >> Setting the default Locale doesn't (and shouldn't) help, as the >> browser _does_ request a different locale. >> >> (in a previous post I thought this to be a bug, but I now know why >> Wicket behaves that way :) >> >> -- >> greetings from Berlin, >> >> Rüdiger Schulz >> >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 >> _______________________________________________ >> Wicket-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
