svn commit: r571337 - in /ofbiz/trunk/applications/content/widget/forum: ForumForms.xml 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: r571337 - in /ofbiz/trunk/applications/content/widget/forum: ForumForms.xml ForumScreens.xml

adrianc
Author: adrianc
Date: Thu Aug 30 15:42:12 2007
New Revision: 571337

URL: http://svn.apache.org/viewvc?rev=571337&view=rev
Log:
Fixed forum thread/message editing.

Modified:
    ofbiz/trunk/applications/content/widget/forum/ForumForms.xml
    ofbiz/trunk/applications/content/widget/forum/ForumScreens.xml

Modified: ofbiz/trunk/applications/content/widget/forum/ForumForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/forum/ForumForms.xml?rev=571337&r1=571336&r2=571337&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/forum/ForumForms.xml (original)
+++ ofbiz/trunk/applications/content/widget/forum/ForumForms.xml Thu Aug 30 15:42:12 2007
@@ -153,6 +153,7 @@
         <field name="caToDate"><hidden value="${contentAssoc.toDate}"/></field>
         <field name="caContentIdTo"><hidden/></field>
         <field name="caContentAssocTypeId"><hidden value="RESPONSE"/></field>
+        <field name="dataResourceTypeId"><hidden value="ELECTRONIC_TEXT"/></field>
         <field name="forumMessageText" parameter-name="textData"><textarea rows="10"/></field>
         <field name="addButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
@@ -183,9 +184,10 @@
         <field name="rsp.ownerContentId" parameter-name="ownerContentId"><hidden/></field>
         <field name="rsp.caFromDate" parameter-name="fromDate"><hidden/></field>
         <field name="rsp.caThruDate" parameter-name="thruDate"><hidden/></field>
-        <field name="rsp.caContentIdTo" parameter-name="contentIdTo"><hidden/></field>
-        <field name="rsp.caContentAssocTypeId" parameter-name="contentAssocTypeId"><hidden/></field>
+        <field name="rsp.caContentIdTo" parameter-name="caContentIdTo"><hidden/></field>
+        <field name="rsp.caContentAssocTypeId" parameter-name="caContentAssocTypeId"><hidden/></field>
+        <field name="dataResourceTypeId"><hidden value="ELECTRONIC_TEXT"/></field>
         <field name="textData"><textarea rows="8"/></field>
-        <field name="updateButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
+        <field name="updateButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
     </form>
 </forms>

Modified: ofbiz/trunk/applications/content/widget/forum/ForumScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/forum/ForumScreens.xml?rev=571337&r1=571336&r2=571337&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/forum/ForumScreens.xml (original)
+++ ofbiz/trunk/applications/content/widget/forum/ForumScreens.xml Thu Aug 30 15:42:12 2007
@@ -147,7 +147,7 @@
                 <set field="objectName" from-field="forum.contentName"/>
                 <set field="objectId"  from-field="forum.contentId"/>
                 <set field="forumNbrMessages" from-field="forum.childBranchCount" default-value="0"/>
-                <entity-and entity-name="ContentAssocViewFrom" list-name="forumMessages">
+                <entity-and entity-name="ContentAssocViewTo" list-name="forumMessages">
                     <field-map field-name="ownerContentId" env-name="parameters.forumId"/>
                     <order-by field-name="createdDate DESC"/>
                 </entity-and>