org.zkoss.zkex.ui.comet.smartconnection.disabled"

From Documentation
Line 3: Line 3:
 
  org.zkoss.zkex.ui.comet.smartconnection.disabled
 
  org.zkoss.zkex.ui.comet.smartconnection.disabled
  
  Default: <i>true</i>
+
  Default: <i>false</i>
 
  [Since 6.5.1]
 
  [Since 6.5.1]
 
{{ZK PE and EE}}
 
{{ZK PE and EE}}

Revision as of 07:12, 16 November 2012


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.zkex.ui.comet.smartconnection.disabled
org.zkoss.zkex.ui.comet.smartconnection.disabled


Property:

org.zkoss.zkex.ui.comet.smartconnection.disabled
Default: false
[Since 6.5.1]
  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion pe-ee.png

It specifies whether to disable the use of HTML5's Page Visibility API for handling Comet-based server push.

By default, ZK detects if the browser support the HTML5's Page Visibility API, and then use the smart connection by page visibility API if available. The connection use for the server side is much more efficient since it doesn't hold the connection if the page is invisible. However, if you prefer to disable it, you could specify this library property to true.



Last Update : 2012/11/16

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