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
 
| &nbsp;
 
| &nbsp;
| &nbsp;
+
| Deprecated and replaced with <javadoc method="setAutodisable(java.lang.String)">org.zkoss.zul.Button</javadoc>.
| &nbsp;
 
 
|}
 
|}
  
 
{{ZKConfigurationReferencePageFooter}}
 
{{ZKConfigurationReferencePageFooter}}

Revision as of 01:38, 21 June 2011


The click-filter-delay Element


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

Last Update : 2011/06/21


Version Date Content
5.0.0   Deprecated and replaced with Button.setAutodisable(String).



Last Update : 2011/06/21

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