cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: rev 65533 - cocoon/trunk/src/blocks/cron/samples
Date Sat, 13 Nov 2004 23:07:07 GMT
Author: vgritsenko
Date: Sat Nov 13 15:07:07 2004
New Revision: 65533

Modified:
   cocoon/trunk/src/blocks/cron/samples/cron.xml
   cocoon/trunk/src/blocks/cron/samples/samples.xml
Log:
whitespace/clenup


Modified: cocoon/trunk/src/blocks/cron/samples/cron.xml
==============================================================================
--- cocoon/trunk/src/blocks/cron/samples/cron.xml	(original)
+++ cocoon/trunk/src/blocks/cron/samples/cron.xml	Sat Nov 13 15:07:07 2004
@@ -14,150 +14,147 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!-- CVS $Id: cron.xml,v 1.6 2004/07/11 19:47:56 antonio Exp $ -->
+
+<!-- CVS $Id$ -->
 <document xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
-    <body>
-        <row>
-            <column>
-                <section>
-                    <title>List of Cron Job scheduled</title>
-    
-                    <table border="1">
-                        <tr>
-                            <th>Entry name</th>
-                            <th>Job name</th>
-                            <th>Next scheduled run</th>
-                            <th>Is running</th>
-                            <th>The Schedule</th>
-                            <th>Action</th>
-                        </tr>
-                        <jx:forEach var="entry" items="${entries}">
-                            <tr>
-                                <td>${entry.name}</td>
-                                <td>${entry.jobName}</td>
-                                <td>${formatter.format(entry.nextTime)}</td>
-                                <td>
-                                    <jx:choose>
-                                        <jx:when test="${entry.isRunning() == true}">
-                                            <div style="color: red">${entry.isRunning()}</div>
-                                        </jx:when>
-                                        <jx:otherwise>
-                                            <div style="color: green">${entry.isRunning()}</div>
-                                        </jx:otherwise>
-                                    </jx:choose>
-                                </td>
-                                <td>${entry.schedule}</td>
-                                <td>
-                                    <a href="continue.${continuation.id}?action=remove&amp;name=${entry.name}">remove</a>
-                                </td>
-                            </tr>
-                        </jx:forEach>
-                    </table>
-                </section>
-            </column>
-        </row>
-        <row>
-            <column>
-                <section>
-                    <title>Manage Cron Jobs scheduled</title>
-                    <p>
-                        Here you can define new CronJobs based on the sample class
-                        org.apache.cocoon.components.cron.TestCronJob.
-                    </p>
-                    <form method="post" action="continue.${continuation.id}?action=add">
-                        <table>
-                            <tr>
-                                <td align="right">Name the new job should have:</td>
-                                <td><input name="jobname" size="10" value="${jobname}"/></td>
-                            </tr>
-                            <tr>
-                                <td align="right">Message the job should print into
the log:</td>
-                                <td><input name="message" size="40" value="${message}"/></td>
-                            </tr>
-                            <tr>
-                                <td align="right">The seconds the job should sleep
before finishing:</td>
-                                <td><input name="sleep" size="4" value="${sleep}"/></td>
-                            </tr>
-                            <tr>
-                                <td align="right">Call a pipeline:</td>
-                                <td><input name="pipeline" size="40" value="${pipeline}"/></td>
-                            </tr>                            
-                            <tr>
-                                <td align="right">
-                                    <p>Choose the type of triggering:</p>
-                                </td>
-                                <td>
-                                    <table border="1">
-                                        <tr>
-                                            <td>
-                                                <table>
-                                                    <tr>
-                                                        <td align="right">
-                                                            Enter a 
-                                                            <a href="http://quartz.sourceforge.net/javadoc/org/quartz/CronTrigger.html">
-                                                                Cron
-                                                            </a>
-                                                            expression:
-                                                        </td>
-                                                        <td>
-                                                            <input name="cronexpr" size="20"
value="${cronexpr}"/> 
-                                                        </td>
-                                                        <td>
-                                                            <input type="submit" name="cron"
value="Add Cron"/>
-                                                        </td>
-                                                    </tr>
-                                                    <tr>
-                                                        <td align="right">
-                                                            Enter the interval in seconds:
-                                                        </td>
-                                                        <td>
-                                                            <input name="intervalexpr"
size="4" value="${intervalexpr}"/> 
-                                                        </td>
-                                                        <td>
-                                                            <input type="submit" name="periodic"
value="Add Periodic"/>
-                                                        </td>
-                                                    </tr>
-                                                    <tr>
-                                                        <td align="right">
-                                                            Fire at yyyy-MM-dd HH:mm:ss
-                                                        </td>
-                                                        <td>
-                                                            <input name="atexpr" size="20"
value="${atexpr}"/> 
-                                                        </td>
-                                                        <td>
-                                                            <input type="submit" name="at"
value="Fire at"/>
-                                                        </td>
-                                                    </tr>
-                                                    <tr>
-                                                        <td align="right">
-                                                            Fire immediately
-                                                        </td>
-                                                        <td>&#160;</td>
-                                                        <td>
-                                                            <input type="submit" name="immediately"
value="Fire now"/>
-                                                        </td>
-                                                    </tr>
-                                                </table>
-                                            </td>
-                                        </tr>
-                                    </table>
-                                </td>
-                            </tr>
-                        </table>
-                    </form>
-                </section>
-            </column>
-        </row>
-        <row>
-            <column>
-                <section>
-                    <title>The Cron Scheduler Logfile</title>
-                    <p><a href="continue.${continuation.id}">refresh</a></p>
-                    <jx:forEach var="line" items="${log}">
-                        <code>${line}</code><br/>
-                    </jx:forEach>
-                </section>
-            </column>
-        </row>
-    </body>
+  <body>
+    <row>
+      <column>
+        <section>
+          <title>List of Cron Job scheduled</title>
+  
+          <table border="1">
+            <tr>
+              <th>Entry name</th>
+              <th>Job name</th>
+              <th>Next scheduled run</th>
+              <th>Is running</th>
+              <th>The Schedule</th>
+              <th>Action</th>
+            </tr>
+            <jx:forEach var="entry" items="${entries}">
+              <tr>
+                <td>${entry.name}</td>
+                <td>${entry.jobName}</td>
+                <td>${formatter.format(entry.nextTime)}</td>
+                <td>
+                  <jx:choose>
+                    <jx:when test="${entry.isRunning() == true}">
+                      <div style="color: red">${entry.isRunning()}</div>
+                    </jx:when>
+                    <jx:otherwise>
+                      <div style="color: green">${entry.isRunning()}</div>
+                    </jx:otherwise>
+                  </jx:choose>
+                </td>
+                <td>${entry.schedule}</td>
+                <td>
+                  <a href="continue.${continuation.id}?action=remove&amp;name=${entry.name}">remove</a>
+                </td>
+              </tr>
+            </jx:forEach>
+          </table>
+        </section>
+      </column>
+    </row>
+
+    <row>
+      <column>
+        <section>
+          <title>Manage Cron Jobs scheduled</title>
+          <p>
+            Here you can define new CronJobs based on the sample class
+            org.apache.cocoon.components.cron.TestCronJob.
+          </p>
+          <form method="post" action="continue.${continuation.id}?action=add">
+            <table>
+              <tr>
+                <td align="right">Name the new job should have:</td>
+                <td><input name="jobname" size="10" value="${jobname}"/></td>
+              </tr>
+              <tr>
+                <td align="right">Message the job should print into the log:</td>
+                <td><input name="message" size="40" value="${message}"/></td>
+              </tr>
+              <tr>
+                <td align="right">The seconds the job should sleep before finishing:</td>
+                <td><input name="sleep" size="4" value="${sleep}"/></td>
+              </tr>
+              <tr>
+                <td align="right">Call a pipeline:</td>
+                <td><input name="pipeline" size="40" value="${pipeline}"/></td>
+              </tr>                            
+              <tr>
+                <td align="right">
+                  <p>Choose the type of triggering:</p>
+                </td>
+                <td>
+                  <table style="border: 1px solid #336699;">
+                    <tr>
+                      <td align="right">
+                        Enter a 
+                        <a href="http://quartz.sourceforge.net/javadoc/org/quartz/CronTrigger.html">
+                          Cron
+                        </a>
+                        expression:
+                      </td>
+                      <td>
+                        <input name="cronexpr" size="20" value="${cronexpr}"/> 
+                      </td>
+                      <td>
+                        <input type="submit" name="cron" value="Add Cron"/>
+                      </td>
+                    </tr>
+                    <tr>
+                      <td align="right">
+                        Enter the interval in seconds:
+                      </td>
+                      <td>
+                        <input name="intervalexpr" size="4" value="${intervalexpr}"/>

