You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ed...@apache.org on 2003/07/03 13:52:16 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/content/info paste.xsp
edith 2003/07/03 04:52:16
Modified: src/webapp/lenya/content/info paste.xsp
Log:
get the document id of the parent of the destination in the cookie
Revision Changes Path
1.5 +4 -1 cocoon-lenya/src/webapp/lenya/content/info/paste.xsp
Index: paste.xsp
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/content/info/paste.xsp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- paste.xsp 1 Jul 2003 17:56:43 -0000 1.4
+++ paste.xsp 3 Jul 2003 11:52:16 -0000 1.5
@@ -9,8 +9,11 @@
create-session="true">
<info>
+ <xsp:logic>
+ String secdocumentid= <xsp-cookie:getValue name="org.apache.lenya.cms.info.targett2"/>;
+ </xsp:logic>
<first-document-id><xsp-session:get-attribute name="org.apache.lenya.cms.info.documentid"/></first-document-id>
- <sec-document-id><xsp-cookie:getValue name="org.apache.lenya.cms.info.targett2"/></sec-document-id>
+ <sec-document-id><xsp:expr>secdocumentid</xsp:expr></sec-document-id>
<task-id><xsp-session:get-attribute name="org.apache.lenya.cms.info.action"/></task-id>
<request-uri><xsp-request:get-uri/></request-uri>
</info>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org