[embjopr-commits] EMBJOPR SVN: r443 - trunk/core/src/main/webapp/secure.
embjopr-commits at lists.jboss.org
embjopr-commits at lists.jboss.org
Tue May 19 10:37:18 EDT 2009
Author: ips
Date: 2009-05-19 10:37:18 -0400 (Tue, 19 May 2009)
New Revision: 443
Modified:
trunk/core/src/main/webapp/secure/resourceInstanceSummary.xhtml
Log:
on Summary tab, don't show Traits or Numeric Metrics headings if there are no summary traits or summary numeric metrics, respectively (https://jira.jboss.org/jira/browse/JOPR-146)
Modified: trunk/core/src/main/webapp/secure/resourceInstanceSummary.xhtml
===================================================================
--- trunk/core/src/main/webapp/secure/resourceInstanceSummary.xhtml 2009-05-19 01:04:50 UTC (rev 442)
+++ trunk/core/src/main/webapp/secure/resourceInstanceSummary.xhtml 2009-05-19 14:37:18 UTC (rev 443)
@@ -65,11 +65,10 @@
</tr>
</table>
- <h:panelGroup rendered="#{navigationAction.enabledTabs['metric']}">
+ <h:panelGroup rendered="#{not empty summaryTraitDisplayList}">
<h2>#{messages['summary.resourceInstance.traits']}</h2>
<h:dataTable value="#{summaryTraitDisplayList}"
- rendered="#{not empty summaryTraitDisplayList}"
var="trait"
columnClasses="standard-traitscolumn">
<h:column>
@@ -79,7 +78,7 @@
</h:dataTable>
</h:panelGroup>
- <h:panelGroup rendered="#{navigationAction.enabledTabs['metric']}">
+ <h:panelGroup rendered="#{not empty summaryMeasurementDisplayList}">
<h2>#{messages['summary.resourceInstance.metrics']}</h2>
<rich:dataTable id="dataTable"
More information about the embjopr-commits
mailing list