continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r366450 - in /maven/continuum/trunk/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/ resources/ resources/META-INF/plexus/ resources/localization/ webapp/ webapp/navigations/
Date Fri, 06 Jan 2006 08:17:58 GMT
Author: evenisse
Date: Fri Jan  6 00:17:41 2006
New Revision: 366450

URL: http://svn.apache.org/viewcvs?rev=366450&view=rev
Log:
Add schedule screens
PR: CONTINUUM-175
Submitted by: Nick Gonzalez

Added:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddScheduleAction.java
  (with props)
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/EditScheduleAction.java
  (with props)
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
  (with props)
    maven/continuum/trunk/continuum-webapp/src/main/webapp/addSchedule.jsp   (with props)
    maven/continuum/trunk/continuum-webapp/src/main/webapp/editSchedule.jsp   (with props)
    maven/continuum/trunk/continuum-webapp/src/main/webapp/schedules.jsp   (with props)
Modified:
    maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/components.xml
    maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
    maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml
    maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/Menu.jsp

Added: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddScheduleAction.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddScheduleAction.java?rev=366450&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddScheduleAction.java
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddScheduleAction.java
Fri Jan  6 00:17:41 2006
@@ -0,0 +1,106 @@
+package org.apache.maven.continuum.web.action;
+
+/*
+ * Copyright 2004-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.
+ */
+
+import org.apache.maven.continuum.Continuum;
+import org.apache.maven.continuum.ContinuumException;
+import org.apache.maven.continuum.model.project.Schedule;
+
+import com.opensymphony.xwork.ActionSupport;
+
+/**
+ * @author Nik Gonzalez
+ */
+public class AddScheduleAction
+    extends ActionSupport
+{
+    private Continuum continuum;
+
+    private int scheduleId;
+
+    private boolean active;
+
+    private String cronExpression;
+
+    private int delay;
+
+    private String description;
+
+    private String name;
+
+    public String execute()
+        throws Exception
+    {
+        try
+        {
+            Schedule schedule = new Schedule();
+            schedule.setActive( active );
+            schedule.setCronExpression( cronExpression );
+            schedule.setDelay( delay );
+            schedule.setDescription( description );
+            schedule.setName( name );
+
+            continuum.addSchedule( schedule );
+        }
+        catch ( ContinuumException e )
+        {
+            e.printStackTrace();
+        }
+        return SUCCESS;
+    }
+
+    public String doDefault()
+    {
+        return INPUT;
+    }
+
+    public void setActive( boolean active )
+    {
+        this.active = active;
+    }
+
+    public void setContinuum( Continuum continuum )
+    {
+        this.continuum = continuum;
+    }
+
+    public void setCronExpression( String cronExpression )
+    {
+        this.cronExpression = cronExpression;
+    }
+
+    public void setDelay( int delay )
+    {
+        this.delay = delay;
+    }
+
+    public void setDescription( String description )
+    {
+        this.description = description;
+    }
+
+    public void setName( String name )
+    {
+        this.name = name;
+    }
+
+    public void setScheduleId( int scheduleId )
+    {
+        this.scheduleId = scheduleId;
+    }
+
+}

