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

cvs commit: cocoon-lenya/src/webapp/lenya usecase.xmap

egli        2004/03/01 06:12:46

  Modified:    src/webapp/lenya usecase.xmap
  Log:
  When creating a new document redirect to it after creating it and make
  sure you take the language into account.
  
  Revision  Changes    Path
  1.188     +1 -0      cocoon-lenya/src/webapp/lenya/usecase.xmap
  
  Index: usecase.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/usecase.xmap,v
  retrieving revision 1.187
  retrieving revision 1.188
  diff -u -r1.187 -r1.188
  --- usecase.xmap	20 Feb 2004 14:27:50 -0000	1.187
  +++ usecase.xmap	1 Mar 2004 14:12:46 -0000	1.188
  @@ -320,6 +320,7 @@
                   <map:parameter name="task-id" value="create"/>
                   <map:generate type="serverpages" src="{fallback:content/util/redirect-document.xsp}">
                     <map:parameter name="document-id" value="{request-param:properties.create.parent-id}/{request-param:properties.create.child-id}"/>
  +                  <map:parameter name="language" value="{request-param:properties.create.language}"/>
                   </map:generate>
                   <map:transform src="{fallback:xslt/util/redirect-document.xsl}"/>
                   <map:serialize/>
  
  
  

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