browser"
From Documentation
m |
m |
||
(4 intermediate revisions by 4 users 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:''' | ||
− | * type the type of the browser. | + | * type - the type of the browser. |
:Allowed values include "robot", "ie", "ie6", "ie6-", "ie7", "ie8", "ie9", "ie7-", "ie8-", | :Allowed values include "robot", "ie", "ie6", "ie6-", "ie7", "ie8", "ie9", "ie7-", "ie8-", | ||
− | :"gecko", "gecko2", "gecko3", "gecko2-", " | + | :"gecko", "gecko2", "gecko3", "gecko2-", "opera", "safari" |
:Note: "ie6-" means Internet Explorer 6 only; not Internet Explorer 7 or other. | :Note: "ie6-" means Internet Explorer 6 only; not Internet Explorer 7 or other. | ||
=Version History= | =Version History= | ||
− | + | {{LastUpdated}} | |
{| border='1px' | width="100%" | {| border='1px' | width="100%" | ||
! Version !! Date !! Content | ! Version !! Date !! Content |
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 |
---|---|---|