Propchange: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddScheduleAction.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddScheduleAction.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/EditScheduleAction.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/EditScheduleAction.java?rev=366450&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/EditScheduleAction.java
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/EditScheduleAction.java
Fri Jan  6 00:17:41 2006
@@ -0,0 +1,179 @@
+package org.apache.maven.continuum.web.action;
+
+/*
+ * Copyright 2004-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.
+ */
+
+import org.apache.maven.continuum.Continuum;
+import org.apache.maven.continuum.ContinuumException;
+import org.apache.maven.continuum.model.project.Schedule;
+
+import com.opensymphony.xwork.ActionSupport;
+
+/**
+ * @author Nik Gonzalez
+ */
+public class EditScheduleAction
+    extends ActionSupport
+{
+
+    private Continuum continuum;
+
+    private Schedule schedule;
+
+    private int id;
+
+    private boolean active;
+
+    private String cronExpression;
+
+    private int delay;
+
+    private String description;
+
+    private String name;
+
+    public String execute()
+        throws Exception
+    {
+        try
+        {
+            schedule = continuum.getSchedule( id );
+
+        }
+        catch ( ContinuumException e )
+        {
+            e.printStackTrace();
+        }
+        schedule.setActive( active );
+        schedule.setCronExpression( cronExpression );
+        schedule.setDelay( delay );
+        schedule.setDescription( description );
+        schedule.setName( name );
+
+        try
+        {
+            continuum.updateSchedule( schedule );
+        }
+        catch ( ContinuumException e )
+        {
+            // TODO Auto-generated catch block
+            e.printStackTrace();
+        }
+        return SUCCESS;
+    }
+
+    public String doEdit()
+        throws Exception
+    {
+        try
+        {
+            schedule = continuum.getSchedule( id );
+        }
+        catch ( ContinuumException e )
+        {
+            e.printStackTrace();
+        }
+
+        active = schedule.isActive();
+        cronExpression = schedule.getCronExpression();
+        delay = schedule.getDelay();
+        description = schedule.getDescription();
+        name = schedule.getName();
+
+        return INPUT;
+    }
+
+    public void setActive( boolean active )
+    {
+        this.active = active;
+    }
+
+    public void setCronExpression( String cronExpression )
+    {
+        this.cronExpression = cronExpression;
+    }
+
+    public void setDelay( int delay )
+    {
+        this.delay = delay;
+    }
+
+    public void setDescription( String description )
+    {
+        this.description = description;
+    }
+
+    public void setName( String name )
+    {
+        this.name = name;
+    }
+
+    public void setId( int id )
+    {
+        this.id = id;
+    }
+
+    public Continuum getContinuum()
+    {
+        return continuum;
+    }
+
+    public void setContinuum( Continuum continuum )
+    {
+        this.continuum = continuum;
+    }
+
+    public Schedule getSchedule()
+    {
+        return schedule;
+    }
+
+    public void setSchedule( Schedule schedule )
+    {
+        this.schedule = schedule;
+    }
+
+    public boolean isActive()
+    {
+        return active;
+    }
+
+    public String getCronExpression()
+    {
+        return cronExpression;
+    }
+
+    public int getDelay()
+    {
+        return delay;
+    }
+
+    public String getDescription()
+    {
+        return description;
+    }
+
+    public String getName()
+    {
+        return name;
+    }
+
+    public int getId()
+    {
+        return id;
+    }
+
+}

Propchange: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/EditScheduleAction.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/EditScheduleAction.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java?rev=366450&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
Fri Jan  6 00:17:41 2006
@@ -0,0 +1,57 @@
+package org.apache.maven.continuum.web.action;
+
+/*
+ * Copyright 2004-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.
+ */
+
+import java.util.Collection;
+
+import org.apache.maven.continuum.Continuum;
+import org.apache.maven.continuum.ContinuumException;
+
+import com.opensymphony.xwork.ActionSupport;
+
+/**
+ * @author Nik Gonzalez
+ */
+public class ScheduleAction
+    extends ActionSupport
+{
+
+    private Continuum continuum;
+
+    private Collection schedules;
+
+    public String execute()
+        throws Exception
+    {
+        try
+        {
+            schedules = continuum.getSchedules();
+        }
+        catch ( ContinuumException e )
+        {
+            e.printStackTrace();
+        }
+
+        return SUCCESS;
+    }
+
+    public Collection getSchedules()
+    {
+        return schedules;
+    }
+
+}

Propchange: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/components.xml?rev=366450&r1=366449&r2=366450&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/components.xml
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/components.xml
Fri Jan  6 00:17:41 2006
@@ -252,6 +252,39 @@
         </requirement>
       </requirements>
     </component>
