felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r783653 - /felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
Date Thu, 11 Jun 2009 07:18:17 GMT
Author: gnodet
Date: Thu Jun 11 07:18:16 2009
New Revision: 783653

URL: http://svn.apache.org/viewvc?rev=783653&view=rev
Log:
FELIX-1215: provide hyperlinks when referring to bundles

Modified:
    felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java

Modified: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java?rev=783653&r1=783652&r2=783653&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
(original)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
Thu Jun 11 07:18:16 2009
@@ -993,6 +993,7 @@
     private String getBundleDescriptor( Bundle bundle )
     {
         StringBuffer val = new StringBuffer();
+        val.append("<a href='").append("./").append(bundle.getBundleId()).append("'>");
         if ( bundle.getSymbolicName() != null )
         {
             // list the bundle name if not null
@@ -1013,6 +1014,7 @@
             // only append the bundle
             val.append( bundle.getBundleId() );
         }
+        val.append("</a>");
         return val.toString();
     }
 



Mime
View raw message