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/09 12:30:27 UTC

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

edith       2003/09/09 03:30:27

  Modified:    src/webapp/lenya/xslt/info paste.xsl
               src/webapp/lenya/content/info paste.xsp
  Log:
  introduction of the parameters user-id and ipadress needed by the initialisation of the workflow in case of copying
  
  Revision  Changes    Path
  1.13      +5 -2      cocoon-lenya/src/webapp/lenya/xslt/info/paste.xsl
  
  Index: paste.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/info/paste.xsl,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- paste.xsl	5 Sep 2003 14:42:59 -0000	1.12
  +++ paste.xsl	9 Sep 2003 10:30:27 -0000	1.13
  @@ -18,6 +18,8 @@
     <xsl:variable name="sec-document-id"><xsl:value-of select="/page/info/sec-document-id"/></xsl:variable>
     <xsl:variable name="first-area"><xsl:value-of select="/page/info/first-area"/></xsl:variable>
     <xsl:variable name="sec-area"><xsl:value-of select="/page/info/sec-area"/></xsl:variable>
  +  <xsl:variable name="userid"><xsl:value-of select="/page/info/user-id"/></xsl:variable>
  +  <xsl:variable name="ipaddress"><xsl:value-of select="/page/info/ip-address"/></xsl:variable>
     <xsl:variable name="doctype"><xsl:value-of select="/page/info/doctype"/></xsl:variable>
     <xsl:variable name="task-id"><xsl:value-of select="/page/info/task-id"/></xsl:variable>
   
  @@ -72,7 +74,8 @@
     <input type="hidden" name="{$prefix}properties.node.secdocumentid" value="{$sec-document-id}"/>
     <input type="hidden" name="{$prefix}properties.firstarea" value="{$first-area}"/>
     <input type="hidden" name="{$prefix}properties.secarea" value="{$sec-area}"/>
  -  <input type="hidden" name="{$prefix}properties.wf.doctype" value="{$doctype}"/>
  +  <input type="hidden" name="{$prefix}properties.copy.userid" value="{$userid}"/>
  +  <input type="hidden" name="{$prefix}properties.copy.ipaddress" value="{$ipaddress}"/>
   </xsl:template>
   
   </xsl:stylesheet>
  
  
  
  1.11      +2 -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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- paste.xsp	5 Sep 2003 14:41:10 -0000	1.10
  +++ paste.xsp	9 Sep 2003 10:30:27 -0000	1.11
  @@ -14,7 +14,8 @@
       <sec-document-id><input:get-attribute module="page-envelope" as="string" name="document-id"/></sec-document-id>
       <first-area><xsp-session:get-attribute name="org.apache.lenya.cms.info.firstarea"/></first-area>
       <sec-area><input:get-attribute module="page-envelope" as="string" name="area"/></sec-area>
  -    <doctype><xsp-session:get-attribute name="org.apache.lenya.cms.info.documentType"/></doctype>
  +    <user-id><input:get-attribute module="access-control" name="user-id"/></user-id>
  +    <ip-address><input:get-attribute module="access-control" name="ip-address"/></ip-address>
       <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