+    <component>
+      <role>com.opensymphony.xwork.Action</role>
+      <role-hint>schedules</role-hint>
+      <implementation>org.apache.maven.continuum.web.action.ScheduleAction</implementation>
+      <instantiation-strategy>per-lookup</instantiation-strategy>
+      <requirements>
+        <requirement>
+          <role>org.apache.maven.continuum.Continuum</role>
+        </requirement>
+      </requirements>
+    </component>
+    <component>
+      <role>com.opensymphony.xwork.Action</role>
+      <role-hint>addSchedule</role-hint>
+      <implementation>org.apache.maven.continuum.web.action.AddScheduleAction</implementation>
+      <instantiation-strategy>per-lookup</instantiation-strategy>
+      <requirements>
+        <requirement>
+          <role>org.apache.maven.continuum.Continuum</role>
+        </requirement>
+      </requirements>
+    </component>
+    <component>
+      <role>com.opensymphony.xwork.Action</role>
+      <role-hint>editSchedule</role-hint>
+      <implementation>org.apache.maven.continuum.web.action.EditScheduleAction</implementation>
+      <instantiation-strategy>per-lookup</instantiation-strategy>
+      <requirements>
+        <requirement>
+          <role>org.apache.maven.continuum.Continuum</role>
+        </requirement>
+      </requirements>
+    </component>
 
     <!--
      | Components

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties?rev=366450&r1=366449&r2=366450&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
Fri Jan  6 00:17:41 2006
@@ -36,6 +36,7 @@
 menu.add.shellProject = Shell Project
 menu.administration = Administration
 menu.administration.configuration = Configuration
+menu.administration.schedules = Schedules
 
 // ----------------------------------------------------------------------
 // Page: About
@@ -279,3 +280,32 @@
 // ----------------------------------------------------------------------
 workingCopy.page.title = Continuum - Working Copy
 workingCopy.section.title = Working Copy for {0}
+
+// ----------------------------------------------------------------------
+// Page: Schedules
+// ----------------------------------------------------------------------
+schedules.page.title = Continuum - Schedules
+schedules.section.title = Schedules
+schedules.table.name = Name
+schedules.table.description = Description
+schedules.table.delay = Quiet Period
+schedules.table.cronExpression = Cron Expression
+
+// ----------------------------------------------------------------------
+// Page: Add/EditSchedule
+// ----------------------------------------------------------------------
+
+addSchedule.page.title=Continuum - Add Schedule
+addSchedule.section.title=Add Schedule
+editSchedule.page.title=Continuum - Edit Schedule
+editSchedule.section.title=Edit Schedule
+schedule.name.label=Name
+schedule.name.message=Enter the name of the schedule
+schedule.description.label=Description
+schedule.description.message=Enter a description of the schedule
+schedule.cronExpression.label=Cron Expression
+schedule.cronExpression.message=Enter the cron expression. Format is described there : <a
href="http://www.opensymphony.com/quartz/api/org/quartz/CronTrigger.html" target="_blank">Syntax<a>
+schedule.quietPeriod.labelQuiet=Period (seconds)
+schedule.quietPeriod.message=Enter a quiet period period for this schedule
+schedule.enabled.label=Enabled
+schedule.enabled.message=Enable/Disable the schedule

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml?rev=366450&r1=366449&r2=366450&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml Fri Jan  6 00:17:41
2006
@@ -200,5 +200,22 @@
                 class="workingCopy">
             <result name="success">workingCopy.jsp</result>
         </action>
+
+        <action name="schedules"
+                class="schedules">
+            <result name="success">schedules.jsp</result>
+        </action>
+
+        <action name="addSchedule"
+                class="addSchedule">
+            <result name="input">addSchedule.jsp</result>
+            <result name="success" type="chain">schedules</result>
+        </action>
+
+        <action name="editSchedule"
+                class="editSchedule">
+            <result name="input">editSchedule.jsp</result>
+            <result name="success" type="chain">schedules</result>
+        </action>
     </package>
 </xwork>

