Unless there's another way I'm not familiar with, I believe you can use
getScreenHeight or getScreenWidth from ClientProperties.  Someone correct me
if I'm wrong, but I believe these values will still be -1 (their default) if
javascript is disabled.

Be sure to add:
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);  to your
application's init method.

On Sat, May 21, 2011 at 6:51 AM, meduolis <[email protected]> wrote:

> Hi, is there any way to check if JS is enabled from wicket code?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/JavaScript-enabled-or-disabled-tp3540451p3540451.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to