cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r158574 - in cocoon/trunk/src/webapp/samples/modules: forrestconf.xml menu.xml menu2content.xsl menu2navigation.xsl page.css properties.xml properties2html.xsl site2html.xsl sitemap.xmap
Date Tue, 22 Mar 2005 07:49:40 GMT
Author: antonio
Date: Mon Mar 21 23:49:06 2005
New Revision: 158574

URL: http://svn.apache.org/viewcvs?view=rev&rev=158574
Log:
Remove trailing spaces, add SVN Id tags and comments, order the alphabetically the demo menu

Modified:
    cocoon/trunk/src/webapp/samples/modules/forrestconf.xml
    cocoon/trunk/src/webapp/samples/modules/menu.xml
    cocoon/trunk/src/webapp/samples/modules/menu2content.xsl
    cocoon/trunk/src/webapp/samples/modules/menu2navigation.xsl
    cocoon/trunk/src/webapp/samples/modules/page.css
    cocoon/trunk/src/webapp/samples/modules/properties.xml
    cocoon/trunk/src/webapp/samples/modules/properties2html.xsl
    cocoon/trunk/src/webapp/samples/modules/site2html.xsl
    cocoon/trunk/src/webapp/samples/modules/sitemap.xmap

Modified: cocoon/trunk/src/webapp/samples/modules/forrestconf.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/samples/modules/forrestconf.xml?view=diff&r1=158573&r2=158574
==============================================================================
--- cocoon/trunk/src/webapp/samples/modules/forrestconf.xml (original)
+++ cocoon/trunk/src/webapp/samples/modules/forrestconf.xml Mon Mar 21 23:49:06 2005
@@ -14,6 +14,11 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<!--+
+    | Demo file for XMLFileModule
+    |
+    | SVN $Id$
+    +-->
 <forrestconf version="1.0">
   <skin>forrest-site</skin>
   <base-url>http://localhost:8787/cocoon</base-url>

Modified: cocoon/trunk/src/webapp/samples/modules/menu.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/samples/modules/menu.xml?view=diff&r1=158573&r2=158574
==============================================================================
--- cocoon/trunk/src/webapp/samples/modules/menu.xml (original)
+++ cocoon/trunk/src/webapp/samples/modules/menu.xml Mon Mar 21 23:49:06 2005
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0"?>
 <!--
   Copyright 1999-2004 The Apache Software Foundation
 
@@ -14,44 +14,48 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
-<book software="Apache Cocoon" 
-      title="Apache Cocoon Input Modules Samples" 
+<!--+
+    | Menu definition.
+    |
+    | SVN $Id$
+    +-->
+<book software="Apache Cocoon"
+      title="Apache Cocoon Input Modules Samples"
       copyright="@year@ The Apache Software Foundation">
 
   <menu label="Overview">
     <menu-item label="Index" href="index.html"/>
-    <menu-item label="Sitemap" href="sitemap.xmap"/>    
-  </menu>  
- 
+    <menu-item label="Sitemap" href="sitemap.xmap"/>
+  </menu>
+
   <menu label="Modules">
-    <menu-item label="RequestModule" href="request.html" desc="Request object properties"/>
     <menu-item label="BaseLinkModule" href="baselink.html" desc="BaseLink properties"/>
-    <menu-item label="RequestParameterModule" href="requestparam.html" desc="Request parameters"/>
+    <menu-item label="ChainMetaModule" href="chain.html" desc="Chained values"/>
     <menu-item label="DateInputModule" href="date.html" desc="Date"/>
     <menu-item label="DefaultsModule" href="defaults.html" desc="Default (static) values"/>
+    <menu-item label="GlobalInputModule" href="global.html" desc="Access to the global
variables defined in the sitemap."/>
+    <menu-item label="NamingInputModule" href="naming.html" desc="JNDI Resources. This
sample does not work with built-in Jetty as it does not provide JNDI."/>
+    <menu-item label="PropertiesFileModule" href="properties.html" desc="Properties file
values"/>
+    <menu-item label="RandomNumberModule" href="randomnumber.html" desc="Random number"/>
+    <menu-item label="RealPathModule" href="realpath.html" desc="Real filesystem paths
of context paths"/>
+    <menu-item label="RequestModule" href="request.html" desc="Request object properties"/>
+    <menu-item label="RequestParameterModule" href="requestparam.html" desc="Request parameters"/>
     <menu-item label="SessionModule" href="session.html" desc="Session object properties"/>
     <menu-item label="SessionAttributeModule" href="session-attr.html" desc="Session attributes"/>
     <menu-item label="SystemPropertyModule" href="system-property.html" desc="System properties