Added: maven/continuum/trunk/continuum-webapp/src/main/webapp/addSchedule.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/addSchedule.jsp?rev=366450&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/addSchedule.jsp (added)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/addSchedule.jsp Fri Jan  6 00:17:41
2006
@@ -0,0 +1,70 @@
+<%@ taglib uri="webwork" prefix="ww" %>
+<html>
+  <ww:i18n name="localization.Continuum">
+<head>
+<title><ww:text name="addSchedule.page.title"/></title>
+</head>
+<body>
+<div class="app">
+  <div id="axial" class="h3">
+    <h3><ww:text name="addSchedule.section.title"/></h3>
+    <form method="post" action="addSchedule.action">
+      <div class="axial">
+        <table border="1" cellspacing="2" cellpadding="3" width="100%">
+          <tr>
+            <th><ww:text name="schedule.name.label"/></th>
+            <td >
+            <input type="text" name="name" size="100"/>
+            <p>
+            <ww:text name="schedule.name.message"/>
+            </p>
+            </td>
+          </tr>
+          <tr>
+            <th><ww:text name="schedule.description.label"/></th>
+            <td >
+            <input type="text" name="description" size="100"/>
+            <p>
+            <ww:text name="schedule.description.message"/>
+            </p>
+            </td>
+          </tr>
+          <tr>
+            <th><ww:text name="schedule.cronExpression.label"/></th>
+            <td >
+            <input type="text" name="cronExpression" size="100"/>
+            <p>
+            <ww:text name="schedule.cronExpression.message"/>
+            </p>
+            </td>
+          </tr>
+          <tr>
+            <th><ww:text name="schedule.delay.label"/></th>
+            <td >
+            <input type="text" name="delay" size="100"/>
+            <p>
+            <ww:text name="schedule.edit.message"/>
+            </p>
+            </td>
+          </tr>
+          <tr>
+            <th><ww:text name="schedule.enabled.label"/></th>
+            <td >
+            <input type="checkbox" name="active" value="true"/>
+            <p>
+            <ww:text name="schedule.enabled.message"/>
+            </p>
+            </td>
+          </tr>
+        </table>
+        <div class="functnbar3">
+          <input type="submit" value="Submit"/>
+          <input type="button" value="Cancel" onClick="history.back()"/>
+        </div>
+      </div>
+    </form>
+  </div>
+</div>
+</body>
+</ww:i18n>
+</html>
\ No newline at end of file

Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/addSchedule.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/addSchedule.jsp
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp/src/main/webapp/editSchedule.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/editSchedule.jsp?rev=366450&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/editSchedule.jsp (added)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/editSchedule.jsp Fri Jan  6 00:17:41
2006
@@ -0,0 +1,72 @@
+<%@ taglib uri="webwork" prefix="ww" %>
+<html>
+  <ww:i18n name="localization.Continuum">
+<head>
+<title><ww:text name="editSchedule.page.title"/></title>              
+</head>
+<body>
+<div class="app">
+  <div id="axial" class="h3">
+    <h3><ww:text name="editSchedule.page.title"/></h3>
+    <form method="post" action="editSchedule.action">
+      <input type="hidden" name="id" value="<ww:property value="id"/>"/>
+      <div class="axial">
+        <table border="1" cellspacing="2" cellpadding="3" width="100%">
+          <tr>
+            <th><ww:text name="schedule.name.label"/></th>
+            <td >
+            <input type="text" name="name" value="<ww:property value="name"/>" size="100"/>
+            <p>
+            <ww:text name="schedule.name.message"/>
+            </p>
+            </td>
+          </tr>
+          <tr>
+            <th><ww:text name="schedule.description.label"/></th>
+            <td >
+            <input type="text" name="description" value="<ww:property value="description"/>"
size="100"/>
+            <p>
+            <ww:text name="schedule.description.message"/>
+            </p>
+            </td>
+          </tr>
+          <tr>
+            <th><ww:text name="schedule.cronExpression.label"/></th>
+            <td >
+            <input type="text" name="cronExpression" value="<ww:property value="cronExpression"/>"
size="100"/>
+            <p>
+            <ww:text name="schedule.cronExpression.message"/>
+            </p>
+            </td>
+          </tr>
+          <tr>
+            <th><ww:text name="schedule.delay.label"/></th>
+            <td >
+            <input type="text" name="delay" value="<ww:property value="delay"/>"
size="100"/>
+            <p>
+            <ww:text name="schedule.delay.message"/>
+            </p>
+            </td>
+          </tr>
+          <tr>
+            <th><ww:text name="schedule.enabled.label"/></th>
+            <td >
+            <input type="checkbox" name="active" value="true" <ww:if test="active">checked</ww:if>
/>
+            <p>
+            <ww:text name="schedule.enabled.message"/>
+            </p>
+            </td>
+          </tr>
+        </table>
+        <div class="functnbar3">
+          <input type="submit" value="Submit"/>
+          <input type="button" value="Cancel" onClick="history.back()"/>
+        </div>
+      </div>
+    </form>
+  </div>
+</div>
+
+</body>
+</ww:i18n>
+</html>
\ No newline at end of file

Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/editSchedule.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/editSchedule.jsp
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/Menu.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/Menu.jsp?rev=366450&r1=366449&r2=366450&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/Menu.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/Menu.jsp Fri Jan  6
00:17:41 2006
@@ -33,6 +33,9 @@
     <div class="label"><ww:text name="menu.administration"/></div>
     <div class="body">
       <div>
