Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\security\umu\userSchemaMappings.jsp
<%@ include file="/sdk/oemTop.jspf" %> <%@ include file="/oemNoscript.jspf" %> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix"%> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem"%> <%@ page import="oracle.sysman.emSDK.eml.EmlConstants"%> <%@ page import="oracle.sysman.emo.util.UIXDataSource" %> <%@ page import="oracle.sysman.db.adm.sec.common.EntDBSecConstants"%> <%@ page import="oracle.sysman.db.adm.ParameterNames"%> <%@ page import="oracle.sysman.emo.adm.security.umu.UMUBean"%> <%@ page import="oracle.sysman.emo.adm.security.umu.UserObjectsList"%> <uix:renderingContext id="renderingContext"> <oem:setURLEncoder id="renderingContext"/> <script> function openSharedSchemaWin(){ var targetVal = document.forms[0].target.value; var typeVal = document.forms[0].type.value; window.open('/em/console/database/EntDBSec/UMU?event=getsharedschemas&_em.coIFR=true&target='+targetVal+'&type='+typeVal,'','menubar=no,location=no,resizable=no,scrollbars=no,status=yes,width=650, height=450') } function trim(str) { return str.replace(/^\s*|\s*$/g,""); } </script> </script> <uix:bundle name="UMUMsgs" class="oracle.sysman.db.rsc.sec.UMUMsg"/> <uix:bundle name="dbMsgs" class="oracle.sysman.db.rsc.DBObjectMsg"/> <uix:document> <%@ include file="/oemTitle.jspf" %> <uix:metaContainer> <!-- Set the page title --> <uix:head titleBinding="WINDOW_TITLE@servletRequest"/> </uix:metaContainer> <uix:body> <uix:form name="form0" method="POST" destination="/console/database/EntDBSec/UMU"> <uix:formValue name="<%=ParameterNames.PAGE_NAME%>" value="<%=EntDBSecConstants.UMU_SET_USER_SCHEMA_MAPPINGS_URL%>"/> <uix:formValue name="<%=ParameterNames.TARGET%>" valueBinding="target@servletRequest"/> <uix:formValue name="<%=ParameterNames.TYPE%>" valueBinding="type@servletRequest"/> <uix:formValue name="<%=ParameterNames.BACK_URL%>" valueBinding="backURL@servletRequest"/> <uix:pageLayout titleBinding="PAGE3_LAYOUT_TITLE@UMUMsgs"> <%@ include file="/enablePPR.jspf" %> <%@ include file="/oemGlobal.jspf" %> <oem:messageBox messageType="error" errorTableBinding="errors@servletRequest" titleTextKey="titleText" mainTextKey="mainText"/> <uix:tableLayout width="100%"> <uix:rowLayout> <uix:cellFormat> <uix:messageComponentLayout columns="2" rows="3" promptWidth="30%" fieldWidth="70%"> <uix:messageStyledText shortDescBinding="USERS_PROMPT@UMUMsgs" promptBinding="USERS_PROMPT@UMUMsgs" styleClass="OraInstructionTextStrong" textBinding="users@defaultBean@servletRequest"/> <uix:messageStyledText shortDescBinding="DATABASE_PROMPT@UMUMsgs" promptBinding="DATABASE_PROMPT@UMUMsgs" styleClass="OraInstructionTextStrong" textBinding='<%=ParameterNames.TARGET+"@servletRequest"%>'/> <%--dummy message components used to get the allignment right--%> <uix:messageStyledText/> <uix:messageStyledText/> </uix:messageComponentLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> <uix:spacer height="10" width="10"/> <uix:styledText textBinding="SCHEMA_MAPPINGS_INFO@UMUMsgs" styleClass="OraInstructionText"/> <uix:spacer height="10" width="10"/> <uix:header textBinding="SCHEMA_HEADER@UMUMsgs"> <uix:tableLayout> <uix:rowLayout> <uix:cellFormat width="5%"/> <uix:cellFormat> <uix:tableLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:messageRadioButton name="schemaType" textBinding="SCHEMA_PRIVATE_TEXT@UMUMsgs" styleClass="OraInstructionTextStrong" selectedBinding="privateSchemaSel@defaultBean@servletRequest" valueBinding="privateSchemaType@defaultBean@servletRequest" onClick="onSchemaTypePrivate('USER_OBJECTS_LIST_TABLE')"/> <script> function onSchemaTypePrivate(tableName){ if(document.getElementById(tableName)!=null){ document.forms[0].event.value='schematypechange'; document.forms[0].submit(); } } </script> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat> <uix:spacer height="10" width="10"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat width="5%"/> <uix:cellFormat> <uix:styledText styleClass="OraInstructionText" textBinding="SCHEMA_PRIVATE_INFO@UMUMsgs"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat> <uix:spacer height="10" width="10"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:messageRadioButton name="schemaType" textBinding="SCHEMA_SHARED_TEXT@UMUMsgs" styleClass="OraInstructionTextStrong" selectedBinding="sharedSchemaSel@defaultBean@servletRequest" valueBinding="sharedSchemaType@defaultBean@servletRequest" onClick="document.forms[0].event.value='schematypechange';document.forms[0].submit();"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat> <uix:spacer height="10" width="10"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:tableLayout hAlign="center" cellPadding="10" > <uix:rowLayout> <uix:cellFormat> <uix:flowLayout> <uix:messageLovField name="sharedSchema" onClick="openSharedSchemaWin()" promptBinding="SHARED_SCHEMA_PROMPT@UMUMsgs" searchDescBinding="SHARED_SCHEMA_SEARCH_DESC_BINDING@UMUMsgs" styleClass="OraInstructionText" textBinding="sharedSchema@defaultBean@servletRequest"/> </uix:flowLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat width="5%"/> <uix:cellFormat> <uix:styledText styleClass="OraInstructionText" textBinding="SCHEMA_SHARED_INFO@UMUMsgs"/> <uix:spacer height="10" width="10"/> <uix:tableLayout> <uix:rowLayout> <uix:cellFormat> <uix:spacer height="10" width="10"/> </uix:cellFormat> </uix:rowLayout> <% UMUBean umuBean = (UMUBean)request.getAttribute(ParameterNames.DEFAULT_BEAN); UserObjectsList usrObjList = (UserObjectsList)request.getAttribute(EntDBSecConstants.USER_OBJECTS_LIST); String schemaType = umuBean.getSchemaType(); if( schemaType!=null && schemaType.equals(UMUBean.SHARED_SCHEMA_TYPE) && usrObjList!=null && usrObjList.getRowCount() >0 ) {%> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:messageBox messageType="warning"> <uix:styledText styleClass="OraInstructionText" textBinding="DB_OBJECTS_INFO@UMUMsgs"/> </uix:messageBox> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat> <uix:spacer height="10" width="10"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout > <uix:cellFormat width="30%"/> <uix:cellFormat> <uix:dataScope currentDataBinding='<%=EntDBSecConstants.USER_OBJECTS_LIST+"@servletRequest"%>' > <uix:table width="60%" formSubmitted="true" id="USER_OBJECTS_LIST_TABLE" tableDataBinding="<%= UIXDataSource.S_ROW_DATA_ATTR %>" valueBinding="<%= UIXDataSource.S_START_INDEX_ATTR %>" maxValueBinding="<%= UIXDataSource.S_NUM_ROWS_ATTR %>" blockSizeBinding="<%= UIXDataSource.S_BLOCK_SIZE_ATTR %>" summaryBinding="SCHEMAS_WITH_DBOBJECTS_LIST_SUMMARY@UMUMsgs" alternateTextBinding="NO_ITEMS_FOUND@UMUMsgs"> <uix:column> <uix:columnHeader> <uix:text textBinding = "SCHEMA@UMUMsgs"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat" /> <uix:styledText textBinding="USER_NAME_INDEX" /> </uix:column> <uix:column> <uix:columnHeader> <uix:text textBinding = "OBJECT_COUNT_HEADER@UMUMsgs"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat" /> <uix:styledText textBinding="OBJECTS_COUNT_INDEX" /> </uix:column> <uix:tableSelection> <uix:multipleSelection selected="false" text="Select an item and ..."> </uix:multipleSelection> </uix:tableSelection> <uix:tableActions> <uix:flowLayout> <uix:flowLayout> <uix:flowLayout> <uix:submitButton textBinding="BUTTON_REMOVE@UMUMsgs" styleClass="OraInstructionText" event="remove" /> </uix:flowLayout> </uix:flowLayout> <uix:flowLayout/> </uix:flowLayout> </uix:tableActions> </uix:table> </uix:dataScope> </uix:cellFormat> </uix:rowLayout> <%}%> </uix:tableLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:header> <uix:header textBinding="SCHEMA_MAPPINGS_HEADER@UMUMsgs"> <uix:tableLayout> <uix:rowLayout> <uix:cellFormat width="5%"> <uix:contents/> </uix:cellFormat> <uix:cellFormat> <uix:tableLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:styledText textBinding="SCHEMA_MAPPING_SCOPE_TEXT@UMUMsgs" styleClass="OraInstructionTextStrong"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat width="5%"/> <uix:cellFormat> <uix:tableLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:messageRadioButton name="mappingType" textBinding="SCHEMA_MAPPING_SCOPE_DB@UMUMsgs" styleClass="OraInstructionTextStrong" selectedBinding="mappingTypeDbSel@defaultBean@servletRequest" valueBinding="mappingTypeDB@defaultBean@servletRequest"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat width="5%"/> <uix:cellFormat> <uix:styledText styleClass="OraInstructionText" textBinding="SCHEMA_MAPPING_SCOPE_DB_INFO@UMUMsgs"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:spacer height="10" width="10"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:messageRadioButton name="mappingType" textBinding="SCHEMA_MAPPING_SCOPE_DOMAIN@UMUMsgs" styleClass="OraInstructionTextStrong" selectedBinding="mappingTypeDomainSel@defaultBean@servletRequest" valueBinding="mappingTypeDomain@defaultBean@servletRequest"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat width="5%"/> <uix:cellFormat> <uix:styledText styleClass="OraInstructionText" textBinding="SCHEMA_MAPPING_SCOPE_DOMAIN_INFO@UMUMsgs"/> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:styledText styleClass="OraInstructionTextStrong" textBinding="SCHEMA_MAPPING_LEVEL_TEXT@UMUMsgs"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat width="5%"/> <uix:cellFormat> <uix:tableLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:messageRadioButton name="mappingLevel" textBinding="SCHEMA_MAPPING_LEVEL_SINGLE_USER@UMUMsgs" styleClass="OraInstructionTextStrong" selectedBinding="mappingLevelEntrySel@defaultBean@servletRequest" valueBinding="mappingLevelEntry@defaultBean@servletRequest"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat width="5%"/> <uix:cellFormat> <uix:styledText styleClass="OraInstructionText" textBinding="SCHEMA_MAPPING_LEVEL_SINGLE_USER_INFO@UMUMsgs"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:spacer height="10" width="10"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat columnSpan="2"> <uix:messageRadioButton name="mappingLevel" textBinding="SCHEMA_MAPPING_LEVEL_SUBTREE@UMUMsgs" styleClass="OraInstructionTextStrong" selectedBinding="mappingLevelSubtreeSel@defaultBean@servletRequest" valueBinding="mappingLevelSubtree@defaultBean@servletRequest"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat width="5%"/> <uix:cellFormat> <uix:styledText styleClass="OraInstructionText" textBinding="SCHEMA_MAPPING_LEVEL_SUBTREE_INFO@UMUMsgs"/> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:header> <uix:userInfo> <uix:flowLayout> <uix:formattedText textBinding="OID_LOGGEDINUSER@servletRequest" styleClass="OraTipText"/> <uix:spacer width="2" height="1"/> <uix:submitButton textBinding="BUTTON_LOGOUT@UMUMsgs" name="event" value="logout"/> <uix:rowLayout hAlign="right"> <uix:formattedText textBinding="OID_HOSTPORT@servletRequest" styleClass="OraTipText"/> </uix:rowLayout> </uix:flowLayout> </uix:userInfo> <uix:pageButtons> <uix:pageButtonBar> <uix:contents> <uix:submitButton shortDescBinding="CANCEL@dbMsgs" textBinding="CANCEL@dbMsgs" name="event" value="cancel"/> <uix:navigationBar maxValue="5" formSubmitted="true" name="umuwizardnavigator" value="3"/> </uix:contents> </uix:pageButtonBar> </uix:pageButtons> <uix:location> <uix:train id="UMUWizard" selectedIndex="2" formSubmitted="false"> <uix:link textBinding="WIZARD_STEP1@UMUMsgs" /> <uix:link textBinding="WIZARD_STEP2@UMUMsgs"/> <uix:link textBinding="WIZARD_STEP3@UMUMsgs" /> <uix:link textBinding="WIZARD_STEP4@UMUMsgs" /> <uix:link textBinding="WIZARD_STEP5@UMUMsgs" /> </uix:train> </uix:location> </uix:pageLayout> </uix:form> </uix:body> </uix:document> </uix:renderingContext>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de