Author: nfilotto
Date: 2010-03-03 03:34:41 -0500 (Wed, 03 Mar 2010)
New Revision: 1982
Modified:
jcr/trunk/exo.jcr.component.core/src/main/resources/binding-nodetypevalues.xml
jcr/trunk/exo.jcr.component.core/src/main/resources/binding.xml
Log:
EXOJCR-556: Now allow the String values are deserialized with a Deserializer that calls
trim() on the value. We call also the method trim on the results of the resolved values.
Modified: jcr/trunk/exo.jcr.component.core/src/main/resources/binding-nodetypevalues.xml
===================================================================
---
jcr/trunk/exo.jcr.component.core/src/main/resources/binding-nodetypevalues.xml 2010-03-02
15:26:27 UTC (rev 1981)
+++
jcr/trunk/exo.jcr.component.core/src/main/resources/binding-nodetypevalues.xml 2010-03-03
08:34:41 UTC (rev 1982)
@@ -1,4 +1,6 @@
<binding>
+ <!-- the default deserializer to use for String -->
+ <format type="java.lang.String"
deserializer="org.exoplatform.container.xml.Deserializer.cleanString"/>
<mapping name="nodeTypes"
class="org.exoplatform.services.jcr.core.nodetype.NodeTypeValuesList">
<collection field="nodeTypeValuesList"
item-type="org.exoplatform.services.jcr.core.nodetype.NodeTypeValue"
type="java.util.ArrayList" />
Modified: jcr/trunk/exo.jcr.component.core/src/main/resources/binding.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/binding.xml 2010-03-02 15:26:27
UTC (rev 1981)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/binding.xml 2010-03-03 08:34:41
UTC (rev 1982)
@@ -1,4 +1,6 @@
<binding>
+ <!-- the default deserializer to use for String -->
+ <format type="java.lang.String"
deserializer="org.exoplatform.container.xml.Deserializer.cleanString"/>
<mapping name="repository-service"
class="org.exoplatform.services.jcr.config.RepositoryServiceConfiguration">
<value name="default-repository" field="defaultRepositoryName"
style="attribute" />
Show replies by date