svn commit: r1163036 - /ofbiz/trunk/specialpurpose/ecommerce/widget/ForumScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1163036 - /ofbiz/trunk/specialpurpose/ecommerce/widget/ForumScreens.xml

jleroux@apache.org
Author: jleroux
Date: Mon Aug 29 22:01:16 2011
New Revision: 1163036

URL: http://svn.apache.org/viewvc?rev=1163036&view=rev
Log:
A patch from Atul Vani "Ecommerce forum thread does not display the message properly" https://issues.apache.org/jira/browse/OFBIZ-4364

Ecommerce forum thread does not display the message properly, instead displays the freemarker code to render the content.

Modified:
    ofbiz/trunk/specialpurpose/ecommerce/widget/ForumScreens.xml

Modified: ofbiz/trunk/specialpurpose/ecommerce/widget/ForumScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/widget/ForumScreens.xml?rev=1163036&r1=1163035&r2=1163036&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/widget/ForumScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/widget/ForumScreens.xml Mon Aug 29 22:01:16 2011
@@ -126,14 +126,13 @@ under the License.
                 <!-- service service-name="getContentAndDataResource" result-map="contentData">
                     <field-map field-name="contentId" from-field="parameters.responseContentId"/>
                 </service -->
-                <set field="contentText" from-field="electronicText.textData"/>
             </actions>
             <widgets>
                 <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <label style="blogheader">${uiLabelMap.EcommerceBlogFullMessage}:</label>
                         <container style="blogcontentwrapper">
-                        <label>${contentText}</label>
+                        <content content-id="${parameters.responseContentId}"/>
                         </container>
                         <section>
                             <condition>