<%-- * Copyright (c) 2004, 2005, Oracle. All rights reserved. * * NAME * hostDBStorage.jspf * * NOTES * shows UI below the "Databases" page property in the * host storage details page. * * MODIFIED * ajere 05/24/05 - Accessibility changes * rmenon 02/21/05 - formatting changes * rmenon 02/10/05 - * rmenon 12/20/04 - * rmenon 12/01/04 - * rmenon 10/09/04 - rmenon_storage_group_ui_and_sql_code_refactor * rmenon 10/06/04 - Created --%> <% HostStorageDBListViewBean dbViewBean = ( HostStorageDBListViewBean ) request.getAttribute( StorageUIConstants.DB_VIEW_BEAN_NAME ); if( dbViewBean != null ) { int racDBCount = dbViewBean.getRacDBCount(); int nonRacDBCount = dbViewBean.getNonRacDBCount(); if( ( racDBCount > 0 && nonRacDBCount <= 0 ) || ( racDBCount <= 0 && nonRacDBCount > 0 ) || ( racDBCount == 0 && nonRacDBCount == 0 ) ) { %> <% } else if( racDBCount > 0 && nonRacDBCount > 0 ) { %> <%@ include file="hostRacAndNonRacDBStorage.jspf" %> <%}%> <%}%>