This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Getting Browser Information
Skip to end of metadata
Go to start of metadata

To capture extended browser information... In your WebPage:

...

getApplication().getRequestCycleSettings().setGatherExtendedBrowserInfo(true);

WebClientInfo w = (WebClientInfo)getWebRequestCycle().getClientInfo();
ClientProperties cp = w.getProperties();

// do something with the data
cp.getNavigatorAppName();
cp.getNavigatorAppCodeName();
cp.getNavigatorAppVersion();
cp.getBrowserVersionMajor();
cp.getBrowserVersionMinor();
...
  • No labels