[ 
https://issues.apache.org/jira/browse/WICKET-6174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ramesh valasa updated WICKET-6174:
----------------------------------
    Description: 
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; 

  was:
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; 


> Browser/Client info navigatorJavaEnabled property returns undefined
> -------------------------------------------------------------------
>
>                 Key: WICKET-6174
>                 URL: https://issues.apache.org/jira/browse/WICKET-6174
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>         Environment: Ipad chrome browser
>            Reporter: ramesh valasa
>
> 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; 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to