> I see that there is a method called getTimezone() on the
> ClientProperties object.
>
> The javadoc for it says
> "Get the client's time zone if that could be detected."
>
> I tried to get this property, by submitting request from various
> browsers on various platforms,
> but it always returns null.
>
> Can some one elaborate on how is the client timezone detected ? and why
> is it not working for
> any browser/os combo ?

You can turn on advanced browser detection for properties such as
these by putting:

getRequestCycleSettings().setGatherExtendedBrowserInfo(true);

in your Application's init method. Like the HelloBrowser example does.

Note that this is merely a convenience implementation. You might want
to look at how it works, and e.g. put the logic in a login page so
that you don't have to deal with the flicker from the redirecting.

Eelco

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

Reply via email to