browser"

From Documentation
(Created page with '{{ZUMLReferencePageHeader}} =Version History= Last Update : {{REVISIONYEAR}}/{{REVISIONMONTH}}/{{REVISIONDAY}} {| border='1px' | width="100%" ! Version !! Date !! Content |- | &…')
 
Line 1: Line 1:
 
{{ZUMLReferencePageHeader}}
 
{{ZUMLReferencePageHeader}}
 +
 +
<source lang="java">
 +
boolean browser(String type);
 +
</source>
 +
 +
:i.e., <javadoc method="isBrowser(java.lang.String)">org.zkoss.web.fn.ServletFns</javadoc>
 +
 +
Whether the current request is coming 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-", "opara", "safari"
 +
:Note: "ie6-" means Internet Explorer 6 only; not Internet Explorer 7 or other.
  
 
=Version History=
 
=Version History=

Revision as of 07:12, 16 November 2010

boolean browser(String type);
i.e., ServletFns.isBrowser(String)

Whether the current request is coming 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-", "opara", "safari"
Note: "ie6-" means Internet Explorer 6 only; not Internet Explorer 7 or other.

Version History

Last Update : 2010/11/16

Version Date Content
     



Last Update : 2010/11/16

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