lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gre...@apache.org
Subject svn commit: r178193 - in /lenya/trunk/src/webapp/lenya: content/info/assets.xsp usecase.xmap
Date Tue, 24 May 2005 15:46:24 GMT
Author: gregor
Date: Tue May 24 08:46:23 2005
New Revision: 178193

URL: http://svn.apache.org/viewcvs?rev=178193&view=rev
Log:
Removed obsolete asset usecase

Removed:
    lenya/trunk/src/webapp/lenya/content/info/assets.xsp
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?rev=178193&r1=178192&r2=178193&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/usecase.xmap (original)
+++ lenya/trunk/src/webapp/lenya/usecase.xmap Tue May 24 08:46:23 2005
@@ -210,82 +210,6 @@
         <!-- ********  /Xopus Editor ************************************** -->
         <!-- ************************************************************** -->
         
-
-        <!-- This is the generic asset upload matcher -->
-        <map:match pattern="asset" type="usecase">
-          <map:match pattern="showscreen" type="step">
-            <map:select type="request-parameter">  
-              <map:parameter name="parameter-name" value="insert"/>
-              <map:when test="true">
-                <map:act type="reserved-checkout">
-                  <map:generate type="serverpages" src="content/rc/{exception}.xsp">
-                    <map:parameter name="user" value="{user}"/>
-                    <map:parameter name="filename" value="{filename}"/>
-                    <map:parameter name="date" value="{date}"/>
-                    <map:parameter name="message" value="{message}"/>
-                  </map:generate>
-                  <map:transform src="fallback://lenya/xslt/rc/rco-exception.xsl"/>
-                  <map:call resource="style-cms-page"/>
-                </map:act>
-              </map:when>
-              <map:otherwise>
-              </map:otherwise>
-            </map:select>
-            <map:generate type="serverpages" src="fallback://lenya/content/info/assets.xsp"/>
-            <map:transform src="fallback://lenya/xslt/authoring/asset.xsl">
-              <map:parameter name="contextprefix" value="{request:contextPath}"/>
-              <map:parameter name="use-request-parameters" value="true"/>
-              <!--<map:parameter name="error" value="true"/>-->
-            </map:transform>
-            <map:call resource="style-cms-page"/>
-          </map:match>
-
-          <map:match pattern="upload" type="step">
-            <map:generate src="fallback://lenya/content/authoring/asset.xsp" type="serverpages"/>
-            <map:transform src="fallback://lenya/xslt/authoring/asset.xsl">
-              <map:parameter name="contextprefix" value="{request:contextPath}"/>
-              <map:parameter name="use-request-parameters" value="true"/>
-              <map:parameter name="error" value="true"/>
-            </map:transform>
-            <map:call resource="style-cms-page"/>
-          </map:match>
-
-          <map:match pattern="insert" type="step">
-            <map:act type="task">
-              <map:parameter name="task-id" value="{request-param:task-id}"/>
-              <map:redirect-to session="true" uri="{request:requestURI}?lenya.usecase=checkin&amp;lenya.step=checkin&amp;backup=true"/>
-            </map:act>
-          </map:match>
-
-          <map:match pattern="upload-and-insert" type="step">
-            <map:act type="reserved-checkin">
-              <map:parameter name="backup" value="false"/>
-              <map:generate src="content/rc/{exception}.xsp" type="serverpages">
-                <map:parameter name="user" value="{user}"/>
-                <map:parameter name="filename" value="{filename}"/>
-                <map:parameter name="checkType" value="{checkType}"/>
-                <map:parameter name="date" value="{date}"/>
-              </map:generate>
-              <map:transform src="fallback://lenya/xslt/rc/rco-exception.xsl"/>
-              <map:call resource="style-cms-page"/>
-            </map:act>
-            <map:generate src="fallback://lenya/content/authoring/asset.xsp" type="serverpages"/>
-            <map:transform src="fallback://lenya/xslt/authoring/asset.xsl">
-              <map:parameter name="contextprefix" value="{request:contextPath}"/>
-              <map:parameter name="use-request-parameters" value="true"/>
-              <map:parameter name="error" value="true"/>
-            </map:transform>
-            <map:call resource="style-cms-page"/>
-          </map:match>
-
-          <map:match pattern="remove" type="step">
-            <map:act type="task">
-              <map:parameter name="task-id" value="{request-param:task-id}"/>
-              <map:redirect-to session="true" uri="{request:requestURI}?lenya.usecase=info-assets&amp;lenya.step=showscreen&amp;lenya.area={request-param:lenya.area}"/>
-            </map:act>
-          </map:match>
-        </map:match>
-
         <!--Rollback-->
         <map:match pattern="rollback" type="usecase">
           



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


Mime
View raw message