You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jo...@apache.org on 2006/07/06 13:27:21 UTC

svn commit: r419523 - in /lenya/trunk/src/modules-core/administration: sitemap.xmap usecases/serverStatus.jx usecases/usecase.xmap

Author: josias
Date: Thu Jul  6 04:27:21 2006
New Revision: 419523

URL: http://svn.apache.org/viewvc?rev=419523&view=rev
Log:
applied patch by Oliver Schalch to fix the server status tab in the admin area. fixes bug #39978

Added:
    lenya/trunk/src/modules-core/administration/sitemap.xmap   (with props)
Removed:
    lenya/trunk/src/modules-core/administration/usecases/usecase.xmap
Modified:
    lenya/trunk/src/modules-core/administration/usecases/serverStatus.jx

Added: lenya/trunk/src/modules-core/administration/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/sitemap.xmap?rev=419523&view=auto
==============================================================================
--- lenya/trunk/src/modules-core/administration/sitemap.xmap (added)
+++ lenya/trunk/src/modules-core/administration/sitemap.xmap Thu Jul  6 04:27:21 2006
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: admin.xmap 160670 2005-04-09 09:12:12Z andreas $ -->
+
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+  <map:pipelines>
+    <map:pipeline>
+
+      <map:match pattern="status.xml">
+        <map:generate src="status" type="status"/>
+        <map:transform src="fallback://lenya/xslt/admin/status2html.xsl">
+          <map:parameter name="contextPath" value="{request:contextPath}"/>
+        </map:transform>
+        <map:serialize type="xml"/>
+      </map:match>
+    
+    </map:pipeline>
+  </map:pipelines>
+  
+</map:sitemap>
\ No newline at end of file

Propchange: lenya/trunk/src/modules-core/administration/sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: lenya/trunk/src/modules-core/administration/usecases/serverStatus.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/serverStatus.jx?rev=419523&r1=419522&r2=419523&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/serverStatus.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/serverStatus.jx Thu Jul  6 04:27:21 2006
@@ -30,7 +30,7 @@
       <jx:import uri="fallback://lenya/usecases/templates/messages.jx"/>
       
       <cinclude:includexml>
-        <cinclude:src>cocoon://core/admin/status.xml</cinclude:src>
+        <cinclude:src>cocoon://modules/administration/status.xml</cinclude:src>
       </cinclude:includexml>
       
     </div>



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