ZK AU Engine"

From Documentation
m
m
Line 52: Line 52:
 
   
 
   
 
The class must implement the <javadoc type="interface">org.zkoss.zk.au.http.AuExtension</javadoc> interface.
 
The class must implement the <javadoc type="interface">org.zkoss.zk.au.http.AuExtension</javadoc> interface.
 
|-
 
|  processor0
 
processor1
 
 
processor2
 
 
...
 
| [Optional] (deprecated since 5.0)
 
 
It specifies an AU processor. The first processor must be specified with the name called <tt>processor0</tt>, second <tt>processor1</tt> and so on.
 
 
The syntax of the value is
 
 
/prefix=class
 
 
For example,
 
 
<source lang="xml" >
 
<init-param>
 
<param-name>processor0</param-name>
 
<param-value>/upload=com.super.MyUploader</param-value>
 
</init-param>
 
<init-param>
 
<param-name>processor1</param-name>
 
<param-value>/extra=com.super.MyExtra</param-value>
 
</init-param>
 
</source>
 
 
 
The class must implement the <javadoc type="interface">org.zkoss.zk.au.http.AuProcessor</javadoc> interface.
 
 
 
|}
 
|}
  
Line 91: Line 59:
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 
|-
 
|-
| &nbsp;
+
| 5.0.0
| &nbsp;
+
| 07/14/10
| &nbsp;
+
| processor0, processor1, processor2 parameters have been depreciated.
 
|}
 
|}
  
 
{{ZKConfigurationReferencePageFooter}}
 
{{ZKConfigurationReferencePageFooter}}

Revision as of 08:03, 14 July 2010


[Required] Class: DHtmlUpdateServlet


DHtmlUpdateServlet is a servlet that handles AJAX requests asynchronously and automatically.

Notice that the URL pattern mapped to this engine must be consistent with the update-uri parameter of the ZK Loader.

The Initial Parameters

init-param
Descriptions
compress [Optional][Default:true][since 3.6.3]


It specifies whether to compress the output of this Servlet, if the browser supports the compression (Accept-Encoding). Notice that it affects no only the AU response, but also JavaScript and CSS files loaded from this Servlet.

extension0

extension1

extension2

...

[Optional] [since 5.0]

It specifies an AU extension The first processor must be specified with the name called extension0, second extension1 and so on.

The syntax of the value is

/prefix=class

For example,

<init-param>
	<param-name>extension0</param-name>
	<param-value>/upload=com.super.MyUploader</param-value>
</init-param>
<init-param>
	<param-name>extension1</param-name>
	<param-value>/extra=com.super.MyExtra</param-value>
</init-param>


The class must implement the AuExtension interface.

Version History

Version Date Content
5.0.0 07/14/10 processor0, processor1, processor2 parameters have been depreciated.



Last Update : 2010/07/14

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