You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/04/07 04:27:58 UTC
svn commit: r160366 - in lenya/trunk/src/webapp/lenya: ./ content/info/
content/scheduler/ resources/css/ xslt/info/ xslt/logs/ xslt/scheduler/
Author: gregor
Date: Wed Apr 6 19:27:57 2005
New Revision: 160366
URL: http://svn.apache.org/viewcvs?view=rev&rev=160366
Log:
Remove auxiliary files for old-style usecases.
Removed:
lenya/trunk/src/webapp/lenya/content/info/archive.xsp
lenya/trunk/src/webapp/lenya/content/info/deactivate.xsp
lenya/trunk/src/webapp/lenya/content/info/delete.xsp
lenya/trunk/src/webapp/lenya/content/info/meta.xsp
lenya/trunk/src/webapp/lenya/content/info/overview.xsp
lenya/trunk/src/webapp/lenya/content/info/restore.xsp
lenya/trunk/src/webapp/lenya/content/info/revisions.xsp
lenya/trunk/src/webapp/lenya/content/info/workflow.xsp
lenya/trunk/src/webapp/lenya/content/scheduler/scheduler.xsp
lenya/trunk/src/webapp/lenya/content/scheduler/screen.xsp
lenya/trunk/src/webapp/lenya/resources/css/scheduler.css
lenya/trunk/src/webapp/lenya/xslt/info/archive.xsl
lenya/trunk/src/webapp/lenya/xslt/info/deactivate.xsl
lenya/trunk/src/webapp/lenya/xslt/info/delete.xsl
lenya/trunk/src/webapp/lenya/xslt/info/info.xsl
lenya/trunk/src/webapp/lenya/xslt/info/restore.xsl
lenya/trunk/src/webapp/lenya/xslt/info/scheduler.xsl
lenya/trunk/src/webapp/lenya/xslt/info/workflow2info.xsl
lenya/trunk/src/webapp/lenya/xslt/logs/antlog2html.xsl
lenya/trunk/src/webapp/lenya/xslt/logs/antlog2page.xsl
lenya/trunk/src/webapp/lenya/xslt/logs/directory2html.xsl
lenya/trunk/src/webapp/lenya/xslt/scheduler/common.xsl
lenya/trunk/src/webapp/lenya/xslt/scheduler/filter-document.xsl
lenya/trunk/src/webapp/lenya/xslt/scheduler/filter-publication.xsl
lenya/trunk/src/webapp/lenya/xslt/scheduler/joblist.xsl
lenya/trunk/src/webapp/lenya/xslt/scheduler/jobs2xslt.xsl
lenya/trunk/src/webapp/lenya/xslt/scheduler/scheduler-page.xsl
lenya/trunk/src/webapp/lenya/xslt/scheduler/screen.xsl
lenya/trunk/src/webapp/lenya/xslt/scheduler/sort.xsl
Modified:
lenya/trunk/src/webapp/lenya/usecase.xmap
Modified: lenya/trunk/src/webapp/lenya/usecase.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/usecase.xmap?view=diff&r1=160365&r2=160366
==============================================================================
--- lenya/trunk/src/webapp/lenya/usecase.xmap (original)
+++ lenya/trunk/src/webapp/lenya/usecase.xmap Wed Apr 6 19:27:57 2005
@@ -116,105 +116,6 @@
</map:act>
</map:match>
- <!-- Scheduler -->
- <!-- Schedule Document: View, Add, Edit, Delete Jobs -->
- <map:match pattern="schedule" type="usecase">
-
- <!-- show scheduler screen -->
- <map:match pattern="showscreen" type="step">
- <map:generate type="serverpages" src="fallback://lenya/content/scheduler/screen.xsp"/>
- <map:transform src="fallback://lenya/xslt/scheduler/screen.xsl">
- <map:parameter name="use-request-parameters" value="true"/>
- </map:transform>
- <map:transform src="cocoon:/notification/{../../1}/schedule.xsl"/>
- <map:transform src="cocoon://scheduler/{../../1}/{page-envelope:area}/{../../3}.xsl"/>
- <map:call resource="style-cms-page"/>
- </map:match>
-
- <!-- other steps: add job (redirect to page) -->
- <map:generate src="cocoon://scheduler/publication/{../1}"/>
- <map:transform src="xslt/util/redirect.xsl">
- <map:parameter name="url" value="{request-param:referer}"/>
- </map:transform>
- <map:serialize/>
-
- </map:match>
-
- <map:match pattern="testAntTask" type="usecase">
- <map:act type="task">
- <map:parameter name="publication-id" value="{../1}"/>
- <map:parameter name="task-id" value="ant-test"/>
- <map:redirect-to session="true" uri="{request:requestURI}"/>
- </map:act>
- </map:match>
-
-
- <!-- usecase -->
- <!-- View Logs -->
- <map:match pattern="view-logs" type="usecase">
-
- <map:match pattern="overview" type="step">
- <map:generate src="pubs/{../../1}/logs/tasks" type="directory"/>
- <map:transform src="fallback://lenya/xslt/logs/directory2html.xsl"/>
- <map:transform src="fallback://lenya/xslt/util/page2xhtml.xsl">
- <map:parameter name="context-prefix" value="{request:contextPath}"/>
- </map:transform>
- <map:serialize/>
- </map:match>
-
- <!-- step -->
- <map:match pattern="log" type="step">
- <map:act type="request">
- <map:parameter name="parameters" value="true"/>
- <map:generate src="pubs/{../../../1}/logs/tasks/{logfile}"/>
- </map:act>
- <map:transform src="fallback://lenya/xslt/logs/antlog2html.xsl"/>
- <map:transform src="fallback://lenya/xslt/logs/antlog2page.xsl"/>
- <map:transform src="fallback://lenya/xslt/util/page2xhtml.xsl">
- <map:parameter name="context-prefix" value="{request:contextPath}"/>
- </map:transform>
- <map:serialize/>
- </map:match>
- <!-- step -->
-
- </map:match>
- <!-- usecase -->
-
-
- <!-- Publish -->
- <map:match pattern="publish" type="usecase">
-
- <map:match pattern="showscreen" type="step">
- <map:generate type="serverpages" src="fallback://lenya/content/publishing/screen.xsp"/>
- <map:transform src="fallback://lenya/xslt/publishing/publish-screen.xsl">
- <map:parameter name="use-request-parameters" value="true"/>
- </map:transform>
- <map:transform src="cocoon:/notification/{../../1}/publish.xsl"/>
- <map:transform src="cocoon://scheduler/{../../1}/{page-envelope:area}/{../../3}.xsl"/>
- <map:call resource="style-cms-page"/>
- </map:match>
-
- <map:match pattern="show-referenced-documents" type="step">
- <map:generate src="fallback://lenya/content/publishing/referenced-documents.xsp" type="serverpages"/>
- <map:transform type="xalan" src="fallback://lenya/xslt/publishing/referenced-documents.xsl">
- <map:parameter name="use-request-parameters" value="true"/>
- </map:transform>
- <map:serialize type="text"/>
- </map:match>
-
- <map:match pattern="publish" type="step">
- <map:act type="task">
- <map:parameter name="publication-id" value="{../../1}"/>
- <map:parameter name="task-id" value="{request-param:task-id}"/>
- <map:parameter name="properties.export.server-port" value="{request:serverPort}"/>
- <map:parameter name="properties.export.context-path" value="{request:contextPath}"/>
- <map:redirect-to session="true" uri="{request:requestURI}"/>
- </map:act>
- </map:match>
-
- </map:match>
- <!-- /Publish -->
-
<!-- ************************************************************** -->
<!-- ** Xopus ** -->
<!-- ** ** -->
@@ -457,77 +358,7 @@
</map:match>
</map:match>
-
- <!-- Info area use cases start here -->
-
- <map:match pattern="archive" type="usecase">
-
- <map:match pattern="showscreen" type="step">
- <map:generate src="content/info/archive.xsp" type="serverpages"/>
- <map:transform src="fallback://lenya/xslt/info/archive.xsl">
- <map:parameter name="use-request-parameters" value="true"/>
- </map:transform>
- <map:call resource="style-cms-page"/>
- </map:match>
-
- <map:match pattern="archive" type="step">
- <map:act type="task">
- <map:redirect-to session="true" uri="{request-param:parenturl}"/>
- </map:act>
- </map:match>
-
- </map:match>
-
-
- <map:match pattern="restore" type="usecase">
-
- <map:match pattern="showscreen" type="step">
- <map:generate src="content/info/restore.xsp" type="serverpages"/>
- <map:transform src="fallback://lenya/xslt/info/restore.xsl">
- <map:parameter name="use-request-parameters" value="true"/>
- </map:transform>
- <map:call resource="style-cms-page"/>
- </map:match>
-
- <map:match pattern="restore" type="step">
- <map:act type="task">
- <map:redirect-to session="true" uri="{request:contextPath}/{../../../1}/{../../../2}/"/>
- </map:act>
- </map:match>
-
- </map:match>
-
-
- <map:match pattern="delete" type="usecase">
-
- <map:match pattern="showscreen" type="step">
- <map:generate src="content/info/delete.xsp" type="serverpages"/>
- <map:transform src="fallback://lenya/xslt/info/delete.xsl">
- <map:parameter name="use-request-parameters" value="true"/>
- </map:transform>
- <map:call resource="style-cms-page"/>
- </map:match>
-
- <map:match pattern="delete" type="step">
- <map:act type="task">
- <map:redirect-to session="true" uri="{request-param:parenturl}"/>
- </map:act>
- </map:match>
-
- </map:match>
-
- <map:match pattern="move-node" type="usecase">
- <map:match pattern="move-node" type="step">
- <map:act type="task">
- <map:parameter name="task-id" value="movenode"/>
- <map:parameter name="properties.movenode.documentid" value="{page-envelope:document-id}"/>
- <map:redirect-to session="true" uri="{request:requestURI}"/>
- </map:act>
- </map:match>
- </map:match>
-
-
<!-- initialize the workflow -->
<map:match type="usecase" pattern="initworkflow">
<map:act type="task">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org