A convenient way of letting Wicket do a sneaky redirect to {@link BrowserInfoPage} (and backagain) is to put this in your Application's init method:
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);WARNING: Be sure you think about the dangers of depending on information you pull from the client too much. They may be easily spoofed or inaccurate in other ways, and properties like window and browser size are all too easy to be used naively. @see BrowserInfoPage @author Frank Bille (frankbille)
|
|