(environment variables)"/>
-    <menu-item label="XMLFileModule" href="xml.html" desc="XML node values"/>
-    <menu-item label="ChainMetaModule" href="chain.html" desc="Chained values"/>
-    <menu-item label="RandomNumberModule" href="randomnumber.html" desc="Random number"/>
-    <menu-item label="RealPathModule" href="realpath.html" desc="Real filesystem paths
of context paths"/>
-    <menu-item label="PropertiesFileModule" href="properties.html" desc="Properties file
values"/>
     <menu-item label="URLEncodeModule" href="url-encode.html" desc="URLEncode passed parameter"/>
     <menu-item label="URLDecodeModule" href="url-decode.html" desc="URLDecode passed parameter"/>
-    <menu-item label="NamingInputModule" href="naming.html" desc="JNDI Resources. This
sample does not work with built-in Jetty as it does not provide JNDI."/>
-    <menu-item label="GlobalInputModule" href="global.html" desc="Access to the global
variables defined in the sitemap."/>
+    <menu-item label="XMLFileModule" href="xml.html" desc="XML node values"/>
   </menu>
 
   <menu label="Documentation">
-    <external label="Input Modules Docs" href="../../docs/userdocs/concepts/modules.html"/>
  
-    <external label="API Docs" href="../../api/java/org/apache/cocoon/components/modules/input/package-summary.html"/>
  
+    <external label="Input Modules Docs" href="../../docs/userdocs/concepts/modules.html"/>
+    <external label="API Docs" href="../../api/java/org/apache/cocoon/components/modules/input/package-summary.html"/>
   </menu>
-  
+
   <menu label="Credits">
-    <menu-item label="Christian Haul" href="mailto:haul@apache.org"/> 
-    <menu-item label="Konstantin Piroumian" href="mailto:kpiroumian@apache.org"/> 

-    <menu-item label="Many others..." href="/docs/who.html"/>      
-  </menu>  
+    <menu-item label="Christian Haul" href="mailto:haul@apache.org"/>
+    <menu-item label="Konstantin Piroumian" href="mailto:kpiroumian@apache.org"/>
+    <menu-item label="Many others..." href="/docs/who.html"/>
+  </menu>
 </book>

Modified: cocoon/trunk/src/webapp/samples/modules/menu2content.xsl
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/samples/modules/menu2content.xsl?view=diff&r1=158573&r2=158574
==============================================================================
--- cocoon/trunk/src/webapp/samples/modules/menu2content.xsl (original)
+++ cocoon/trunk/src/webapp/samples/modules/menu2content.xsl Mon Mar 21 23:49:06 2005
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0"?>
 <!--
   Copyright 1999-2004 The Apache Software Foundation
 
@@ -17,7 +17,8 @@
 
 <!--+
     | Transforms menu.xml to the index page
-    | CVS $Id: menu2content.xsl,v 1.1 2004/06/16 20:00:07 vgritsenko Exp $
+    |
+    | SVN $Id$
     +-->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
@@ -28,7 +29,7 @@
         <tr>
           <td>
             <h3>Input Modules</h3>
-            <p>Modules are used to access input and output data in 
+            <p>Modules are used to access input and output data in
                modular way. Below there are samples for some of the
                available input modules.
             </p>

Modified: cocoon/trunk/src/webapp/samples/modules/menu2navigation.xsl
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/samples/modules/menu2navigation.xsl?view=diff&r1=158573&r2=158574
==============================================================================
--- cocoon/trunk/src/webapp/samples/modules/menu2navigation.xsl (original)
+++ cocoon/trunk/src/webapp/samples/modules/menu2navigation.xsl Mon Mar 21 23:49:06 2005
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0"?>
 <!--
   Copyright 1999-2004 The Apache Software Foundation
 
@@ -16,8 +16,9 @@
 -->
 
 <!--+
-    | Transforms menu.xml to the navigation bar
-    | CVS $Id: menu2navigation.xsl,v 1.1 2004/06/16 20:00:07 vgritsenko Exp $
+    | Transforms menu.xml to the navigation bar.
+    |
+    | SVN $Id$
     +-->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:param name="page" />

Modified: cocoon/trunk/src/webapp/samples/modules/page.css
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/samples/modules/page.css?view=diff&r1=158573&r2=158574
==============================================================================
--- cocoon/trunk/src/webapp/samples/modules/page.css (original)
+++ cocoon/trunk/src/webapp/samples/modules/page.css Mon Mar 21 23:49:06 2005
@@ -13,6 +13,11 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
+/*
+  * CSS for Input Modules Demo
+  *
+  * SVN $Id: menu2content.xsl 36239 2004-08-11 18:28:06Z vgritsenko $
+  */
 body {  background-color: #FFFFFF; margin: 0px 0px 0px 0px; font-size: 10px; font-family:
Verdana, Arial, Helvetica, sans-serif}
 form { margin: 0px; padding: 0px; border: 0px; }
 ul,ol { margin: 10px 5px 10px 40px; padding: 0px; }

