modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/navigation/resource/ResourceTreeStateAdvisor.java | 1 + 1 file changed, 1 insertion(+)
New commits: commit 07ea3a2f57654cb6873497ad7ac5da7d4419370f Author: John Sanda john@localhost.localdomain Date: Thu Feb 25 15:26:36 2010 -0500
Fixing navigation logic when viewing a map property of an older resource configuration
Updated the navigation logic for the resource tree to redirect you to the configuration tab for the resource that you click on when you are currently viewing the history of a map property.
diff --git a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/navigation/resource/ResourceTreeStateAdvisor.java b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/navigation/resource/ResourceTreeStateAdvisor.java index 18554d3..f641fa4 100644 --- a/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/navigation/resource/ResourceTreeStateAdvisor.java +++ b/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/navigation/resource/ResourceTreeStateAdvisor.java @@ -121,6 +121,7 @@ public class ResourceTreeStateAdvisor implements TreeStateAdvisor { } else if ((path.startsWith("/rhq/resource/configuration/view-map.xhtml") || path.startsWith("/rhq/resource/configuration/edit-map.xhtml") || path.startsWith("/rhq/resource/configuration/add-map.xhtml") || + path.startsWith("/rhq/resource/configuration/history-view-map.xhtml") || path.startsWith("/rhq/resource/configuration/edit.xhtml") && facets.isConfiguration())) { path = "/rhq/resource/configuration/view.xhtml";
rhq-commits@lists.fedorahosted.org