Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\storage\host\hostVolumesStorage.jspf
<%-- * Copyright (c) 2004, 2006, Oracle. All rights reserved. * * NAME * hostVolumesStorage.jspf * * NOTES * shows UI below the "Volumes" page property in the * host storage details page. * * MODIFIED * hmodawel 02/28/06 - fix ojsp compilation erro * ajere 05/24/05 - Accessibility changes * rmenon 02/10/05 - added "size" column * rmenon 12/20/04 - * rmenon 12/01/04 - sorting/blocking related code cleanup * rmenon 10/22/04 - * rmenon 10/09/04 - rmenon_storage_group_ui_and_sql_code_refactor * rmenon 10/06/04 - Created --%> <% HostStorageVolumesViewBean volumesViewBean = (HostStorageVolumesViewBean ) request.getAttribute( StorageUIConstants.VOLUMES_VIEW_BEAN_NAME ); int vendorProdCombinations = 0; if( volumesViewBean != null ) { vendorProdCombinations = volumesViewBean.getVendorProductCombinations(); } String tableName = StorageUIConstants.HOST_VOLUMES_STORAGE_UI_TABLE_NAME; SimpleDataObjectList uiTable = (SimpleDataObjectList) request.getAttribute( tableName ); int numOfRows = 0; if( uiTable != null ) numOfRows = uiTable.getSize(); %> <uix:stackLayout> <uix:tableLayout cellPadding="0" width="90%"> <% if( numOfRows > 0 && vendorProdCombinations <= 1) { %> <uix:rowLayout> <uix:spacer width="5"/> <uix:cellFormat hAlign="left" width = "20%" vAlign="top"> <uix:styledText textBinding="VIEW@storageResource" styleClass="OraPromptText" labeledNodeId="viewResourceTypeChoice"/> <uix:spacer width="10"/> <uix:choice name="viewResourceTypeChoice" id="viewResourceTypeChoice" onChange="submitForm('hostStorageDetailsForm', true, {'event':'viewVolumesByResource'})" selectedValueBinding="selectedValue@volumesViewBean@servletRequest" > <uix:contents childDataBinding="viewChoice@volumesViewBean@servletRequest"> <uix:option textBinding="text" renderedBinding="rendered"/> </uix:contents> </uix:choice> </uix:cellFormat> <uix:cellFormat hAlign="left" width="30%" > <uix:labeledFieldLayout fieldWidth="0" labelWidth="0" width="0"> <uix:styledText textBinding="VENDOR_HEADER@storageResource" styleClass="OraPromptText" /> <uix:styledText textBinding="vendor@volumesViewBean@servletRequest" styleClass="OraDataText" /> </uix:labeledFieldLayout > </uix:cellFormat> <uix:cellFormat hAlign="left" width="50%"> <uix:styledText textBinding="PRODUCT@storageResource" styleClass="OraPromptText" /> <uix:spacer width="10"/> <uix:styledText textBinding="product@volumesViewBean@servletRequest" styleClass="OraDataText" /> <%-- </uix:labeledFieldLayout > --%> </uix:cellFormat> </uix:rowLayout> <% } else { %> <uix:rowLayout> <uix:cellFormat hAlign="left" width = "20%" vAlign="top"> <uix:styledText textBinding="VIEW@storageResource" styleClass="OraPromptText" labeledNodeId="viewResourceTypeChoice"/> <uix:spacer width="10"/> <uix:choice name="viewResourceTypeChoice" id="viewResourceTypeChoice" onChange="submitForm('hostStorageDetailsForm', true, {'event':'viewVolumesByResource'})" selectedValueBinding="selectedValue@volumesViewBean@servletRequest" > <uix:contents childDataBinding="viewChoice@volumesViewBean@servletRequest"> <uix:option textBinding="text" renderedBinding="rendered"/> </uix:contents> </uix:choice> </uix:cellFormat> </uix:rowLayout> <% } %> </uix:tableLayout> <uix:tableLayout cellPadding="0" width="90%"> <uix:rowLayout> <uix:cellFormat hAlign="center" > <uix:table name="hostStorageVolumesTable" id="hostStorageVolumesTableID" tableDataBinding="rows@hostStorageVolumesTable@servletRequest" columnHeaderDataBinding="hostStorageVolumesTableColumnHeaders@servletRequest" blockSizeBinding="size@rows@hostStorageVolumesTable@servletRequest" maxValueBinding="max@rows@hostStorageVolumesTable@servletRequest" valueBinding="start@rows@hostStorageVolumesTable@servletRequest" minValue="1" width="100%" alternateTextBinding= "NO_ITEMS_FOUND@sdkResource" formSubmitted="true" showAll="yes" summaryBinding="VOLUMES@storageResource"> <uix:tableFormat tableBanding="rowBanding"/> <uix:columnHeaderStamp> <uix:sortableHeader textBinding="text" sortableBinding="sortable" /> </uix:columnHeaderStamp> <uix:contents> <uix:styledText textBinding="resource_name"/> <uix:styledText textBinding="resource_type"/> <uix:styledText textBinding="disk_group"/> <uix:styledText textBinding="os_path"/> </uix:contents> <% if( vendorProdCombinations > 1 ) { %> <uix:column> <uix:columnFormat columnDataFormat="textFormat" /> <uix:styledText textBinding="vendor"/> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="textFormat" /> <uix:styledText textBinding="product"/> </uix:column> <%}%> <uix:column> <uix:columnFormat columnDataFormat="numberFormat" /> <uix:switcher childNameBinding="shared_count"> <uix:case name=""> <uix:styledText textBinding="shared_count"/> </uix:case> <uix:case name="0"> <uix:styledText text=""/> </uix:case> <uix:case name="1"> <uix:styledText text=""/> </uix:case> <uix:default> <uix:rowLayout> <uix:image sourceBinding="existsNotClickableImage@commonSectionViewBean@servletRequest" destinationBinding="collectionErrorURL@commonSectionViewBean@servletRequest"/> <uix:styledText text="("/> <uix:spacer width="5"/> <uix:link textBinding="shared_count" destinationBinding="sharedCountURL" /> <uix:spacer width="5"/> <uix:styledText text=")"/> </uix:rowLayout> </uix:default> </uix:switcher> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="numberFormat" /> <uix:styledText textBinding="storage_size"/> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="numberFormat" /> <uix:styledText textBinding="allocated"/> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="numberFormat" /> <uix:styledText textBinding="unallocated"/> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="textFormat" /> <uix:styledText textBinding="configuration"/> </uix:column> </uix:table> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:stackLayout>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de