Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\storage\group\groupStorageDetails.jsp
<%-- * Copyright (c) 2004, 2005, Oracle. All rights reserved. * * NAME * groupStorageDetails.jsp * * DESCRIPTION * Has the UI contents of the group storage details. * * NOTES * We need to use jsp:include and buildTree to include the * pages - I tried to implement this on june 17th but it did not * work for me for some reason (gave blank page.) * MODIFIED * ajere 06/30/05 - Fix bug# 4215132 * ajere 06/14/05 - Fix bug# 4253169 * ajere 06/07/05 - Fix bug# 4222316 * ajere 06/03/05 - Fix bug# 4215146 * ajere 05/26/05 - Accessibility changes * rmenon 03/17/05 - * rmenon 02/25/05 - * rmenon 02/11/05 - added group ui instruction text. * rmenon 01/05/05 - changing bar width * rmenon 01/03/05 - * rmenon 11/15/04 - * rmenon 11/11/04 - made related errors link "non-bold" * rmenon 11/04/04 - * rmenon 10/11/04 - removed vendor tab * rmenon 10/09/04 - Group history ui and other changes * djoly 10/04/04 - Fix relative paths for includes in same directory * rmenon 09/08/04 - * rmenon 08/24/04 - rmenon_storage_ui * rmenon 08/23/04 - Created --%> <%@ include file="/oemNoscript.jspf" %> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem" %> <%@ page import='oracle.cabo.ui.UIConstants' %> <%@ page import='oracle.sysman.emSDK.svc.ServiceUtil' %> <%@ page import='oracle.sysman.eml.storage.group.GroupAllocSummaryByHostViewBean' %> <%@ page import='oracle.sysman.eml.storage.group.GroupUsageSummaryByHostViewBean' %> <%@ page import='oracle.sysman.eml.storage.common.StorageUrlUtil' %> <%@ page import='oracle.sysman.eml.ecm.ui.SimpleDataObjectList' %> <%@ page import='oracle.sysman.eml.storage.common.StorageUIConstants' %> <%@ page import='oracle.sysman.eml.storage.common.StorageCommonSectionViewBean' %> <% String refreshJobMessage = null; String relatedErrorsCount = null; int relatedErrorsCountAsInt = 0; Integer selectedTabIndexAsInteger = StorageUrlUtil. getParameterAsIntegerObject( request, StorageUIConstants.SELECTED_TAB_INDEX_KEY ); int selectedTabIndex = selectedTabIndexAsInteger.intValue(); StorageCommonSectionViewBean commonSectionViewBean = (StorageCommonSectionViewBean) request.getAttribute( StorageUIConstants.COMMON_SECTION_VIEW_BEAN_NAME ); if(commonSectionViewBean != null) { refreshJobMessage = commonSectionViewBean.getRefreshJobMessage(); relatedErrorsCount = commonSectionViewBean.getRelatedErrorCount(); if( relatedErrorsCount != null || relatedErrorsCount.length() != 0 ) { relatedErrorsCountAsInt = Integer.parseInt( relatedErrorsCount ); } } %> <%@ include file="/sdk/oemTop.jspf" %> <uix:renderingContext id="renderingContext"> <oem:setURLEncoder id="renderingContext"/> <%-- * resource bundles used by this page. --%> <uix:bundle name="storageResource" class="oracle.sysman.eml.storage.resources.StorageResourceBundle"/> <uix:bundle name="sdkResource" class="oracle.sysman.emSDK.eml.SDKUIMsg"/> <uix:bundle name="commonResource" class="oracle.sysman.resources.CommonResourceBundle"/> <uix:document> <%@ include file="/enablePPR.jspf" %> <uix:head titleBinding="pageTitle@commonSectionViewBean@servletRequest"/> <uix:body> <uix:form name="groupStorageDetailsForm" method="GET"> <uix:pageLayout > <%@ include file="/oemGlobal.jspf" %> <uix:contentFooter> <uix:pageButtonBar><uix:contents> <uix:switcher childNameBinding="showStorageDetailsPage@commonSectionViewBean@servletRequest"> <uix:case name="false"> <uix:flowLayout> <uix:switcher childNameBinding="showRefreshButtonEvenWhenError@commonSectionViewBean@servletRequest"> <uix:case name="true"> <uix:submitButton name="event" shortDescBinding="REFRESH_JOB_BUTTON_DESC@storageResource" value="refreshGroupStorage" disabledBinding="refreshJobRunningFlag@commonSectionViewBean@servletRequest" textBinding="REFRESH_JOB@storageResource"/> </uix:case> </uix:switcher> <uix:spacer width="10"/> <uix:button textBinding="OK@commonResource" destinationBinding="hasErrorOKButtonDest@commonSectionViewBean@servletRequest"/> </uix:flowLayout> </uix:case> </uix:switcher> </uix:contents></uix:pageButtonBar> </uix:contentFooter> <uix:messageBox renderedBinding="messageRendered@commonSectionViewBean@servletRequest" messageTypeBinding="messageType@commonSectionViewBean@servletRequest" messageBinding="message@commonSectionViewBean@servletRequest"> <uix:contents> <uix:link textBinding="messageLinkText@commonSectionViewBean@servletRequest" destinationBinding="messageLinkDest@commonSectionViewBean@servletRequest" longDescBinding="messageLongDesc@commonSectionViewBean@servletRequest"/> </uix:contents> </uix:messageBox> <uix:switcher childNameBinding="showStorageDetailsPage@commonSectionViewBean@servletRequest"> <uix:case name="true"> <uix:stackLayout><uix:contents> <uix:tableLayout width="100%" > <uix:rowLayout width="100%" hAlign="right" > <uix:cellFormat width="50%" hAlign="right"> <uix:rowLayout hAlign="right" > <uix:styledText styleClass="OraTipText" textBinding="LATEST_FROM_TARGET@sdkResource"/> <uix:spacer width="5"/> <uix:styledText styleClass="OraTipLabel" textBinding="collectionTimestamp@commonSectionViewBean@servletRequest"/> <uix:spacer width="8"/> <uix:submitButton name="event" shortDescBinding="REFRESH_JOB_BUTTON_DESC@storageResource" value="refreshGroupStorage" disabledBinding="refreshJobRunningFlag@commonSectionViewBean@servletRequest" textBinding="REFRESH_JOB@storageResource" /> </uix:rowLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> <uix:header textBinding="STORAGE_DETAILS@storageResource"> <uix:styledText styleClass="OraInstructionText" textBinding="GROUP_UI_INSTRUCTION_TEXT@storageResource"/> <uix:switcher childNameBinding="storageHistoryMetricDefinedFlag@commonSectionViewBean@servletRequest"> <uix:case name="N"> <uix:styledText styleClass="OraInstructionText" textBinding="STORAGE_HISTORY_NOT_APPLICABLE_MESSAGE@storageResource"/> </uix:case> </uix:switcher> <% if(relatedErrorsCountAsInt > 0 ) { %> <uix:styledText styleClass="OraInstructionText" textBinding="RELATED_ERROR_INSTRUCTION_TEXT@storageResource"/> <%}%> <uix:tableLayout width="100%" > <uix:rowLayout hAlign="center" width="100%"> <%-- Utilization Summary Chart --%> <oem:chart titleBinding="utilSummaryHeader@headers@commonSectionViewBean@servletRequest" chartType="pieChart" width="160" height="190" pieSlicesFromColumn="true" showSlicePercentLabels="true" legendVisible="true" pieValuesInLegend="value" hideZeroSlices="true" shadowEffect="shadow" legendPosition="south"> <uix:contents> <oem:boundChartDataSource chartDataSourceBinding="storageUtilizationPieChartData@commonSectionViewBean@servletRequest" /> <oem:imageMap imageMapItemsBinding="storageUtilizationPieChartImageMap@commonSectionViewBean@servletRequest" /> <oem:chartColumn displayLabelBinding="used@storageUtilizationPieChartDisplayLabels@commonSectionViewBean@servletRequest" itemColorBinding="used@storageUIColorMap@commonSectionViewBean@servletRequest" sourceIndex="0"/> <oem:chartColumn displayLabelBinding="free@storageUtilizationPieChartDisplayLabels@commonSectionViewBean@servletRequest" itemColorBinding="free@storageUIColorMap@commonSectionViewBean@servletRequest" sourceIndex="1" /> <oem:chartColumn displayLabelBinding="unallocated@storageUtilizationPieChartDisplayLabels@commonSectionViewBean@servletRequest" itemColorBinding="unallocated@storageUIColorMap@commonSectionViewBean@servletRequest" sourceIndex="2" /> <oem:chartColumn displayLabelBinding="overhead@storageUtilizationPieChartDisplayLabels@commonSectionViewBean@servletRequest" itemColorBinding="overhead@storageUIColorMap@commonSectionViewBean@servletRequest" sourceIndex="3" /> </uix:contents> </oem:chart> <%-- Allocation Summary Chart --%> <oem:chart titleBinding="allocationSummaryHeader@headers@commonSectionViewBean@servletRequest" chartType="barChart" width="400" barWidth="30" height="190" orientation="horizontal" showSliceValueLabels="true" stacked="true" hideZeroSlices="true" shadowEffect="3d" legendPosition="south"> <uix:contents> <oem:boundChartDataSource chartDataSourceBinding="storageAllocationSummaryChartData@commonSectionViewBean@servletRequest" /> <oem:imageMap imageMapItemsBinding="storageAllocationBarImageMap@commonSectionViewBean@servletRequest" /> <oem:chartColumn isKey="true" sourceIndex="0" /> <oem:chartColumn displayLabelBinding="allocated@storageAllocationSummaryDisplayLabels@commonSectionViewBean@servletRequest" itemColorBinding="allocated@storageUIColorMap@commonSectionViewBean@servletRequest" sourceIndex="1" /> <oem:chartColumn displayLabelBinding="unallocated@storageAllocationSummaryDisplayLabels@commonSectionViewBean@servletRequest" itemColorBinding="unallocated@storageUIColorMap@commonSectionViewBean@servletRequest" sourceIndex="2" /> <oem:chartColumn displayLabelBinding="overhead@storageAllocationSummaryDisplayLabels@commonSectionViewBean@servletRequest" itemColorBinding="overhead@storageUIColorMap@commonSectionViewBean@servletRequest" sourceIndex="3" /> </uix:contents> </oem:chart> <%-- Usage Summary Chart --%> <oem:chart titleBinding="usageSummaryHeader@headers@commonSectionViewBean@servletRequest" chartType="barChart" width="350" height="190" orientation="horizontal" stacked="true" barWidth="30" shadowEffect="3d" legendPosition="south"> <uix:contents> <oem:boundChartDataSource chartDataSourceBinding="storageUsageSummaryChartData@commonSectionViewBean@servletRequest" /> <oem:imageMap imageMapItemsBinding="storageUsageBarImageMap@commonSectionViewBean@servletRequest" /> <oem:chartColumn isKey="true" sourceIndex="0" /> <oem:chartColumn displayLabelBinding="used@storageUsageSummaryDisplayLabels@commonSectionViewBean@servletRequest" itemColorBinding="used@storageUIColorMap@commonSectionViewBean@servletRequest" sourceIndex="1" /> <oem:chartColumn displayLabelBinding="free@storageUsageSummaryDisplayLabels@commonSectionViewBean@servletRequest" itemColorBinding="free@storageUIColorMap@commonSectionViewBean@servletRequest" sourceIndex="2" /> </uix:contents> </oem:chart> </uix:rowLayout hAlign="left"> <uix:tableLayout width="17%" > <uix:rowLayout > <uix:cellFormat hAlign="right"> <uix:styledText textBinding="RELATED_ERRORS@storageResource" styleClass="OraPromptText" /> </uix:cellFormat> <uix:spacer width="5"/> <uix:cellFormat hAlign="right"> <uix:styledText textBinding="relatedErrorCount@commonSectionViewBean@servletRequest" shortDescBinding="RELATED_ERRORS@storageResource" destinationBinding="collectionErrorURL@commonSectionViewBean@servletRequest"/> </uix:cellFormat> </uix:rowLayout> <uix:spacer height="5"/> </uix:tableLayout> <uix:tableLayout width="17%" > <uix:spacer height="5"/> </uix:tableLayout> <uix:subTabLayout> <uix:subTabs> <uix:subTabBar selectedIndexBinding="selectedTabIndex@commonSectionViewBean@servletRequest"> <uix:link textBinding="GROUP_ALLOCATION_SUMMARY_BY_HOST@storageResource" destinationBinding="subTabUrl0@subTabUrls@commonSectionViewBean@servletRequest"/> <uix:link textBinding="GROUP_ALLOCATED_STORAGE_USAGE_BY_HOST@storageResource" destinationBinding="subTabUrl1@subTabUrls@commonSectionViewBean@servletRequest"/> <uix:link textBinding="VENDOR_DISTRIBUTION@storageResource" destinationBinding="subTabUrl2@subTabUrls@commonSectionViewBean@servletRequest"/> </uix:subTabBar> </uix:subTabs> <uix:contents> <uix:spacer height="10"/> <uix:stackLayout> <% if( selectedTabIndex == StorageUIConstants.GROUP_ALLOC_SUMMARY_SELECTED_TAB_INDEX ) { %> <%@ include file="groupAllocSummaryByHost.jspf" %> <%} else if( selectedTabIndex == StorageUIConstants.GROUP_USAGE_SUMMARY_SELECTED_TAB_INDEX ) { %> <%@ include file="groupUsageSummaryByHost.jspf" %> <%} else if( selectedTabIndex == StorageUIConstants.GROUP_VENDOR_DIST_SELECTED_TAB_INDEX ) { %> <%@ include file="../common/vendorDistStorage.jspf" %> <%}%> <uix:spacer height="10"/> </uix:stackLayout> </uix:contents> </uix:subTabLayout> </uix:tableLayout> </uix:header> <uix:switcher childNameBinding="storageHistoryMetricDefinedFlag@commonSectionViewBean@servletRequest"> <uix:case name="Y"> <uix:spacer height="5"/> <uix:header textBinding="RELATED_LINKS@storageResource"> <uix:link textBinding="STORAGE_HISTORY@storageResource" destinationBinding="historyRelatedLinkURL@commonSectionViewBean@servletRequest"> </uix:link> </uix:header> </uix:case> </uix:switcher> </uix:contents></uix:stackLayout> </uix:case> </uix:switcher> </uix:pageLayout> </uix:form> </uix:body> </uix:document> </uix:renderingContext>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de