org.zkoss.bind.appConverters"

From Documentation
m
m ((via JWB))
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
'''Property:'''
 
'''Property:'''
 
  org.zkoss.bind.appConverters
 
  org.zkoss.bind.appConverters
 +
 +
{{GlobalLibraryProperty}}
  
 
  Default: ''none''
 
  Default: ''none''
[since 6.0.1]
+
{{versionSince|6.0.1}}
 
  {{ZK EE}}
 
  {{ZK EE}}
  
Register application level converters and only have one instance shard by all binders.
+
Register application level converters and only have one instance shard between all binders.
  
 
Sample usage: add the following settings in zk.xml:
 
Sample usage: add the following settings in zk.xml:

Latest revision as of 08:53, 14 March 2022


org.zkoss.bind.appConverters


Property:

org.zkoss.bind.appConverters
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: none

Since 6.0.1

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

Register application level converters and only have one instance shard between all binders.

Sample usage: add the following settings in zk.xml:

<library-property>
    <name>org.zkoss.bind.appConverters</name>
    <value>foo=my.FooConverter,bar=my.BarConverter</value>
</library-property>

Then use them by converter name.

<label value="@load(vm.message) @converter('foo')"/>
<label value="@load(vm.message) @converter('bar')"/>

This is useful if the converter is required in many place.

Version History

Last Update : 2022/03/14


Version Date Content
6.0.1 May, 2012 Introduced



Last Update : 2022/03/14

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