The click-filter-delay Element"
From Documentation
m |
|||
Line 5: | Line 5: | ||
[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 | ||
Line 17: | Line 18: | ||
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- | ||
+ | | 5.0.0 | ||
| | | | ||
− | | | + | | Deprecated and replaced with <javadoc method="setAutodisable(java.lang.String)">org.zkoss.zul.Button</javadoc>. |
− | |||
|} | |} | ||
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Revision as of 01:38, 21 June 2011
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). |