commit | 02800b29db3a9ecc84c6867e20005f1f8dd79771 | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Thu Jun 11 07:18:16 2009 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Thu Jun 11 07:18:16 2009 +0000 |
tree | f718a6766f619eebdd5cf74dcd2c0c33d93d2a7c | |
parent | fcfaa6592c561aeca78501ba4eb0207c424b5169 [diff] |
FELIX-1215: provide hyperlinks when referring to bundles git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@783653 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java index 7f8a027..1a9b31e 100644 --- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java +++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
@@ -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(); }