ZK AU Engine"
Maya001122 (talk | contribs) (Created page with '== Configuration of ZK AU Engine == [Required] Class: <tt>org.zkoss.zk.au.http.DHtmlUpdateServlet</tt> <tt>DHtmlUpdateServlet</tt> is a servlet that handles AJAX requests asy…') |
Maya001122 (talk | contribs) |
||
Line 1: | Line 1: | ||
− | == | + | == ZK AU Engine == |
[Required] Class: <tt>org.zkoss.zk.au.http.DHtmlUpdateServlet</tt> | [Required] Class: <tt>org.zkoss.zk.au.http.DHtmlUpdateServlet</tt> |
Revision as of 08:33, 8 July 2010
ZK AU Engine
[Required] Class: org.zkoss.zk.au.http.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
compress | [Optional][Default:true][since 3.6.3]
|
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>
|
processor0
processor1 processor2 ... |
[Optional] (deprecated since 5.0)
It specifies an AU processor. The first processor must be specified with the name called processor0, second processor1 and so on. The syntax of the value is /prefix=class For example, <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>
|