It is already added in my app.java.

isJavaEnabled() - returns false; I set it true, but still it is not working.

On Mon, Jul 25, 2016 at 10:23 AM, ndongo yaya <[email protected]> wrote:

> Hello,
>
> I believe you need to add
> *getRequestCycleSettings().setGatherExtendedBrowserInfo(true)
> *to your application's init method.
> Take a look at *ClientProperties.class* for the complete javadoc.
>
> Regards,
> Yaya
>
> 2016-07-25 15:26 GMT+02:00 durairaj t <[email protected]>:
>
> > The below code is giving *-1* for height and width,
> >
> >  ClientProperties properties =
> > ((WebClientInfo)Session.get().getClientInfo()).getProperties();
> > int height =  properties.getBrowserHeight();
> >
> > System.out.println("height:"+ height );
> >
> > *height : -1*
> >
> > Any help?
> >
>
>
>
> --
> Yaya NDONGO
>

Reply via email to