Hello, according to this post (http://apache-wicket.1842946.n4.nabble.com/Overloaded-ClientProperties-isJavaEnabled-and-JavaScript-support-detection-td1889053.html#a1889053) I'm wondering whether somebody got some problems with the "java-enabled" property of his browser too. Using IE8 the HelloBrowser page returns the correct result. But using Firefox, the page returns 'false' even if JavaScript support is enabled, what seems to be not correct. Does anybody has the same problem? I assume there should be a "JavaScript-enabled" property as well. Diving into the code of the BrowserInfoPage class I found the following snippet ...
public BrowserInfoPage(PageParameters parameters) { String to = Strings.toString(parameters.get("cto")); if (to == null) { throw new IllegalArgumentException("parameter cto must be provided!"); } setContinueTo(to); initComps(); WebRequestCycle requestCycle = (WebRequestCycle)getRequestCycle(); WebSession session = (WebSession)getSession(); ClientInfo clientInfo = session.getClientInfo(); if (clientInfo == null) { clientInfo = new WebClientInfo(requestCycle); getSession().setClientInfo(clientInfo); } else if (clientInfo instanceof WebClientInfo) { WebClientInfo info = (WebClientInfo)clientInfo; ClientProperties properties = info.getProperties(); properties.setJavaEnabled(false); } else { warnNotUsingWebClientInfo(clientInfo); } continueToPrevious(); } Can someone explain why the "JavaEnabled" property is set to false although JavaScript support is enabled. Is there another way to detect whether the browser supports JavaScript? Thanks, Dirk -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/BrowserInfoPage-and-HelloBrowser-on-Firefox-tp2306399p2306399.html Sent from the Wicket - User 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