org.zkoss.bind.jsonBindingParamConverter.class"

From Documentation
(Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.bind.jsonBindingParamConverter.class Default: <i>org.zkoss.zkmax.bind.JacksonConverter</i> (it implies <javad...")
 
Line 6: Line 6:
 
  [since 8.0.0] [EE version only]
 
  [since 8.0.0] [EE version only]
  
It specifies the name of the class used to provide the default JSON converter . The class must implement the <javadoc type="interface">org.zkoss.bind.Converter</javadoc> interface.
+
It specifies the name of the class used to provide the default JSON converter for ZK Bind command. The class must implement the <javadoc type="interface">org.zkoss.bind.Converter</javadoc> interface.
  
 
You can implement your own JSON converter for non-EE version or use the built-in converter in EE version.
 
You can implement your own JSON converter for non-EE version or use the built-in converter in EE version.

Revision as of 08:26, 16 July 2015


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.bind.jsonBindingParamConverter.class
org.zkoss.bind.jsonBindingParamConverter.class


Property:

org.zkoss.bind.jsonBindingParamConverter.class
Default: org.zkoss.zkmax.bind.JacksonConverter (it implies JacksonConverter)
[since 8.0.0] [EE version only]

It specifies the name of the class used to provide the default JSON converter for ZK Bind 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.bind.jsonBindingParamConverter.class</name>
	<value>org.zkoss.zkmax.bind.GsonConverter</value>
</library-property>


Last Update : 2015/07/16

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