+        <a href="<ww:url value="schedules.action"/>"><ww:text name="menu.administration.schedules"/></a>
+      </div>
+      <div>
         <a href="<ww:url value="configuration!default.action"/>"><ww:text
name="menu.administration.configuration"/></a>
       </div>
     </div>

Added: maven/continuum/trunk/continuum-webapp/src/main/webapp/schedules.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/schedules.jsp?rev=366450&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/schedules.jsp (added)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/schedules.jsp Fri Jan  6 00:17:41
2006
@@ -0,0 +1,40 @@
+<%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="/tld/extremecomponents" prefix="ec" %>
+<html>
+  <ww:i18n name="localization.Continuum">
+    <head>
+        <title><ww:text name="schedules.page.title"/></title>
+    </head>
+    <body>
+      <div id="h3">
+        <h3><ww:text name="schedules.section.title"/></h3>
+        <ww:set name="schedules" value="schedules" scope="request"/>
+        <ec:table items="schedules"
+                  var="schedule"
+                  showExports="false"
+                  showPagination="false"
+                  showStatusBar="false"
+                  filterable="false">
+         <ec:row>
+            <ec:column property="name" title="schedules.table.name"/>
+            <ec:column property="description" title="schedules.table.description"/>
+            <ec:column property="delay" title="schedules.table.delay"/>
+            <ec:column property="cronExpression" title="schedules.table.cronExpression"/>
+            <ec:column property="deleteAction" title="&nbsp;">
+                <a href="${pageContext.request.contextPath}/editSchedule!edit.action?id=${pageScope.schedule.id}">edit</a>
+            </ec:column>
+          </ec:row>
+        </ec:table>
+      </div>
+      <table>
+        <tr>
+          <td>
+            <form method="post" action="addSchedule!default.action">
+              <input type="submit" name="add-build-def" value="Add"/>
+            </form>
+          </td>
+        </tr>
+      </table>
+    </body>
+  </ww:i18n>
+</html>
\ No newline at end of file

Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/schedules.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/webapp/schedules.jsp
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"



Mime
View raw message