[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}&contentRevisionSeqId=${rootContentRevisionSeqId}"/>
</menu-item>
<menu-item name="child" title="+Child" >
- <link target="AddChildCompDocTemplate?caContentIdTo=${contentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}&sequenceNum=9999"/>
+ <link target="AddChildCompDocTemplate?caContentIdTo=${contentId}&sequenceNum=9999"/> <!-- rootContentRevisionSeqId=${rootContentRevisionSeqId}& -->
</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}&caContentIdTo=${contentIdTo}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumBefore}&caFromDate=${fromDate}&contentRevisionSeqId=${contentRevisionSeqId}"/>
+ <link target="AddChildCompDocTemplate?contentId=${contentId}&caContentIdTo=${contentIdTo}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumBefore}&caFromDate=${fromDate}"/> <!-- &contentRevisionSeqId=${contentRevisionSeqId} -->
</menu-item>
<menu-item name="aft" title="+Aft" >
- <link target="AddChildCompDocTemplate?contentId=${contentId}&caContentIdTo=${contentIdTo}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumAfter}&caFromDate=${fromDate}&contentRevisionSeqId=${contentRevisionSeqId}"/>
+ <link target="AddChildCompDocTemplate?contentId=${contentId}&caContentIdTo=${contentIdTo}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumAfter}&caFromDate=${fromDate}"/> <!-- &contentRevisionSeqId=${contentRevisionSeqId} -->
</menu-item>
<menu-item name="up" title="^Up" >
<link target="resequenceCompDocPart?contentId=${contentId}&dir=up&contentAssocTypeId=COMPDOC_PART&contentIdTo=${contentIdTo}&caContentAssocTypeId=${contentAssocTypeId}&caSequenceNum=${seqNumBefore}&caFromDate=${fromDate}&rootContentId=${rootContentId}&rootContentRevisionSeqId=${rootContentRevisionSeqId}"/>
More information about the Svn
mailing list