lenya/src/webapp/lenya/pubs/default publication-sitemap.xmap,1.19,1.20

Edith Chevrier <[email protected]>
Newsgroups gmane.comp.cms.wyona.cvs
Message-ID <[email protected]>
Update of /repository/lenya/src/webapp/lenya/pubs/default
In directory erbium:/tmp/cvs-serv18144/src/webapp/lenya/pubs/default

Modified Files:
	publication-sitemap.xmap 
Log Message:
Publisher for default with Anttask: work in progress

Index: publication-sitemap.xmap
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/publication-sitemap.xmap,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** publication-sitemap.xmap	5 May 2003 18:15:10 -0000	1.19
--- publication-sitemap.xmap	7 May 2003 17:34:03 -0000	1.20
***************
*** 10,13 ****
--- 10,14 ----
      <map:actions>
        <!-- FIXME: Factor out to root sitemap -->
+ <!--
        <map:action name="task" logger="sitemap.action.task"
  	src="org.apache.lenya.cms.cocoon.acting.TaskAction"/>
***************
*** 15,18 ****
--- 16,20 ----
        logger="sitemap.action.page-envelope"
  	src="org.apache.lenya.cms.cocoon.acting.PageEnvelopeAction"/>
+ -->
        <map:action name="uriparametrizer"
  	src="org.apache.lenya.cms.cocoon.acting.URIParametrizerAction"
***************
*** 30,33 ****
--- 32,71 ----
  
    <map:pipelines>
+     <!-- Publisher  -->
+     <map:pipeline>
+ <!--
+       <map:match type="usecase" pattern="publish">
+         <map:match type="step" pattern="showscreen">
+ -->
+         <map:match pattern="lenya/publishScreen*">
+           <map:generate type="serverpages" src="../../content/publishing/publish-screen.xsp"/>
+           <map:transform src="../../xslt/publishing/main.xsl">
+             <map:parameter name="use-request-parameters" value="true"/>
+           </map:transform>
+           <map:serialize type="html"/>
+         </map:match>
+ <!--
+       </map:match>
+       <map:match type="usecase" pattern="publish">
+         <map:match type="step" pattern="publish">
+ -->
+         <map:match pattern="lenya/publish*">
+           <map:act type="request">
+             <map:parameter name="parameters" value="true"/>
+             <map:act type="task">
+               <map:parameter name="task-id" value="{task-id}"/>
+               <map:redirect-to uri="{parent_uri}" session="true"/>
+             </map:act>
+             <map:redirect-to uri="publishScreen?status=failed" session="true"/>
+ <!--
+             <map:redirect-to uri="?usecase=publish&amp;step=showscreen" session="true"/>
+ -->
+           </map:act>
+         </map:match>
+ <!--
+       </map:match>
+ -->
+     </map:pipeline>
+     <!-- /Publisher  -->
  
      <map:pipeline>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.