You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2010/05/18 17:09:07 UTC

svn commit: r945689 - /camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RoutesResource/index.jsp

Author: davsclaus
Date: Tue May 18 15:09:07 2010
New Revision: 945689

URL: http://svn.apache.org/viewvc?rev=945689&view=rev
Log:
Removed status as RouteDefinition must not be tied to a special CamelContext.

Modified:
    camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RoutesResource/index.jsp

Modified: camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RoutesResource/index.jsp
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RoutesResource/index.jsp?rev=945689&r1=945688&r2=945689&view=diff
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RoutesResource/index.jsp (original)
+++ camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RoutesResource/index.jsp Tue May 18 15:09:07 2010
@@ -10,7 +10,6 @@
 <table>
   <tr>
     <th>Route</th>
-    <th colspan="2">Status</th>
   </tr>
 <ul>
   <c:forEach var="i" items="${it.routes}">
@@ -18,21 +17,6 @@
     <td>
       <a href='<c:url value="/routes/${i.id}"/>'>${i.id}</a> ${i.description.text}
     </td>
-    <td class="${i.status}">
-      ${i.status}
-    </td>
-    <td>
-      <form action='<c:url value="/routes/${i.id}/status"/>' method="POST" name="setStatus">
-      <c:if test="${i.startable}">
-        <input type="hidden" name="status" value="start">
-        <input type="submit" value="Start">
-      </c:if>
-      <c:if test="${i.stoppable}">
-        <input type="hidden" name="status" value="stop">
-        <input type="submit" value="Stop">
-      </c:if>
-      </form>
-    </td>
   </tr>
   </c:forEach>
 </ul>