+                      </td>
+                      <td>
+                        <input type="submit" name="periodic" value="Add Periodic"/>
+                      </td>
+                    </tr>
+                    <tr>
+                      <td align="right">
+                        Fire at yyyy-MM-dd HH:mm:ss
+                      </td>
+                      <td>
+                        <input name="atexpr" size="20" value="${atexpr}"/> 
+                      </td>
+                      <td>
+                        <input type="submit" name="at" value="Fire at"/>
+                      </td>
+                    </tr>
+                    <tr>
+                      <td align="right">
+                        Fire immediately
+                      </td>
+                      <td>&#160;</td>
+                      <td>
+                        <input type="submit" name="immediately" value="Fire now"/>
+                      </td>
+                    </tr>
+                  </table>
+                </td>
+              </tr>
+            </table>
+          </form>
+        </section>
+      </column>
+    </row>
+
+    <row>
+      <column>
+        <section>
+          <title>The Cron Scheduler Logfile</title>
+          <p><a href="continue.${continuation.id}">Refresh</a></p>
+          <jx:forEach var="line" items="${log}">
+            <code>${line}</code><br/>
+          </jx:forEach>
+        </section>
+      </column>
+    </row>
+  </body>
 </document>

Modified: cocoon/trunk/src/blocks/cron/samples/samples.xml
==============================================================================
--- cocoon/trunk/src/blocks/cron/samples/samples.xml	(original)
+++ cocoon/trunk/src/blocks/cron/samples/samples.xml	Sat Nov 13 15:07:07 2004
@@ -15,32 +15,28 @@
   limitations under the License.
 -->
 
