You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by pi...@apache.org on 2004/08/25 17:18:32 UTC

svn commit: rev 36857 - in cocoon/branches/BRANCH_2_1_X/src: documentation/xdocs/userdocs/generators java/org/apache/cocoon/generation

Author: pier
Date: Wed Aug 25 08:18:30 2004
New Revision: 36857

Modified:
   cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/generators/directory-generator.xml
   cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/DirectoryGenerator.java
Log:
Documentation Fix thanks to Jorg Heymans <jh...@domek.be>

Modified: cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/generators/directory-generator.xml
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/generators/directory-generator.xml	(original)
+++ cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/generators/directory-generator.xml	Wed Aug 25 08:18:30 2004
@@ -77,7 +77,7 @@
             the file system. So this option influences the caching of the directory listing.</li>
         <li>sort: Sets the sort order in which the <code>file</code> and <code>directory</code>
             nodes are returned. Possible values are <code>name</code>, <code>size</code>,
-            <code>time</code> and <code>directory</code> (where <code>directory</code> is the same
+            <code>lastmodified</code> and <code>directory</code> (where <code>directory</code> is the same
             as <code>name</code>, except that directory entries are listed first). The default sort
             order is <code>name</code>.</li>
         <li>reverse: Reverses the sort order, defaults to <code>false</code>.</li>

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/DirectoryGenerator.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/DirectoryGenerator.java	(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/DirectoryGenerator.java	Wed Aug 25 08:18:30 2004
@@ -110,7 +110,7 @@
     protected long refreshDelay;
     /**
      * The sort parameter determines by which attribute the content of one
-     * directory should be sorted. Possible values are "name", "size", "time"
+     * directory should be sorted. Possible values are "name", "size", "lastmodified"
      * and "directory", where "directory" is the same as "name", except that
      * directory entries are listed first.
      */