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/09/01 14:51:57 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/info archive.xsl

edith       2003/09/01 05:51:57

  Modified:    src/webapp/lenya/content/info archive.xsp
               src/webapp/lenya/xslt/info archive.xsl
  Log:
  Workflow event inserted
  
  Revision  Changes    Path
  1.6       +2 -0      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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- archive.xsp	29 Jul 2003 17:57:20 -0000	1.5
  +++ archive.xsp	1 Sep 2003 12:51:57 -0000	1.6
  @@ -3,6 +3,7 @@
   <xsp:page 
     language="java" 
     xmlns:xsp="http://apache.org/xsp"
  +  xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0"
     xmlns:xsp-request="http://apache.org/xsp/request/2.0"
     xmlns:xsp-session="http://apache.org/xsp/session/2.0"
     create-session="true">
  @@ -13,6 +14,7 @@
     <document-id><xsp-session:get-attribute name="org.apache.lenya.cms.info.target"/></document-id>
     <area><xsp-session:get-attribute name="org.apache.lenya.cms.info.area"/></area>
     <task-id>archiveDocument</task-id>
  +  <wf:event><xsp-request:get-attribute name="wf:event"/></wf:event>
   </info>
   </page>
   </xsp:page>
  
  
  
  1.8       +4 -1      cocoon-lenya/src/webapp/lenya/xslt/info/archive.xsl
  
  Index: archive.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/info/archive.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- archive.xsl	29 Jul 2003 17:57:20 -0000	1.7
  +++ archive.xsl	1 Sep 2003 12:51:57 -0000	1.8
  @@ -9,6 +9,7 @@
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:session="http://www.apache.org/xsp/session/2.0"
      xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0"
  +   xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0"
      >
     
     <xsl:output version="1.0" indent="yes" encoding="ISO-8859-1"/>
  @@ -17,6 +18,7 @@
     <xsl:variable name="area"><xsl:value-of select="/page/info/area"/></xsl:variable>
     <xsl:variable name="task-id"><xsl:value-of select="/page/info/task-id"/></xsl:variable>
     <xsl:variable name="request-uri"><xsl:value-of select="/page/info/request-uri"/></xsl:variable>
  +  <xsl:variable name="lenya.event"><xsl:value-of select="/page/info/wf:event"/></xsl:variable>
   
     <xsl:template match="/">
       <xsl:apply-templates/>
  @@ -38,6 +40,7 @@
         <div class="lenya-box-body">
           <form method="get">
             <xsl:attribute name="action"></xsl:attribute>
  +          <input type="hidden" name="lenya.event" value="{$lenya.event}"/>
             <input type="hidden" name="lenya.usecase" value="archive"/>
             <input type="hidden" name="lenya.step" value="archive"/>
             <input type="hidden" name="task-id" value="{$task-id}"/>
  
  
  

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