<%-- * Copyright (c) 2004, 2005, Oracle. All rights reserved. * * NAME * groupAllocSummaryByHost.jspf * * NOTES * shows UI below the "Allocation Summary By Host" page property in the * group storage details page. * * MODIFIED * ajere 05/26/05 - Accessibility changes * rmenon 11/22/04 - * rmenon 09/23/04 - * rmenon 09/18/04 - rmenon_group_storage_ui * rmenon 09/13/04 - Created --%> <% boolean asmExistsFlag = false; boolean writeableNfsExistsFlag = false; boolean volumeExistsFlag = false; boolean localDiskExistsFlag = false; if( selectedTabIndex == StorageUIConstants.GROUP_ALLOC_SUMMARY_SELECTED_TAB_INDEX ) { GroupAllocSummaryByHostViewBean viewBean = (GroupAllocSummaryByHostViewBean) request.getAttribute( StorageUIConstants.GROUP_STORAGE_ALLOC_SUMMARY_VIEW_BEAN); // boolean variables indicating the existence of various // storage entities. if( viewBean != null ) { asmExistsFlag = viewBean.getAsmExistsFlag(); writeableNfsExistsFlag = viewBean.getWriteableNFSExistsFlag(); volumeExistsFlag = viewBean.getVolumeExistsFlag(); localDiskExistsFlag = viewBean.getLocalDiskExistsFlag(); } } %> <% if( asmExistsFlag ) { %> <%}%> <% if( volumeExistsFlag ) { %> <%}%> <% if( localDiskExistsFlag ) { %> <%}%> <% if( writeableNfsExistsFlag ) { %> <%}%>