camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r747058 - in /camel/trunk/components/camel-web/src/main: java/org/apache/camel/web/resources/ webapp/org/apache/camel/web/resources/ConvertersFromResource/ webapp/org/apache/camel/web/resources/ConvertersResource/
Date Mon, 23 Feb 2009 16:08:46 GMT
Author: jstrachan
Date: Mon Feb 23 16:08:45 2009
New Revision: 747058

URL: http://svn.apache.org/viewvc?rev=747058&view=rev
Log:
CAMEL-1355 - fixed issue with array types when displaying type converters

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

Modified: camel/trunk/components/camel-web/src/main/java/org/apache/camel/web/resources/ConvertersResource.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/java/org/apache/camel/web/resources/ConvertersResource.java?rev=747058&r1=747057&r2=747058&view=diff
==============================================================================
--- camel/trunk/components/camel-web/src/main/java/org/apache/camel/web/resources/ConvertersResource.java
(original)
+++ camel/trunk/components/camel-web/src/main/java/org/apache/camel/web/resources/ConvertersResource.java
Mon Feb 23 16:08:45 2009
@@ -23,7 +23,6 @@
 
 import javax.ws.rs.Path;
 import javax.ws.rs.PathParam;
-import java.util.HashMap;
 import java.util.Map;
 import java.util.Set;
 import java.util.TreeMap;
@@ -61,6 +60,7 @@
 
     public ConvertersFromResource getConvertersFrom(@PathParam("type") Class type) {
 */
+
     public ConvertersFromResource getConvertersFrom(@PathParam("type") String typeName) {
         Class type;
         try {

Modified: camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/ConvertersFromResource/index.jsp
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/ConvertersFromResource/index.jsp?rev=747058&r1=747057&r2=747058&view=diff
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/ConvertersFromResource/index.jsp
(original)
+++ camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/ConvertersFromResource/index.jsp
Mon Feb 23 16:08:45 2009
@@ -1,11 +1,11 @@
 <html>
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-  <title>Type Converters from: ${it.type.name}</title>
+  <title>Type Converters from: ${it.type.canonicalName}</title>
 </head>
 <body>
 
-<h1>Type Converters from: ${it.type.name}</h1>
+<h1>Type Converters from: ${it.type.canonicalName}</h1>
 
 <table>
   <tr>

Modified: camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/ConvertersResource/index.jsp
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/ConvertersResource/index.jsp?rev=747058&r1=747057&r2=747058&view=diff
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/ConvertersResource/index.jsp
(original)
+++ camel/trunk/components/camel-web/src/main/webapp/org/apache/camel/web/resources/ConvertersResource/index.jsp
Mon Feb 23 16:08:45 2009
@@ -14,7 +14,7 @@
   </tr>
   <c:forEach items="${it.fromClassTypes}" var="entry">
     <tr>
-      <td><a href="converters/${entry.key}">${entry.key}</a></td>
+      <td><a href="converters/${entry.value.name}">${entry.key}</a></td>
     </tr>
   </c:forEach>
 </table>



Mime
View raw message