lenya/src/webapp/lenya/pubs/default publication-sitemap.xmap,1.32,1.33
Andreas Hartmann <[email protected]> Fri, 16 May 2003 17:36:12 +0200
| Newsgroups | gmane.comp.cms.wyona.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /repository/lenya/src/webapp/lenya/pubs/default
In directory erbium:/tmp/cvs-serv30323/src/webapp/lenya/pubs/default
Modified Files:
publication-sitemap.xmap
Log Message:
- removed publishing from default/publication-sitemap.xmap
- added error handling to usecase.xmap
Index: publication-sitemap.xmap
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/publication-sitemap.xmap,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** publication-sitemap.xmap 16 May 2003 09:23:36 -0000 1.32
--- publication-sitemap.xmap 16 May 2003 15:36:10 -0000 1.33
***************
*** 9,20 ****
<map:matchers default="wildcard"/>
<map:actions />
! <map:selectors>
! <map:selector name="exception" logger="sitemap.selector.exception"
! src="org.apache.cocoon.selection.ExceptionSelector">
! <exception name="execution" class="org.apache.lenya.cms.task.ExecutionException" />
! <exception name="publishing" class="org.apache.lenya.cms.publishing.PublishingException"/>
! <exception name="sitetree" class="org.apache.lenya.cms.publication.SiteTreeException"/>
! </map:selector>
! </map:selectors>
</map:components>
--- 9,13 ----
<map:matchers default="wildcard"/>
<map:actions />
! <map:selectors/>
</map:components>
***************
*** 28,60 ****
<map:pipelines>
- <!-- Publisher -->
- <map:pipeline>
- <map:match type="usecase" pattern="publish">
- <map:match type="step" pattern="showscreen">
- <map:generate type="serverpages" src="../../content/publishing/publish-screen.xsp"/>
- <map:transform src="../../xslt/publishing/screen.xsl">
- <map:parameter name="use-request-parameters" value="true"/>
- </map:transform>
- <map:serialize type="html"/>
- </map:match>
- <map:match type="step" pattern="publish">
- <map:act type="task">
- <map:parameter name="task-id" value="{request-param:task-id}"/>
- <map:redirect-to uri="{request:requestURI}" session="true"/>
- </map:act>
- </map:match>
- </map:match>
- <!--
- <map:handle-errors>
- <map:select type="exception">
- <map:when test="publishing">
- <map:generate src= "sitetreeException.xml"/>
- </map:when>
- </map:select>
- <map:serialize/>
- </map:handle-errors>
- -->
- </map:pipeline>
- <!-- /Publisher -->
<map:pipeline>
--- 21,24 ----