Registering Appropriate Listeners"

From Documentation
m
m
Line 4: Line 4:
  
 
#Capture clicks on our "target"
 
#Capture clicks on our "target"
#Fire a custom onClear event when the target is clicked
+
#Fire a custom <mp>onClear</mp> event when the target is clicked
  
  
 
{{ZKComponentDevelopmentEssentialsPageFooter}}
 
{{ZKComponentDevelopmentEssentialsPageFooter}}

Revision as of 05:01, 14 July 2010


Registering Appropriate Listeners



Registering listeners is a fundamental of many programming languages and event driven applications. Being an event driven framework ZK is no different. To accomplish our goal of a clear button we need to do two things:

  1. Capture clicks on our "target"
  2. Fire a custom onClear event when the target is clicked



Last Update : 2010/07/14

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