org.zkoss.zkex.ui.comet.smartconnection.disabled"
From Documentation
Jumperchen (talk | contribs) (Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zkex.ui.comet.smartconnection.disabled Default: <i>true</i> [Since 6.5.1] {{ZK PE}} It specifies whether to...") |
Robertwenzel (talk | contribs) m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
'''Property:''' | '''Property:''' | ||
org.zkoss.zkex.ui.comet.smartconnection.disabled | org.zkoss.zkex.ui.comet.smartconnection.disabled | ||
+ | |||
+ | {{GlobalLibraryProperty}} | ||
+ | |||
+ | Default: <i>false</i> | ||
+ | [Since 6.5.1] | ||
Default: <i>true</i> | Default: <i>true</i> | ||
− | [Since | + | [Since 7.0.1] |
− | {{ZK PE}} | + | {{ZK PE and EE}} |
It specifies whether to disable the use of [http://www.w3.org/TR/page-visibility/ HTML5's Page Visibility API] for handling Comet-based server push. | It specifies whether to disable the use of [http://www.w3.org/TR/page-visibility/ 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 page is invisible. However, if you prefer to disable it, you could specify this library property to true. | + | 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. |
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Latest revision as of 08:24, 7 July 2016
Property:
org.zkoss.zkex.ui.comet.smartconnection.disabled
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: false [Since 6.5.1]
Default: true [Since 7.0.1]
- Available for ZK:
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.