Registering Appropriate Listeners"

From Documentation
m (Created page with '{{ZKComponentDevelopmentEssentialsPageHeader}} Registering listeners is a fundamental of many programming languages and event driven applications. Being an event driven framewor…')
 
m
Line 3: Line 3:
 
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:
 
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:
  
#Capture clicks on our “target”
+
#Capture clicks on our "target"
 
#Fire a custom onClear event when the target is clicked
 
#Fire a custom onClear 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.