AU Requests"

From Documentation
m
m
Line 1: Line 1:
 
{{ZKClient-sideReferencePageHeader}}
 
{{ZKClient-sideReferencePageHeader}}
  
An AU request is caused by a widget event (<javadoc directory="jsdoc">zk.Event</javadoc>) that is going to be sent to the server. 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>), it is converted to an AU request with [http://www.json.org JSON] and then sent to the server.
+
An AU request is a request sent from the client to the server to notify an ''event'' happening at the client, such as a click, a state change and so on<ref>For browsers, an AU request is an Ajax request.</ref>.
 +
 
 +
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. For more information, please refer to the [[ZK Client-side Reference/Communication/AU Requests/Client-side Firing|Client-side Firing]] section.
  
 
{{ZKClient-sideReferenceHeadingToc}}
 
{{ZKClient-sideReferenceHeadingToc}}
 +
 +
<blockquote>
 +
----
 +
<references/>
 +
</blockquote>
  
 
=Version History=
 
=Version History=

Revision as of 11:27, 14 December 2010


An AU request is a request sent from the client to the server to notify an event happening at the client, such as a click, a state change and so on[1].

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. For more information, please refer to the Client-side Firing section.




  1. For browsers, an AU request is an Ajax request.

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.