[OFBiz] SVN: r6926 - trunk/applications/content/widget/compdoc

jonesde@svn.ofbiz.org jonesde at svn.ofbiz.org
Mon Mar 6 11:48:15 CST 2006


Author: jonesde
Date: 2006-03-06 11:48:13 -0600 (Mon, 06 Mar 2006)
New Revision: 6926

Modified:
   trunk/applications/content/widget/compdoc/CompDocMenus.xml
Log:
A few small changes to not pass around the revision seq id; this needs to be revisited more and the issue with viewing old revisions resolved; this should at least fix the issue with adding a child and then when going back to the tree not seeing it because it remembered the old revision

Modified: trunk/applications/content/widget/compdoc/CompDocMenus.xml
===================================================================
--- trunk/applications/content/widget/compdoc/CompDocMenus.xml	2006-03-06 17:32:30 UTC (rev 6925)
+++ trunk/applications/content/widget/compdoc/CompDocMenus.xml	2006-03-06 17:48:13 UTC (rev 6926)
@@ -159,7 +159,7 @@
             <link target="EditRootCompDoc?rootContentId=${rootContentId}&amp;contentRevisionSeqId=${rootContentRevisionSeqId}"/>
         </menu-item>
         <menu-item name="child" title="+Child" >
-            <link target="AddChildCompDocTemplate?caContentIdTo=${contentId}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}&amp;sequenceNum=9999"/>
+            <link target="AddChildCompDocTemplate?caContentIdTo=${contentId}&amp;sequenceNum=9999"/> <!-- rootContentRevisionSeqId=${rootContentRevisionSeqId}&amp; -->
         </menu-item>
 		<!-- on page
         <menu-item name="viewinst" title="View Instances" >
@@ -191,10 +191,10 @@
         </menu-item>
         -->
         <menu-item name="bef" title="+Bef" >
-            <link target="AddChildCompDocTemplate?contentId=${contentId}&amp;caContentIdTo=${contentIdTo}&amp;caContentAssocTypeId=${contentAssocTypeId}&amp;caSequenceNum=${seqNumBefore}&amp;caFromDate=${fromDate}&amp;contentRevisionSeqId=${contentRevisionSeqId}"/>
+            <link target="AddChildCompDocTemplate?contentId=${contentId}&amp;caContentIdTo=${contentIdTo}&amp;caContentAssocTypeId=${contentAssocTypeId}&amp;caSequenceNum=${seqNumBefore}&amp;caFromDate=${fromDate}"/> <!-- &amp;contentRevisionSeqId=${contentRevisionSeqId} -->
         </menu-item>
         <menu-item name="aft" title="+Aft" >
-            <link target="AddChildCompDocTemplate?contentId=${contentId}&amp;caContentIdTo=${contentIdTo}&amp;caContentAssocTypeId=${contentAssocTypeId}&amp;caSequenceNum=${seqNumAfter}&amp;caFromDate=${fromDate}&amp;contentRevisionSeqId=${contentRevisionSeqId}"/>
+            <link target="AddChildCompDocTemplate?contentId=${contentId}&amp;caContentIdTo=${contentIdTo}&amp;caContentAssocTypeId=${contentAssocTypeId}&amp;caSequenceNum=${seqNumAfter}&amp;caFromDate=${fromDate}"/> <!-- &amp;contentRevisionSeqId=${contentRevisionSeqId} -->
         </menu-item>
         <menu-item name="up" title="^Up" >
             <link target="resequenceCompDocPart?contentId=${contentId}&amp;dir=up&amp;contentAssocTypeId=COMPDOC_PART&amp;contentIdTo=${contentIdTo}&amp;caContentAssocTypeId=${contentAssocTypeId}&amp;caSequenceNum=${seqNumBefore}&amp;caFromDate=${fromDate}&amp;rootContentId=${rootContentId}&amp;rootContentRevisionSeqId=${rootContentRevisionSeqId}"/>



More information about the Svn mailing list