You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2009/02/26 12:30:25 UTC

svn commit: r748095 - in /camel/trunk/components/camel-web/src/main/webapp: WEB-INF/applicationContext.xml org/apache/camel/web/resources/RoutesResource/index.jsp

Author: jstrachan
Date: Thu Feb 26 11:30:25 2009
New Revision: 748095

URL: http://svn.apache.org/viewvc?rev=748095&view=rev
Log:
added the description of a route

Modified:
    camel/trunk/components/camel-web/src/main/webapp/WEB-INF/applicationContext.xml
    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/WEB-INF/applicationContext.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/WEB-INF/applicationContext.xml?rev=748095&r1=748094&r2=748095&view=diff
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/WEB-INF/applicationContext.xml (original)
+++ camel/trunk/components/camel-web/src/main/webapp/WEB-INF/applicationContext.xml Thu Feb 26 11:30:25 2009
@@ -27,6 +27,8 @@
 
   <camelContext xmlns="http://camel.apache.org/schema/spring">
     <route>
+      <description>This is an example route which you can start, stop and modify</description>
+      
       <from uri="seda:foo"/>
       <to uri="mock:results"/>
     </route>

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=748095&r1=748094&r2=748095&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 Thu Feb 26 11:30:25 2009
@@ -16,7 +16,7 @@
   <c:forEach var="i" items="${it.routes}">
   <tr>
     <td>
-      <a href='<c:url value="/routes/${i.id}"/>'>${i.shortName}</a> ${i.description}
+      <a href='<c:url value="/routes/${i.id}"/>'>${i.shortName}</a> ${i.description.text}
     </td>
     <td class="${i.status}">
       ${i.status}