lenya/src/webapp/lenya usecase.xmap,1.8,1.9
Edith Chevrier <[email protected]> Wed, 21 May 2003 18:24:36 +0200
| Newsgroups | gmane.comp.cms.wyona.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /usr/local/repositories/lenya/src/webapp/lenya
In directory erbium:/tmp/cvs-serv2287/src/webapp/lenya
Modified Files:
usecase.xmap
Log Message:
Revision Controller for the default publication works
Index: usecase.xmap
===================================================================
RCS file: /usr/local/repositories/lenya/src/webapp/lenya/usecase.xmap,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** usecase.xmap 21 May 2003 08:48:30 -0000 1.8
--- usecase.xmap 21 May 2003 16:24:34 -0000 1.9
***************
*** 238,241 ****
--- 238,242 ----
<map:handle-errors type="500">
+ <!--
<map:select type="exception">
<map:when test="publishing">
***************
*** 244,247 ****
--- 245,249 ----
</map:select>
<map:serialize/>
+ -->
</map:handle-errors>
***************
*** 280,302 ****
<!--Rollback-->
<map:pipeline>
! <!-- {publication-id}/{area}/{uri}-->
! <map:match pattern="*/*/**">
! <map:match type="usecase" pattern="rollback">
!
! <map:match type="step" pattern="showscreen">
! <map:generate type="serverpages" src="content/rc/versions-screen.xsp"/>
! <map:transform src="xslt/rc/rollback.xsl"/>
! <map:serialize type="html"/>
! </map:match>
!
! <map:match type="step" pattern="view">
! <map:mount uri-prefix="{../../1}" src="pubs/{../../1}/sitemap.xmap" check-reload="true" reload-method="synchron"/>
! </map:match>
!
! <map:match type="step" pattern="rollback">
<map:act type="rollback">
<map:redirect-to uri="{location}" session="true"/>
</map:act>
! <map:redirect-to uri="{}" session="true"/>
</map:match>
</map:match>
--- 282,304 ----
<!--Rollback-->
<map:pipeline>
! <!-- {publication-id}/{area}/{uri}-->
! <map:match pattern="*/*/**">
! <map:match type="usecase" pattern="rollback">
!
! <map:match type="step" pattern="showscreen">
! <map:generate type="serverpages" src="content/rc/versions-screen.xsp"/>
! <map:transform src="xslt/rc/rollback.xsl"/>
! <map:serialize type="html"/>
! </map:match>
!
! <map:match type="step" pattern="view">
! <map:redirect-to uri="{request:requestURI}?lenya.step=view-revision&documentid={request-param:documentid}&rollbackTime={request-param:rollbackTime}" session="true"/>
! </map:match>
!
! <map:match type="step" pattern="rollback">
<map:act type="rollback">
<map:redirect-to uri="{location}" session="true"/>
</map:act>
! <map:redirect-to uri="{request:requestURI}" session="true"/>
</map:match>
</map:match>
***************
*** 311,317 ****
<map:parameter name="date" value="{date}"/>
</map:generate>
! <map:serialize type="xml"/>
</map:act>
! <map:redirect-to uri="{}" session="true"/>
</map:match>
</map:match>
--- 313,320 ----
<map:parameter name="date" value="{date}"/>
</map:generate>
! <map:transform src="xslt/rc/rco-exception.xsl"/>
! <map:serialize type="html"/>
</map:act>
! <map:redirect-to uri="{request:requestURI}" session="true"/>
</map:match>
</map:match>
***************
*** 327,333 ****
<map:parameter name="date" value="{date}"/>
</map:generate>
! <map:serialize type="xml"/>
</map:act>
! <map:redirect-to uri="{}" session="true"/>
</map:match>
</map:match>
--- 330,337 ----
<map:parameter name="date" value="{date}"/>
</map:generate>
! <map:transform src="xslt/rc/rco-exception.xsl"/>
! <map:serialize type="html"/>
</map:act>
! <map:redirect-to uri="{request:requestURI}" session="true"/>
</map:match>
</map:match>