-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi guys,
I have a question regarding ZK configuration, can I configure ZK like this code:
if (!Executions.getCurrent().isBrowser(ErrorCodes.SUPPORTED_BROWSER)) { Executions.sendRedirect(ErrorCodes.UNSUPPORTED_BROWSER_URL); }
I need detect browser and redirect if this version of browser is not supported.
Should I write my own filter, or I can configure ZK for automatically detection and redirection?
In Java
Executions.getCurrent().getUserAgent()
In Javascript : JQuery Browser reference
jq.browser
you can detect it your self :)
Asked: 2010-09-10 03:04:31 +0800
Seen: 630 times
Last updated: Sep 16 '10