The disable-event-thread Element"
From Documentation
m (Created page with '{{ZKConfigurationReferencePageHeader}} =Version History= {{LastUpdated}} {| border='1px' | width="100%" ! Version !! Date !! Content |- | | | |} {{ZKConfig…') |
m |
||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
+ | |||
+ | '''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 used to implement the AU decoder. The AU decoder is used to decode the AU requests. The class must implement <javadoc type="interface">org.zkoss.zk.au.AuDecoder</javadoc>. | ||
+ | |||
+ | 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. | ||
+ | |||
+ | #Implement <javadoc type="interface">org.zkoss.zk.au.AuDecoder</javadoc> | ||
+ | #Register it by specifying it with the <code>au-decoder-class</code> element in <code>WEB-INF/zk.xml</code> | ||
+ | #Override a JavaScript method called <javadoc directory="jsdoc" method="encode(int, zk.Event, zk.Desktop)">_global_.zAu</javadoc> to encode to the custom format | ||
=Version History= | =Version History= |
Revision as of 15:11, 4 December 2010
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 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.
- Implement AuDecoder
- Register it by specifying it with the
au-decoder-class
element inWEB-INF/zk.xml
- Override a JavaScript method called zAu.encode(int, Event, Desktop) to encode to the custom format
Version History
Version | Date | Content |
---|---|---|