Re: Browser/Client info navigatorJavaEnabled property returns undefined

2016-05-31 Thread ravala
Hi Martin,

The issue is in Chrome browser.

creared a Jira issue, below is the link.
https://issues.apache.org/jira/browse/WICKET-6174




Regards,
Ramesh

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Browser-Client-info-navigatorJavaEnabled-property-returns-undefined-tp4674794p4674824.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Browser/Client info navigatorJavaEnabled property returns undefined

2016-05-26 Thread Martin Grigorov
Hi,

Which browser is this by the way ?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, May 26, 2016 at 7:02 AM, ravala <ramesh0...@gmail.com> wrote:

> Hi,
>
> I was trying to use WebClientInfo to get browser information on the server,
> In the Ipad chrome
> when retrieving  'navigatorJavaEnabled' is returning 'undefined' instead of
> true/false.
>
> The problem is as  'undefined' is string but server is expecting boolean,
> leads to exception and causing  browser to reload continuously.
>
> possible solution
>
> In wicket-browser-info.js
> --
> info.navigatorJavaEnabled = window.navigator.javaEnabled() || false;
>
>
> Regards,
> Ramesh V
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Browser-Client-info-navigatorJavaEnabled-property-returns-undefined-tp4674794.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Browser/Client info navigatorJavaEnabled property returns undefined

2016-05-26 Thread Sven Meier

Hi,

please create a Jira issue.

Many thanks
Sven

On 26.05.2016 07:02, ravala wrote:

Hi,

I was trying to use WebClientInfo to get browser information on the server,
In the Ipad chrome
when retrieving  'navigatorJavaEnabled' is returning 'undefined' instead of
true/false.

The problem is as  'undefined' is string but server is expecting boolean,
leads to exception and causing  browser to reload continuously.

possible solution

In wicket-browser-info.js
--
info.navigatorJavaEnabled = window.navigator.javaEnabled() || false;


Regards,
Ramesh V

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Browser-Client-info-navigatorJavaEnabled-property-returns-undefined-tp4674794.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Browser/Client info navigatorJavaEnabled property returns undefined

2016-05-25 Thread ravala
Hi, 

I was trying to use WebClientInfo to get browser information on the server,
In the Ipad chrome
when retrieving  'navigatorJavaEnabled' is returning 'undefined' instead of
true/false.

The problem is as  'undefined' is string but server is expecting boolean,
leads to exception and causing  browser to reload continuously.

possible solution 

In wicket-browser-info.js
--
info.navigatorJavaEnabled = window.navigator.javaEnabled() || false; 


Regards,
Ramesh V

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Browser-Client-info-navigatorJavaEnabled-property-returns-undefined-tp4674794.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org