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/29 19:57:49 UTC

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

edith       2003/07/29 10:57:49

  Modified:    src/webapp/lenya/content/info paste.xsp
               src/webapp/lenya/xslt/info paste.xsl
  Log:
  get the doctype
  
  Revision  Changes    Path
  1.9       +1 -0      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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- paste.xsp	28 Jul 2003 16:44:53 -0000	1.8
  +++ paste.xsp	29 Jul 2003 17:57:49 -0000	1.9
  @@ -13,6 +13,7 @@
       <sec-document-id><xsp-session:get-attribute name="org.apache.lenya.cms.info.target"/></sec-document-id>
       <first-area><xsp-session:get-attribute name="org.apache.lenya.cms.info.firstarea"/></first-area>
       <sec-area><xsp-session:get-attribute name="org.apache.lenya.cms.info.area"/></sec-area>
  +    <doctype><xsp-session:get-attribute name="org.apache.lenya.cms.info.documentType"/></doctype>
       <task-id><xsp-session:get-attribute name="org.apache.lenya.cms.info.action"/></task-id>
       <request-uri><xsp-request:get-uri/></request-uri>
     </info>
  
  
  
  1.11      +3 -1      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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- paste.xsl	28 Jul 2003 16:44:52 -0000	1.10
  +++ paste.xsl	29 Jul 2003 17:57:49 -0000	1.11
  @@ -18,6 +18,7 @@
     <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="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>
   
     <xsl:template match="/">
  @@ -62,6 +63,7 @@
     <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}"/>
   </xsl:template>
   
   </xsl:stylesheet>
  
  
  

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