browser"
From Documentation
m |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ZUMLReferencePageHeader}} | {{ZUMLReferencePageHeader}} | ||
+ | |||
+ | {{Deprecated | ||
+ | |url=[[ZUML Reference/EL Expressions/Implicit Objects/zk]] | ||
+ | |}} | ||
<source lang="java"> | <source lang="java"> | ||
Line 7: | Line 11: | ||
:i.e., <javadoc method="isBrowser(java.lang.String)">org.zkoss.web.fn.ServletFns</javadoc> | :i.e., <javadoc method="isBrowser(java.lang.String)">org.zkoss.web.fn.ServletFns</javadoc> | ||
− | Returns | + | Returns if the current request comes from the browser of the specified type. |
'''Parameters:''' | '''Parameters:''' |
Latest revision as of 03:18, 10 February 2012
This article is out of date, please refer to ZUML Reference/EL Expressions/Implicit Objects/zk for more up to date information.
boolean browser(String type);
Returns if the current request comes from the browser of the specified type.
Parameters:
- type - the type of the browser.
- Allowed values include "robot", "ie", "ie6", "ie6-", "ie7", "ie8", "ie9", "ie7-", "ie8-",
- "gecko", "gecko2", "gecko3", "gecko2-", "opera", "safari"
- Note: "ie6-" means Internet Explorer 6 only; not Internet Explorer 7 or other.
Version History
Version | Date | Content |
---|---|---|