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/25 18:45:47 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/content/info archive.xsp

edith       2003/07/25 09:45:47

  Modified:    src/webapp/lenya/content/info archive.xsp
  Log:
  archiving works
  
  Revision  Changes    Path
  1.3       +12 -6     cocoon-lenya/src/webapp/lenya/content/info/archive.xsp
  
  Index: archive.xsp
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/content/info/archive.xsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- archive.xsp	10 Jun 2003 13:05:38 -0000	1.2
  +++ archive.xsp	25 Jul 2003 16:45:46 -0000	1.3
  @@ -3,12 +3,18 @@
   <xsp:page 
     language="java" 
     xmlns:xsp="http://apache.org/xsp"
  -  xmlns:xsp-lenya="http://apache.org/cocoon/lenya/xsp/1.0"
  -  xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
  ->
  +  xmlns:xsp-request="http://apache.org/xsp/request/2.0"
  +  xmlns:xsp-cookie="http://apache.org/xsp/cookie/2.0">
   
  +<page>
   <info>
  -  <document-id><input:get-attribute module="page-envelope" name="document-id" as="string"/></document-id>
  -</info>
  +  <xsp:logic>
  +    String documentid= <xsp-cookie:getValue name="org.apache.lenya.cms.info.targett2"/>;
  +  </xsp:logic>
   
  -</xsp:page>
  \ No newline at end of file
  +  <request-uri><xsp-request:get-uri/></request-uri>
  +  <document-id><xsp:expr>documentid</xsp:expr></document-id>
  +  <task-id>archiveDocument</task-id>
  +</info>
  +</page>
  +</xsp:page>
  
  
  

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