org.zkoss.zk.ui.jsonServiceParamConverter.class"

From Documentation
 
Line 6: Line 6:
  
 
{{versionSince| 8.0.0}} {{ZK EE}}
 
{{versionSince| 8.0.0}} {{ZK EE}}
  Default: org.zkoss.zkmax.ui.JacksonConverter (JavaDoc: <javadoc>org.zkoss.zkmax.ui.JacksonConverter</javadoc>)
+
  Default: [http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zkmax/ui/JacksonConverter.html org.zkoss.zkmax.ui.JacksonConverter]
  
  
 
{{versionSince| 8.5.1}} {{ZK EE}}
 
{{versionSince| 8.5.1}} {{ZK EE}}
  Default: org.zkoss.zkmax.ui.GsonConverter (JavaDoc: <javadoc>org.zkoss.zkmax.ui.GsonConverter</javadoc>)
+
  Default: [http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zkmax/ui/GsonConverter.html org.zkoss.zkmax.ui.GsonConverter]
  
  
Line 24: Line 24:
 
</library-property>
 
</library-property>
 
</syntaxhighlight>
 
</syntaxhighlight>
{{ZKConfigurationReferencePageFooter}}
+
 
 +
 
 +
{{ZKConfigurationReferencePageFooter}}

Latest revision as of 09:34, 14 March 2022


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.zk.ui.jsonServiceParamConverter.class
org.zkoss.zk.ui.jsonServiceParamConverter.class


Property:

org.zkoss.zk.ui.jsonServiceParamConverter.class
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>

Since 8.0.0

  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ee.png
Default: org.zkoss.zkmax.ui.JacksonConverter 


Since 8.5.1

  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ee.png
Default: org.zkoss.zkmax.ui.GsonConverter


It specifies the name of the class used to provide the default JSON converter for service command. The class must implement the Converter interface.

You can implement your own JSON converter for non-EE version or use the built-in converter in EE version. In EE version, you can switch the implementation of the json converter in zk.xml

<library-property>
	<name>org.zkoss.zk.ui.jsonServiceParamConverter.class</name>
	<value>org.zkoss.zkmax.ui.GsonConverter</value>
</library-property>



Last Update : 2022/03/14

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