org.zkoss.zk.ui.EventListener.duplicateIgnored"

From Documentation
(Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zk.ui.EventListener.duplicateIgnored {{GlobalLibraryProperty}} Default: <i>false</i>: allows one instance of...")
 
Line 7: Line 7:
 
  Default: <i>false</i>: allows one instance of event listener to be added multiple times to the listener list of a component or page.
 
  Default: <i>false</i>: allows one instance of event listener to be added multiple times to the listener list of a component or page.
  
If set to false, components and pages will check their internal listener list for the same instance of listener, and will return false instead of adding it again if found.
+
If set to false, components and pages will check their internal listener list for the same instance of listener, and will return false instead of adding it again if found.
  
 
<pre>
 
<pre>

Revision as of 04:07, 25 June 2020


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.zk.ui.EventListener.duplicateIgnored
org.zkoss.zk.ui.EventListener.duplicateIgnored


Property:

org.zkoss.zk.ui.EventListener.duplicateIgnored
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: false: allows one instance of event listener to be added multiple times to the listener list of a component or page.

If set to false, components and pages will check their internal listener list for the same instance of listener, and will return false instead of adding it again if found.

<library-property>
	<name>org.zkoss.zk.ui.EventListener.duplicateIgnored</name>
	<value>true</value>
</library-property>


Last Update : 2020/06/25

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