[OFBiz] SVN: r6523 - trunk/applications/content/webapp/content/WEB-INF/actions/content

byersa@svn.ofbiz.org byersa at svn.ofbiz.org
Tue Jan 17 18:14:11 CST 2006


Author: byersa
Date: 2006-01-17 18:14:08 -0600 (Tue, 17 Jan 2006)
New Revision: 6523

Added:
   trunk/applications/content/webapp/content/WEB-INF/actions/content/prepseqno.bsh
Log:
Needed for CompDoc.


Added: trunk/applications/content/webapp/content/WEB-INF/actions/content/prepseqno.bsh
===================================================================
--- trunk/applications/content/webapp/content/WEB-INF/actions/content/prepseqno.bsh	2006-01-17 23:31:59 UTC (rev 6522)
+++ trunk/applications/content/webapp/content/WEB-INF/actions/content/prepseqno.bsh	2006-01-18 00:14:08 UTC (rev 6523)
@@ -0,0 +1,10 @@
+import org.ofbiz.base.util.Debug;
+
+seqNo = context.get("caSequenceNum");
+Debug.logInfo("caSequenceNum:" + seqNo, "");
+if (seqNo != null) {
+    seqNumBefore = seqNo - 1;
+    context.put("seqNumBefore", seqNumBefore);
+    seqNumAfter = seqNo + 1;
+    context.put("seqNumAfter", seqNumAfter);
+}



More information about the Svn mailing list