> Thanks for the  support and ideas.
> But for the record:
> Overriding getLocale() would surely work, but sounds like even worse
> of a hack than setLocale(_)

No, if you override it, it will *always* return the value you provide.
The locale member obviously wouldn't be use unless you yourself use
it.

, and when I set the locale in the
> ISessionFactory it gets reset by the locale in the request just like
> when I set it in the session constructor. (which is to be expected,
> really.)

Yeah, sorry about that. Forgot that that was a mess to start with
(which is why we refactored it).

Just go with overriding getLocale on your custom session object. If
you need to support just one locale, that's easy: just always let it
return that locale. Otherwise, you'll have to do some more work (e.g.
using request.getLocale()), but it shouldn't be very difficult.

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to