Client-side Firing"

From Documentation
m
Line 1: Line 1:
 
{{ZKDevelopersReferencePageHeader}}
 
{{ZKDevelopersReferencePageHeader}}
In general, an AU request is caused by a widget event (<javadoc directory="jsdoc">zk.Event</javadoc>) that is going to be sent to the server. It happens when a widget event is targeting a widget that is created at the server, or with the <tt>toServer</tt> option (specified in <javadoc directory="jsdoc" method="opts">zk.Event</javadoc>).  
+
In general, an AU request is caused by a widget event (<javadoc directory="jsdoc">zk.Event</javadoc>) that is going to be sent to the server. It happens when a widget event is targeting a widget that is created at the server, or with the <tt>toServer</tt> option (specified in <javadoc directory="jsdoc" method="opts">zk.Event</javadoc>). In additions, you could invoke <javadoc method="fire()">_global_.zAu</javadoc> explicitly to fire an AU request to the server.  
In additions, you could invoke <javadoc method="fire()">_global_.zAu</javadoc> explicitly to fire an AU request to the server. For more information, please refer to the [[ZK Client-side Reference/Communication/AU Requests/Client-side Firing|Client-side Firing]] section.
+
 
 +
=Fire Event to Widget=
 +
 
 +
An event can be fired to a widget by use of <javadoc method="fire(_global_.String, zk.Object, _global_.Map, int)" directory="jsdoc">zk.Widget</javadoc> and <javadoc method="fireX(zk.Event, int)" directory="jsdoc">zk.Widget</javadoc>.
  
 
=Version History=
 
=Version History=

Revision as of 11:31, 14 December 2010

In general, an AU request is caused by a widget event (Event) that is going to be sent to the server. It happens when a widget event is targeting a widget that is created at the server, or with the toServer option (specified in Event.opts). In additions, you could invoke Au.fire() explicitly to fire an AU request to the server.

Fire Event to Widget

An event can be fired to a widget by use of Widget.fire(String, Object, Map, int) and Widget.fireX(Event, int).

Version History

Last Update : 2010/12/14


Version Date Content
     



Last Update : 2010/12/14

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