You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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