The au-decoder-class Element

From Documentation
Revision as of 09:35, 14 March 2022 by Hawk (talk | contribs) ((via JWB))


The au-decoder-class Element


Syntax:

<au-decoder-class>a_class_name</au-decoder-class>
[Default: null (using the default JSON-based format)]

Since 5.0.4

It specifies which class will be used to implement the AU decoder. The AU decoder is used to decode the AU requests. The class must implement AuDecoder.

By default, the AU request is sent in the JSON format. If you prefer to use another format, you could provide an implementation as follows.

  1. Implement AuDecoder
  2. Register it by specifying it with the au-decoder-class element in WEB-INF/zk.xml
  3. Override a JavaScript method called zAu.encode(int, Event, Desktop) to encode to the custom format

Version History

Last Update : 2022/03/14


Version Date Content
     



Last Update : 2022/03/14

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