Author: jleroux
Date: Thu May 27 12:49:31 2010
New Revision: 948811
URL: http://svn.apache.org/viewvc?rev=948811&view=rev
Log:
A patch from Sascha Rodekamp "atalog Services HTML Safe"
(https://issues.apache.org/jira/browse/OFBIZ-3785) - OFBIZ-3785
Set text parameter to 'safe'(allow HMTL), now you can add some HTML Tags in
your Product/Category Simple Text (maybe highlighting tags etc.).
Modified:
ofbiz/trunk/applications/product/servicedef/services.xml
Modified: ofbiz/trunk/applications/product/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services.xml?rev=948811&r1=948810&r2=948811&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services.xml Thu May 27
12:49:31 2010
@@ -933,7 +933,7 @@ under the License.
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<auto-attributes entity-name="Content" include="nonpk" mode="IN"
optional="true"/>
- <attribute name="text" type="String" mode="IN" optional="false"/>
+ <attribute name="text" type="String" mode="IN" optional="false"
allow-html="safe"/>
<override name="contentId" optional="true"/>
<override name="fromDate" optional="true"/>
</service>
@@ -943,7 +943,7 @@ under the License.
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<auto-attributes entity-name="Content" include="nonpk" mode="IN"
optional="true"/>
<attribute name="textDataResourceId" type="String" mode="IN"
optional="true"/>
- <attribute name="text" type="String" mode="IN" optional="true"/>
+ <attribute name="text" type="String" mode="IN" optional="true"
allow-html="safe"/>
</service>
<!-- ProductFeatureDataResource services -->
@@ -1111,7 +1111,7 @@ under the License.
<auto-attributes include="pk" mode="IN" optional="true"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<auto-attributes mode="IN" entity-name="Content" optional="true"/>
- <attribute name="text" type="String" mode="IN" optional="false"/>
+ <attribute name="text" type="String" mode="IN" optional="false"
allow-html="safe"/>
<override name="contentId" optional="true"/>
</service>
<service name="updateSimpleTextContentForProductConfigItem"
default-entity-name="ProdConfItemContent" engine="simple"
@@ -1120,7 +1120,7 @@ under the License.
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<auto-attributes mode="IN" entity-name="Content" optional="true"/>
<attribute name="textDataResourceId" type="String" mode="IN"
optional="true"/>
- <attribute name="text" type="String" mode="IN" optional="true"/>
+ <attribute name="text" type="String" mode="IN" optional="true"
allow-html="safe"/>
</service>
<service name="getProductFeaturesByType" engine="java"
location="org.ofbiz.product.feature.ProductFeatureServices"
invoke="getProductFeaturesByType">