The click-filter-delay Element"

From Documentation
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{ZKConfigurationReferencePageHeader}}
 
{{ZKConfigurationReferencePageHeader}}
 +
 +
{{Deprecated
 +
|url=[http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Button.html#setAutodisable(java.lang.String)]
 +
|}}
  
 
'''Syntax:'''
 
'''Syntax:'''
Line 5: Line 9:
  
 
  [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 denial-of-service attack.
+
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.
  
Line 17: Line 22:
 
! 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}}

Latest revision as of 03:58, 3 May 2012


The click-filter-delay Element


Stop.png 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

Last Update : 2012/05/03


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



Last Update : 2012/05/03

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