AU Extensions"

From Documentation
m ((via JWB))
m (remove empty version history (via JWB))
 
Line 9: Line 9:
 
If you want to register it in Java, you could use <javadoc method="addAuExtension(java.lang.String, org.zkoss.zk.au.http.AuExtension)">org.zkoss.zk.au.http.DHtmlUpdateServlet</javadoc> instead.
 
If you want to register it in Java, you could use <javadoc method="addAuExtension(java.lang.String, org.zkoss.zk.au.http.AuExtension)">org.zkoss.zk.au.http.DHtmlUpdateServlet</javadoc> instead.
  
=Version History=
 
  
{| class='wikitable' | width="100%"
 
! Version !! Date !! Content
 
|-
 
| &nbsp;
 
| &nbsp;
 
| &nbsp;
 
|}
 
  
 
{{ZKDevelopersReferencePageFooter}}
 
{{ZKDevelopersReferencePageFooter}}

Latest revision as of 04:33, 5 February 2024

An AU extension (AuExtension) is a small program that can be plugged into ZK Update Engine (DHtmlUpdateServlet) and extend its functionality. Actually our file upload and multimedia viewing are implemented as an AU extension that you can replace with your implementation.

An AU extension is associated with a name starting with slash, such as "/upload". Then each time a request targeting /zkau/upload will be forwarded to this extension for service.

To register an AU extension, you could specify the name and the class name as the initial parameter of the declaration of ZK Update Engine in WEB-INF/web.xml. For more information, please refer to ZK Configuration Reference.

If you want to register it in Java, you could use DHtmlUpdateServlet.addAuExtension(String, AuExtension) instead.




Last Update : 2024/02/05

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