Client-side Event Listening

From Documentation
Revision as of 09:11, 10 December 2010 by Tomyeh (talk | contribs)


Client-side Event Listening


Overview

ZK allows applications to handle events at both server and client side. Handling events at the server side, as described in the previous sections, are more common, since the listeners can access the backend services directly. However, handling event at the client side improves the responsiveness. For example, it is better to be done with a client-side listener if you want to open the drop-down list when a comobox gains the focus.

The rule of thumb is to use server-side listeners first since it is easier, and then improve the responsiveness of the critical part, if any, with the client-side listener.

For more information about handling events at the client, please refer to ZK Client-side Reference: Event Listening.

Version History

Version Date Content
     



Last Update : 2010/12/10

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