You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2009/05/25 20:41:57 UTC

svn commit: r778465 - /camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RouteResource/edit.jsp

Author: janstey
Date: Mon May 25 18:41:57 2009
New Revision: 778465

URL: http://svn.apache.org/viewvc?rev=778465&view=rev
Log:
CAMEL-1648 - Disable Bespin editor for now

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

Modified: camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RouteResource/edit.jsp
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RouteResource/edit.jsp?rev=778465&r1=778464&r2=778465&view=diff
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RouteResource/edit.jsp (original)
+++ camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/RouteResource/edit.jsp Mon May 25 18:41:57 2009
@@ -15,6 +15,30 @@
       <h2>Edit ${it.route.id}</h2>
     </td>
     <td>
+      <input type="submit" value="Save">
+    </td>
+  </tr>
+  <tr>
+    <td colspan="2">
+      <textarea id="route" name="route" style="width: 800px; height: 300px; border: 10px solid #ddd; -moz-border-radius: 10px; -webkit-border-radius: 10px;">${it.routeXml}</textarea>
+    </td>
+  </tr> 
+</table>
+
+<div class="error">${it.error}</div>
+
+</form>
+
+<!-- Form using Bespin editor not working for some reason... it mangles the route xml so that 
+     it can't be loaded back into Camel
+
+<form id="routeForm" action="<c:url value="/routes/${it.route.id}"/>" method="post">
+<table>
+  <tr>
+    <td>
+      <h2>Edit ${it.route.id}</h2>
+    </td>
+    <td>
       <input type="button" value="Save" onclick="submitRoute()">
     </td>
     <td>
@@ -31,6 +55,7 @@
 
 </form>
 
+-->
 
 </body>
 </html>