Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7782195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T19:27:53+00:00 2026-06-01T19:27:53+00:00

After this weekend my Wicket application cannot correctly detect javascript anymore. It doesn’t work

  • 0

After this weekend my Wicket application cannot correctly detect javascript anymore. It doesn’t work on my webhoster, on my local machine and I tested it also on another computer.

My detection script:

WebClientInfo clientInfo = (WebClientInfo)WebSession.get().getClientInfo();
    if(!clientInfo.getProperties().isJavaEnabled()){
        System.out.println("not enabled!");
        WebSession.get().setClientInfo(null);
    }

plus this in the application class:

getRequestCycleSettings().setGatherExtendedBrowserInfo(true);

I also created a wicket app from scratch, same result, no javascript detection.

While writing this I checked it in the Internet Explorer. Works fine with IE 8 + 9. Doesn’t work with FF 11.0. Wicket version is 1.5.5.

Anyone can confirm this behavior? (possible JIRA-worthy…)

UPDATE: I found the cause of this behavior. isJavaEnabled checks if Java (not Javascript) is enabled. Firefox (silently) blocked the Java plugin on April 2nd, therefore no javaEnabled property set: https://addons.mozilla.org/en-US/firefox/blocked/p80. Cumbersome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T19:27:55+00:00Added an answer on June 1, 2026 at 7:27 pm

    Likely this never worked, and the fact that it seemed to was dumb luck.

    Looking at the javadocs for ClientProperties.isJavaEnabled(), it returns the client’s navigator.javaEnabled property, which reflects whether Java is enabled, not JavaScript.

    Java != JavaScript.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good Sunday morning! After fiddling around with some JavaScript this weekend, I finally wrote
I'm new to Python and after this one script I probably won't work with
i load a class using Class.forName(klassname,false,loader) After this i create an instance using klass.newInstance();
My classmate asked me a question: What's the value of x,y,z after this: x=5;
I have a csv importroutine which imports my CSV values into Sitecore. After this
After reading this post I kinda felt in the same position as the guy
After reading this article on thedailywtf.com, I'm not sure that I really got the
After reading this: http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#how-to-use-it I came to the conclusion that it is not valid
After reading this question , i saw the answer by Naveen containing a link
after read this article i tried generate EF model by System.Diagnostics.Process: Process myProcess =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.