Hi,
Thank you for the hint. Do you have an idea where should place my code? I tried
it in the constructor of my index webpage, but the setLocale method created a
page reload that did not occur in the Webapplication constructor.
Thanks,
Andre
---
Andre Schütz
www.faustas.de
Dan Retzlaff
It seems a bit hacky, but you might try ThreadContext.setSession(session)
in MyApplication#newSession right after you construct MySession.
2012/3/14 Andre Schütz andre-p...@gmx.de
Hi,
Thank you for the hint. Do you have an idea where should place my code? I
tried it in the constructor of my
Hi,
I have the following code in my MyApplication class:
{CODE}
public void init() {
super.init();
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
getResourceSettings().setThrowExceptionOnMissingResource(false);
...
}
public Session newSession(Request request,
Andre, check out this javadoc comment on Session#getClientInfo:
* Note: Do strongnot/strong call this method from your custom {@link
Session} constructor
* because the temporary page needs a constructed {@link Session} to be
able to work.
Dan
2012/3/13 André Schütz andre-p...@gmx.de
Hi,
I