Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2012-11-22 06:42:03 -0500
committerChristopher Frost2012-11-22 06:42:03 -0500
commitee96902d099f85fcb369cbb180b66c72d8f7fafb (patch)
tree61b5e48c3b0e275239be4741dfd5b0d26b98133b /org.eclipse.virgo.management.console
parent702d2e7c3f0cd18a54185449a9cdf176ce542cbc (diff)
downloadorg.eclipse.virgo.kernel-ee96902d099f85fcb369cbb180b66c72d8f7fafb.tar.gz
org.eclipse.virgo.kernel-ee96902d099f85fcb369cbb180b66c72d8f7fafb.tar.xz
org.eclipse.virgo.kernel-ee96902d099f85fcb369cbb180b66c72d8f7fafb.zip
393585 - OSGi state dump containing unresolvable bundle says there were no unresolved bundles
Diffstat (limited to 'org.eclipse.virgo.management.console')
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js5
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/styles/dumps.css5
2 files changed, 9 insertions, 1 deletions
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js b/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js
index 04fada91..32a335d8 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js
+++ b/org.eclipse.virgo.management.console/src/main/webapp/js/dumps.js
@@ -173,7 +173,10 @@ var DumpViewer = function(){
controls.append($('<div />').text('There were no unresolved bundles at the time of this state dump.'));
}else{
$.each(bundles, function(index, unresolvedBundle){
- var displayLink = $('<div />').text('Bundle ' + unresolvedBundle.identifier + ' unresolved.').click(unresolvedBundle.identifier, layoutManager.displayBundle);
+ var displayLink = $('<div />').text('Bundle [' + unresolvedBundle.identifier + '] ' + unresolvedBundle.symbolicName + ': ' + unresolvedBundle.version + ' unresolved.');
+ displayLink.click(unresolvedBundle.identifier, function(eventData){
+ layoutManager.displayBundle(eventData.data);
+ });
var cause = $('<div />', {'class': 'unresolved-bundle-cause'}).text(unresolvedBundle.description);
controls.append($('<div />', {'class': 'unresolved-bundle'}).append(displayLink).append(cause));
});
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/styles/dumps.css b/org.eclipse.virgo.management.console/src/main/webapp/styles/dumps.css
index b4cd92f5..85943cf6 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/styles/dumps.css
+++ b/org.eclipse.virgo.management.console/src/main/webapp/styles/dumps.css
@@ -85,6 +85,11 @@
.unresolved-bundle {
margin-bottom: 10px;
+ cursor: pointer;
+}
+
+.unresolved-bundle:hover {
+ background-color: #BAD9EC;
}
.unresolved-bundle-cause {

Back to the top