|
Page Created :
WICKET :
Getting Browser Information
Getting Browser Information has been created by Will Hoover (Feb 01, 2008). Content: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();
...
|
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
