Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6174

Browser/Client info navigatorJavaEnabled property returns undefined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 7.3.0, 8.0.0-M1, 6.23.0
    • 8.0.0-M1, 7.4.0, 6.24.0
    • wicket
    • None
    • Ipad chrome browser

    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;

      Also posted the same in wicket forum:
      http://apache-wicket.1842946.n4.nabble.com/Browser-Client-info-navigatorJavaEnabled-property-returns-undefined-td4674794.html

      Attachments

        Activity

          People

            svenmeier Sven Meier
            ravala ramesh valasa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: