Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\pa\targetSel\template.jspf
<!----> <%-- - FILE - template.jspf - - DESCRIPTION - A template containing UI code to display Global buttons, subTabs, - pageHeader, error messages, train and navigation buttons (if required). - - MODIFIED (MM/DD/YY) - amroy 09/14/06 - - shgangul 09/14/06 - - tasingh 10/20/05 - created --%> <%@ page contentType="text/html; charset=UTF-8" %> <%@ include file="/oemNoscript.jspf" %> <%--uix Tag Library--%> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem" %> <uix:renderingContext id="renderingContext"> <oem:setURLEncoder id="renderingContext"/> <%--Common UI messages --%> <uix:bundle name="sdkUIMsg" class="oracle.sysman.emSDK.eml.SDKUIMsg"/> <%--ResourceBundle for common labels/headers etc--%> <uix:bundle name="commonRB" class="oracle.sysman.resources.CommonResourceBundle"/> <%--ResourceBundle for labels/headers specific to Target Selector--%> <uix:bundle name="targetSelRB" class="oracle.sysman.db.pa.ui.targetSel.TargetSelRB"/> <uix:document> <%--To help in partial page renderring--%> <%@ include file="/enablePPR.jspf" %> <%-- - To display "Oracle Enterprise Manager" followed by - UserName on PageTitle. To append page specific string - in the title implement getPageHeader() in the - CONTROLLER CLASS. --%> <%@ include file="/oemTitle.jspf" %> <uix:body> <uix:form name="pageForm" nameBinding="formName@pageBean@servletRequest" method="post"> <%-- - We need to show a subTrain if the page that invoked target selector - is a part of a train wizard and select instance page is set to be - shown. If a subTrain is not to be shown then breadCrumbs should be - shown. However, if code to render train is present, then breadCrumbs - are automaticaly not shown. So a typical solution will be to use a - a switcher to include the code to render train, however that results - in an error (location tag should be an immediate child of pageLayout) - So, a work around is to wrap whole of the code inside pageLayout - in a switcher. This will ofcourse result in code redundancy, but - atleast it will work. --%> <uix:switcher childNameBinding="render@subTrain@UIData@pageBean@servletRequest"> <uix:case name="true"> <uix:pageLayout titleBinding="pageHeader@servletRequest"> <%--To display GlobalTabs, Buttons, Footer, Copyright etc--%> <%@ include file="/oemGlobal.jspf" %> <uix:location> <uix:train id="subTrain" subTrain="true" valueBinding="currVal@subTrain@UIData@pageBean@servletRequest"> <uix:contents childDataBinding="list@subTrain@UIData@pageBean@servletRequest"> <uix:link textBinding="text"/> </uix:contents> </uix:train> </uix:location> <%--The message box to show error/info messge etc--%> <uix:messageBox messageTypeBinding="msgType@msgInfo@servletRequest" messageBinding="msg@msgInfo@servletRequest" rendered="false" renderedBinding="rendered@msgInfo@servletRequest"> </uix:messageBox> <%-- - The page specific contents will be attached here. - Following tag does that. In the JSP page all - contents should be WITHIN the 'buildTree' tag - with attributes - nodeID="pageContent" and - scope="request" - Also this template should be included in all - JSP pages (except wizard pages) at the end as follows - <%@ include file="template.jspf"%> --%> <uix:ref refID="pageContent"/> <%--The cancel, next, back and select Buttons--%> <uix:pageButtons> <uix:pageButtonBar> <%--Cancel button--%> <uix:submitButton textBinding="CANCEL@sdkUIMsg" shortDescBinding="CANCEL@sdkUIMsg" name="event" value="cancel"> </uix:submitButton> <%-- - Next and Back buttons: In case, user selects RAC database, - then we need to show the DB instances corresponding to the - RAC database he selected. That is a separate step, that is - why Next button will be shown. --%> <uix:navigationBar id="navBarID" name="navBar" rendered="false" renderedBinding="render@navBar@UIData@pageBean@servletRequest" formSubmitted="true" maxValueBinding="maxVal@navBar@UIData@pageBean@servletRequest" minValueBinding="minVal@navBar@UIData@pageBean@servletRequest" valueBinding="currVal@navBar@UIData@pageBean@servletRequest"> </uix:navigationBar> <%--Select Button--%> <uix:submitButton textBinding="SELECT@commonRB" rendered="true" renderedBinding="render@selectBtn@UIData@pageBean@servletRequest" name="event" value="select"> </uix:submitButton> </uix:pageButtonBar> </uix:pageButtons> </uix:pageLayout> </uix:case> <%-- - Now, all the above code is repeated without the code to - render train. --%> <uix:default> <uix:pageLayout titleBinding="pageHeader@servletRequest"> <%--To display GlobalTabs, Buttons, Footer, Copyright etc--%> <%@ include file="/oemGlobal.jspf" %> <%--The message box to show error/info messge etc--%> <uix:messageBox messageTypeBinding="msgType@msgInfo@servletRequest" messageBinding="msg@msgInfo@servletRequest" rendered="false" renderedBinding="rendered@msgInfo@servletRequest"> </uix:messageBox> <%-- - The page specific contents will be attached here. - Following tag does that. In the JSP page all - contents should be WITHIN the 'buildTree' tag - with attributes - nodeID="pageContent" and - scope="request" - Also this template should be included in all - JSP pages (except wizard pages) at the end as follows - <%@ include file="template.jspf"%> --%> <uix:ref refID="pageContent"/> <%--The cancel, next, back and select Buttons--%> <uix:pageButtons> <uix:pageButtonBar> <%--Cancel button--%> <uix:submitButton textBinding="CANCEL@sdkUIMsg" shortDescBinding="CANCEL@sdkUIMsg" name="event" value="cancel"> </uix:submitButton> <%-- - Next and Back buttons: In case, user selects RAC database, - then we need to show the DB instances corresponding to the - RAC database he selected. That is a separate step, that is - why Next button will be shown. --%> <uix:navigationBar id="navBarID" name="navBar" rendered="false" renderedBinding="render@navBar@UIData@pageBean@servletRequest" formSubmitted="true" maxValueBinding="maxVal@navBar@UIData@pageBean@servletRequest" minValueBinding="minVal@navBar@UIData@pageBean@servletRequest" valueBinding="currVal@navBar@UIData@pageBean@servletRequest"> </uix:navigationBar> <%--Select Button--%> <uix:submitButton textBinding="SELECT@commonRB" rendered="true" renderedBinding="render@selectBtn@UIData@pageBean@servletRequest" name="event" value="select"> </uix:submitButton> </uix:pageButtonBar> </uix:pageButtons> </uix:pageLayout> </uix:default> </uix:switcher> </uix:form> </uix:body> </uix:document> </uix:renderingContext>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de