-<!-- CVS: $Id: samples.xml,v 1.6 2004/04/05 12:25:34 antonio Exp $ -->
+<!-- CVS: $Id$ -->
 
 <samples xmlns:xlink="http://www.w3.org/1999/xlink" name="Cron Block Samples">
 
-    <group name="Back">
-        <sample name="Back" href="../..">to Cocoon Samples main page</sample>
-        <sample name="Back" href="..">to Cocoon Blocks Samples main page</sample>
-    </group>
+  <group name="Back">
+    <sample name="Back" href="../..">to Cocoon Samples main page</sample>
+    <sample name="Back" href="..">to Cocoon Blocks Samples main page</sample>
+  </group>
 
-    <group name="Documentation">
-        <note>
-            The Cron component/block is a utility component to manage execute immediate,
-            once at some future time, and periodic execution of a Java class or Avalon Component.
-        </note>
-        <sample name="Cron Component documentation" href="docs.html">
-            Documentation for the Cron component.
-        </sample>
-    </group>
+  <group name="Documentation">
+    <note>
+      The Cron component/block is a utility component to manage execute immediate,
+      once at some future time, and periodic execution of a Java class or Avalon Component.
+    </note>
+    <sample name="Cron Component documentation" href="docs.html">
+      Documentation for the Cron component.
+    </sample>
+  </group>
 
-    <group name="Cron Sample">
-        <sample name="Cron" href="cron.html" xlink:role="dynamic">
-            Cron samples.
-        </sample>
-    </group>
-
-    <group name="">
-    </group>
-  
+  <group name="Cron Sample">
+    <sample name="Cron" href="cron.html" xlink:role="dynamic">
+      Cron samples.
+    </sample>
+  </group>
 </samples>

Mime
View raw message