You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/01/28 15:28:17 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/authoring new-document.xsl

gregor      2004/01/28 06:28:16

  Modified:    src/webapp/lenya/xslt/authoring new-document.xsl
  Log:
  change to usecase
  
  Revision  Changes    Path
  1.7       +5 -3      cocoon-lenya/src/webapp/lenya/xslt/authoring/new-document.xsl
  
  Index: new-document.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/authoring/new-document.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- new-document.xsl	2 Jul 2003 17:59:01 -0000	1.6
  +++ new-document.xsl	28 Jan 2004 14:28:11 -0000	1.7
  @@ -1,11 +1,11 @@
  -<?xml version="1.0" encoding="iso-8859-1"?>
  +<?xml version="1.0"?>
   
   <xsl:stylesheet version="1.0"
   	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   	xmlns="http://www.w3.org/1999/xhtml"
   	>
    
  -<xsl:output version="1.0" indent="yes" encoding="ISO-8859-1"/>
  +<xsl:output version="1.0" indent="yes"/>
   
   <xsl:template match="/">
   <page:page xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0">
  @@ -23,7 +23,9 @@
   
   <xsl:if test="not(exception)">
   <p>
  -<form action="create">
  +<form action="{/parent-child/referer}">
  +<input type="hidden" name="lenya.usecase" value="create"/>
  +<input type="hidden" name="lenya.step" value="create"/>
   <input type="hidden" name="parentid" value="{/parent-child/parentid}"/>
   <input type="hidden" name="childname" value="Title"/>
   <input type="hidden" name="childtype" value="branch"/>
  
  
  

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