<%-- - FILE - targetSelPageSeg.jsp - - DESCRIPTION - PageSegment to display table for Target selection. - - BEAN - oracle.sysman.db.common.targetsel.bean.TargetSelPageSegmentBean - - MODIFIED (MM/DD/YY) - rvaidhiy 10/19/07 - for ExtendCluster - rvaidhiy 02/06/07 - - vsagar 07/18/06 - 10.2.0.3.0 backport - vsagar 07/18/06 - 10.2.0.3.0 backport - vsagar 12/29/05 - - tasingh 10/14/05 - created --%> <%@ page contentType="text/html; charset=UTF-8" %> <%@ include file="/oemNoscript.jspf" %> <%--uix and oem Tag Library--%> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem" %> <%--Common UI messages --%> <%--ResourceBundle for common labels/headers etc--%> <%--ResourceBundle for labels/headers specific to Target Selector--%> <%--The EM Targets table--%> <%-- This is a hack to get the tableID. Since id Binding is not - supported, I will get the pageSegmentBean from the - pageSegmentContext and get the tableID. The importance of - tableID is that, it is required for partialPageRenderring. - Since a page could use this pageSegment many times, so the - table ID should be unique for partial page rendering to work. - That means a hard coded value for "id" attribute can't be - set. --%> <%@ page import='oracle.sysman.emSDK.page.seg.PageSegmentContext' %> <%@ page import='oracle.sysman.db.common.targetsel.bean.TargetSelPageSegBean' %> <% PageSegmentContext psContext = ( PageSegmentContext) request.getAttribute( "pageSegmentContext"); TargetSelPageSegBean pageSegBean = ( TargetSelPageSegBean) psContext.getPageSegmentBean( ); String tableID = pageSegBean.getTableID( ); %> <%-- - The following line creates an anchor. If the including page - includes this page segment multiple times (to have multiple - targets table, then the anchor will help to focus on the - table from which search Target event was fired. --%> <%-- - Show a line of text: "Instances of target: " in case - of RAC/CRS target selection. --%> <%-- - We need to show single selection or multiple selection for the - table based on integrator's choice. However simply putting - switcher around "tableSelection" tag does not work. It is a bug - in the table tag and workaround is to put the switcher tag - around complete table. To shorten the length of the JSP, the - table's code is copied in two different files with only change - in selection type and either of them is included based on - current table selection type. --%> <%@ include file="singleSel.jspf" %> <%@ include file="multipleSel.jspf" %> <%-- - Show a tip: "To Select instances of a different target, first - remove already selected instances." in case of CRS/RAC target. --%>