You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by an...@apache.org on 2005/03/22 08:28:34 UTC

svn commit: r158568 - in cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules: forrestconf.xml menu.xml menu2content.xsl menu2navigation.xsl page.css properties.xml properties2html.xsl site2html.xsl sitemap.xmap

Author: antonio
Date: Mon Mar 21 23:28:07 2005
New Revision: 158568

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

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

Modified: cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/forrestconf.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/forrestconf.xml?view=diff&r1=158567&r2=158568
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/forrestconf.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/forrestconf.xml Mon Mar 21 23:28:07 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/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu.xml?view=diff&r1=158567&r2=158568
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu.xml Mon Mar 21 23:28:07 2005
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0"?>
 <!--
   Copyright 1999-2004 The Apache Software Foundation
 
@@ -14,7 +14,11 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
+<!--+
+    | Menu definition.
+    |
+    | SVN $Id$
+    +-->
 <book software="Apache Cocoon"
       title="Apache Cocoon Input Modules Samples"
       copyright="@year@ The Apache Software Foundation">
@@ -25,23 +29,23 @@
   </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">

Modified: cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu2content.xsl
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu2content.xsl?view=diff&r1=158567&r2=158568
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu2content.xsl (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu2content.xsl Mon Mar 21 23:28:07 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 36239 2004-08-11 18:28:06Z vgritsenko $
+    |
+    | SVN $Id: menu2content.xsl 36239 2004-08-11 18:28:06Z vgritsenko $
     +-->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 

Modified: cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu2navigation.xsl
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu2navigation.xsl?view=diff&r1=158567&r2=158568
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu2navigation.xsl (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/menu2navigation.xsl Mon Mar 21 23:28:07 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 36239 2004-08-11 18:28:06Z vgritsenko $
+    | Transforms menu.xml to the navigation bar.
+    |
+    | SVN $Id: menu2navigation.xsl 36239 2004-08-11 18:28:06Z vgritsenko $
     +-->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:param name="page" />

Modified: cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/page.css
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/page.css?view=diff&r1=158567&r2=158568
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/page.css (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/page.css Mon Mar 21 23:28:07 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/branches/BRANCH_2_1_X/src/webapp/samples/modules/properties.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/properties.xml?view=diff&r1=158567&r2=158568
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/properties.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/properties.xml Mon Mar 21 23:28:07 2005
@@ -18,7 +18,7 @@
 <!--+
     | Prints out all passed parameters.
     |
-    | $Id$
+    | SVN $Id$
     +-->
 <properties xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
   <jx:forEach var="name" items="${parameters.names}">

Modified: cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/properties2html.xsl
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/properties2html.xsl?view=diff&r1=158567&r2=158568
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/properties2html.xsl (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/properties2html.xsl Mon Mar 21 23:28:07 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/branches/BRANCH_2_1_X/src/webapp/samples/modules/site2html.xsl
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/site2html.xsl?view=diff&r1=158567&r2=158568
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/site2html.xsl (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/site2html.xsl Mon Mar 21 23:28:07 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/branches/BRANCH_2_1_X/src/webapp/samples/modules/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/sitemap.xmap?view=diff&r1=158567&r2=158568
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/sitemap.xmap (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/samples/modules/sitemap.xmap Mon Mar 21 23:28:07 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">