Hi, To detect browser capabilities you have to use WebClientInfo. See http://www.wicket-library.com/wicket-examples-6.0.x/hellobrowser/<http://www.wicket-library.com/wicket-examples-6.0.x/hellobrowser/howdy>
By default there is no info for Web Storage, so you will need a custom BrowserInfoPage, see org.apache.wicket.protocol.http.WebSession#newBrowserInfoPage On Mon, Nov 12, 2012 at 4:40 PM, Corbin, James <[email protected]>wrote: > Is there any built in support for detecting HTML 5 browser features like > Web Storage? > > If not, what is the recommended approach for doing so? > > I'm looking for a way to detect support for Web (e.g. Local) Storage, so > in cases where the browser's do not support it (e.g., IE7), I can use > cookies or some other mechanism instead. > > Thanks, > > J.D. > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
