You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/11/01 02:05:24 UTC

svn commit: rev 56174 - incubator/lenya/trunk/src/webapp/lenya/content/publishing

Author: gregor
Date: Sun Oct 31 17:05:24 2004
New Revision: 56174

Modified:
   incubator/lenya/trunk/src/webapp/lenya/content/publishing/referenced-documents.xsp
Log:
DocumentReferencesHelper signature changed

Modified: incubator/lenya/trunk/src/webapp/lenya/content/publishing/referenced-documents.xsp
==============================================================================
--- incubator/lenya/trunk/src/webapp/lenya/content/publishing/referenced-documents.xsp	(original)
+++ incubator/lenya/trunk/src/webapp/lenya/content/publishing/referenced-documents.xsp	Sun Oct 31 17:05:24 2004
@@ -38,7 +38,8 @@
     <usecase:task-id>publish</usecase:task-id>
     
     <xsp:logic>
-	  DocumentReferencesHelper helper = new DocumentReferencesHelper(objectModel);
+      Document document = (Document) <input:get-attribute module="page-envelope" as="object" name="document"/>;
+	  DocumentReferencesHelper helper = new DocumentReferencesHelper(document.getIdentityMap(), objectModel);
 	  Document[] references = helper.getInternalReferences();
 	  if (references.length &gt; 0) {
         </xsp:logic><referenced-documents><xsp:logic>

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org