The click-filter-delay Element"
From Documentation
(Created page with ' [Default: 0] Since 3.0.9 and 3.5.3 It specifies the time, in milliseconds, to filter out consecutive click events. If two click events (including onOK and onCancel) come too c…') |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{ZKConfigurationReferencePageHeader}} | ||
+ | |||
+ | {{Deprecated | ||
+ | |url=[http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Button.html#setAutodisable(java.lang.String)] | ||
+ | |}} | ||
+ | |||
+ | '''Syntax:''' | ||
+ | <click-filter-delay>''a_number''</click-filter-delay> | ||
+ | |||
[Default: 0] | [Default: 0] | ||
+ | Deprecated in 5.0.0 (replaced with <javadoc method="setAutodisable(java.lang.String)">org.zkoss.zul.Button</javadoc>) | ||
Since 3.0.9 and 3.5.3 | Since 3.0.9 and 3.5.3 | ||
− | It specifies the time, in milliseconds, to filter out consecutive click events. If two click events (including onOK and onCancel) come too close (within the specified delay), the second one will be removed to avoid the | + | It specifies the time, in milliseconds, to filter out consecutive click events. If two click events (including onOK and onCancel) come too close (within the specified delay), the second one will be removed to avoid the DOS(Denial-Of-Service) attack. |
A non-positive value turns off this feature. | A non-positive value turns off this feature. | ||
Prior to ZK 3.5.3, it is default to 390, which means it filters out the second click event if it happens within 390 milliseconds. | Prior to ZK 3.5.3, it is default to 390, which means it filters out the second click event if it happens within 390 milliseconds. | ||
+ | |||
+ | =Version History= | ||
+ | {{LastUpdated}} | ||
+ | {| border='1px' | width="100%" | ||
+ | ! Version !! Date !! Content | ||
+ | |- | ||
+ | | 5.0.0 | ||
+ | | | ||
+ | | Deprecated and replaced with <javadoc method="setAutodisable(java.lang.String)">org.zkoss.zul.Button</javadoc>. | ||
+ | |} | ||
+ | |||
+ | {{ZKConfigurationReferencePageFooter}} |
Latest revision as of 03:58, 3 May 2012
This article is out of date, please refer to [1] for more up to date information.
Syntax:
<click-filter-delay>a_number</click-filter-delay>
[Default: 0] Deprecated in 5.0.0 (replaced with Button.setAutodisable(String)) Since 3.0.9 and 3.5.3
It specifies the time, in milliseconds, to filter out consecutive click events. If two click events (including onOK and onCancel) come too close (within the specified delay), the second one will be removed to avoid the DOS(Denial-Of-Service) attack. A non-positive value turns off this feature.
Prior to ZK 3.5.3, it is default to 390, which means it filters out the second click event if it happens within 390 milliseconds.
Version History
Version | Date | Content |
---|---|---|
5.0.0 | Deprecated and replaced with Button.setAutodisable(String). |