Modified: cocoon/trunk/src/webapp/samples/modules/properties.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/samples/modules/properties.xml?view=diff&r1=158573&r2=158574
==============================================================================
--- cocoon/trunk/src/webapp/samples/modules/properties.xml (original)
+++ cocoon/trunk/src/webapp/samples/modules/properties.xml Mon Mar 21 23:49:06 2005
@@ -18,7 +18,7 @@
 <!--+
     | Prints out all passed parameters.
     |
-    | $Id: properties.xml,v 1.3 2004/06/16 20:00:07 vgritsenko Exp $
+    | SVN $Id$
     +-->
 <properties xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
   <jx:forEach var="name" items="${parameters.names}">

Modified: cocoon/trunk/src/webapp/samples/modules/properties2html.xsl
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/samples/modules/properties2html.xsl?view=diff&r1=158573&r2=158574
==============================================================================
--- cocoon/trunk/src/webapp/samples/modules/properties2html.xsl (original)
+++ cocoon/trunk/src/webapp/samples/modules/properties2html.xsl Mon Mar 21 23:49:06 2005
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0"?>
 <!--
   Copyright 1999-2004 The Apache Software Foundation
 
@@ -14,6 +14,11 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<!--+
+    | Transforms properties.xml to result page.
+    |
+    | SVN $Id$
+    +-->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
 <xsl:param name="title">Input Module</xsl:param>
@@ -24,7 +29,7 @@
     <title><xsl:value-of select="$title"/></title>
     <table class="content">
         <tr>
-            <td>    
+            <td>
                 <h3><xsl:value-of select="$title"/></h3>
                 <p><xsl:value-of select="$description"/></p>
                 <xsl:apply-templates />
@@ -38,7 +43,7 @@
     <table class="table">
         <tr>
             <th>Accessor</th>
-            <th>Value</th>            
+            <th>Value</th>
         </tr>
         <xsl:apply-templates>
             <xsl:sort select="name" />
@@ -51,7 +56,7 @@
         <td><xsl:value-of select="name"/></td>
         <td>
             <xsl:value-of select="value"/>&#160;
-        </td>    
+        </td>
     </tr>
 </xsl:template>
 

Modified: cocoon/trunk/src/webapp/samples/modules/site2html.xsl
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/samples/modules/site2html.xsl?view=diff&r1=158573&r2=158574
==============================================================================
--- cocoon/trunk/src/webapp/samples/modules/site2html.xsl (original)
+++ cocoon/trunk/src/webapp/samples/modules/site2html.xsl Mon Mar 21 23:49:06 2005
@@ -14,6 +14,11 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<!--+
+    | Transforms to HTML page.
+    |
+    | SVN $Id$
+    +-->
 <!DOCTYPE html [
 <!ENTITY nbsp "&#160;">
 <!ENTITY copy "&#0169;">
@@ -36,10 +41,10 @@
         <table class="path">
           <tr>
             <td>
-              <a href="../../">Apache Cocoon Main</a>&#160;&gt;&#160;<a
href="../">Samples</a>&#160;&gt;&#160;<a href="./">Modules</a>&#160;&gt;&#160;<span
class="current"><xsl:value-of select="page/title"/></span>                
       
+              <a href="../../">Apache Cocoon Main</a>&#160;&gt;&#160;<a
href="../">Samples</a>&#160;&gt;&#160;<a href="./">Modules</a>&#160;&gt;&#160;<span
class="current"><xsl:value-of select="page/title"/></span>
             </td>
           </tr>
-        </table>            
+        </table>
         <table class="topline"><tr><td>&#160;</td></tr></table>
         <table cellspacing="0" cellpadding="0" summary="content pane">
           <tr>
@@ -64,7 +69,7 @@
         <table>
           <tr>
             <td class="copyright">
-              Copyright (c) 1999-2004 <a href="http://www.apache.org/">Apache Software
Foundation</a>. All Rights Reserved.
+              Copyright (c) 1999-2004 <a href="http://www.apache.org/">The Apache Software
Foundation</a>. All Rights Reserved.
             </td>
           </tr>
         </table>

Modified: cocoon/trunk/src/webapp/samples/modules/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/webapp/samples/modules/sitemap.xmap?view=diff&r1=158573&r2=158574
==============================================================================
--- cocoon/trunk/src/webapp/samples/modules/sitemap.xmap (original)
+++ cocoon/trunk/src/webapp/samples/modules/sitemap.xmap Mon Mar 21 23:49:06 2005
@@ -19,7 +19,7 @@
     | Input Modules sample sitemap.
     | Author: Konstantin Piroumian "kpiroumian@apache.org"
     |
-    | $Id$
+    | SVN $Id$
     +-->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 



Mime
View raw message