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 whether the current request is coming from the browser of the specified type.
+
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-", "opara", "safari"
+
:"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=
Last Update : {{REVISIONYEAR}}/{{REVISIONMONTH}}/{{REVISIONDAY}}
+
{{LastUpdated}}
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content

Latest revision as of 03:18, 10 February 2012

Stop.png 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);
i.e., ServletFns.isBrowser(String)

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

Last Update : 2012/02/10


Version Date Content
     



Last Update : 2012/02/10

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.