lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject cvs commit: cocoon-lenya/src/webapp/lenya usecase.xmap
Date Wed, 13 Aug 2003 19:22:10 GMT
egli        2003/08/13 12:22:10

  Modified:    src/webapp/lenya usecase.xmap
  Log:
  The actual creation of the new language version needs to
  pass the doctype to the task which can only be queried with
  the uriparametrizer. So added the uriparametrizer to the
  step "create" of the "create-language" usecase.
  create-language should properly initialize the workflow now.
  
  Revision  Changes    Path
  1.60      +7 -3      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.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- usecase.xmap	12 Aug 2003 23:58:27 -0000	1.59
  +++ usecase.xmap	13 Aug 2003 19:22:10 -0000	1.60
  @@ -288,9 +288,13 @@
             </map:match>
             
             <map:match pattern="create" type="step">
  -            <map:act type="task">
  -              <map:parameter name="task-id" value="create-language"/>
  -              <map:redirect-to uri="{request:requestURI}"/>
  +            <map:act src="{request:requestURI}" type="uriparametrizer">
  +              <map:parameter name="doctype" value="cocoon://uri-parameter/{page-envelope:publication-id}/doctype"/>
  +              <map:act type="task">
  +                <map:parameter name="task-id" value="create-language"/>
  +                <map:parameter name="properties.create.doctype" value="{doctype}"/>
  +                <map:redirect-to uri="{request:requestURI}"/>
  +              </map:act>
               </map:act>
             </map:match>
   
  
  
  

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


Mime
View raw message