That's just by design to not make the assumption where the locale comes from. But you can override the class and pass Session.get().getLocale() and you're done :-)
Eelco On Fri, Jun 6, 2008 at 9:17 AM, Stefan Simik <[EMAIL PROTECTED]> wrote: > > Hi boys, > > I would like to ask, why PackageResource doesn't take the Locale > from the session, but in constructor ? > It could be comfortable, if no Locale specified in constructor, > then it could be taken directly from the session. > > Thanx for the answer. > Stefan Simik > -- > View this message in context: > http://www.nabble.com/PackageResource---why-does%27nt-get-Locale-directly-from-Session---tp17696134p17696134.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]
