Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\security\dv\dvpolicymgmt.jsp
<%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag/db" prefix="db" %> <%@ page import="oracle.sysman.emo.util.UIXDataSource" %> <%@ page import="oracle.sysman.db.rsc.inst.DBMsgID"%> <%@ page import="oracle.sysman.db.adm.ParameterNames"%> <%@ include file="/oemNoscript.jspf" %> <uix:renderingContext id="renderingContext"> <oem:setURLEncoder id="renderingContext"/> <db:script src="/database/LOV.js"/> <uix:bundle name="dbMsgs" class="oracle.sysman.db.rsc.DBObjectMsg"/> <uix:bundle name="dvMsgs" class="oracle.sysman.db.rsc.sec.dv.DVMsg"/> <uix:bundle name="dbMsg" class="oracle.sysman.db.rsc.inst.DBMsg"/> <uix:bundle name="dvPolicyMgmtMsgs" class="oracle.sysman.db.rsc.sec.dv.DVPolicyMgmtMsg"/> <uix:document> <uix:metaContainer> <uix:head titleBinding="policy_mgmt_title@servletRequest"/> </uix:metaContainer> <uix:body> <db:form name="dvPolicyMgmt" method="post" destination="/console/database/security/dv/DVPolicymgmt" copyParams="target,type"> <uix:formValue name="pageName" value="/database/security/dv/dvpolicymgmt"/> <uix:formValue name="addedTargets" value=""/> <uix:contents> <uix:pageLayout titleBinding="DV_POLICY_MGMT_HEADER@dvPolicyMgmtMsgs"> <%@ include file="/database/global.jspf" %> <uix:messages> <oem:messageBox messageType="info" errorTableBinding="info@servletRequest" titleTextKey="titleText" mainTextKey="mainText"/> <oem:messageBox messageType="error" errorTableBinding="errors@servletRequest" titleTextKey="titleText" mainTextKey="mainText"/> </uix:messages> <uix:contents> <uix:hideShowHeader id="availablePolicies" disclosedBinding="AVAILABLE_POLICIES_STATE@servletRequest" formSubmitted="true" partialRenderMode="self" textBinding="DV_POLICY_MGMT_AVAIL_POLICIES_HEADER@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_AVAIL_POLICIES_HEADER@dvPolicyMgmtMsgs" > <uix:contents> <uix:tableLayout hAlign="center" cellPadding="1" cellSpacing="1" width="100%"> <uix:contents> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat width="100%" hAlign="left"> <uix:contents> <uix:formattedText styleUsage="instruction" textBinding="DV_POLICY_MGMT_AVAIL_POLICIES_INS_TXT@dvPolicyMgmtMsgs"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat width="100%" hAlign="left"> <uix:contents> <!-- Available Policies Section --> <uix:hGrid id="availablepolicies" width="70%" formSubmitted="true" childBlockSize="10" treeDataBinding="availablepolicies_tree@servletRequest" columnHeaderDataBinding="availablepolicies_chead@servletRequest" columnFormatsBinding="availablepolicies_cfmt@servletRequest" proxyBinding="availablepolicies_proxy@servletRequest" alternateTextBinding="DV_POLICY_MGMT_AVAIL_POLICIES_HEADER@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_AVAIL_POLICIES_HEADER@dvPolicyMgmtMsgs" summaryBinding="DV_POLICY_MGMT_AVAIL_POLICIES_HEADER@dvPolicyMgmtMsgs"> <uix:nodeStamp> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="DV_POLICY_MGMT_AVAIL_POLICY_NAME@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_AVAIL_POLICY_NAME@dvPolicyMgmtMsgs" sortable="no" value="0"/> </uix:columnHeader> </uix:column> </uix:nodeStamp> <uix:columnHeaderStamp> <uix:link textBinding="text" destinationBinding="destination" shortDescBinding="text"/> </uix:columnHeaderStamp> <uix:styledText textBinding="POLICY_STATUS"/> <uix:tableSelection> <uix:multipleSelection text="Select an item and ..." disabledBinding="policySelectionDisabled" selectedBinding="policySelected" renderedBinding="policySelectionRendered"/> </uix:tableSelection> <uix:formValue name="policyID" valueBinding="policyID" /> <uix:formValue name="policyType" valueBinding="policyType" /> <uix:formValue name="policyName" valueBinding="policyName" /> <uix:formValue name="realmPolicyPage" valueBinding="realmPolicyPage" /> <uix:formValue name="commandRulePolicyPage" valueBinding="commandRulePolicyPage" /> <uix:formValue name="rolePolicyPage" valueBinding="rolePolicyPage" /> <uix:formValue name="rulesetPolicyPage" valueBinding="rulesetPolicyPage" /> </uix:hGrid> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:hideShowHeader> <%-- commenting the below section for dbcontrol --%> <%-- <uix:header textBinding="DV_POLICY_MGMT_TARGET_DBS_HEADER@dvPolicyMgmtMsgs"> <uix:contents> <uix:tableLayout hAlign="center" width="100%" cellPadding="1" cellSpacing="1"> <uix:contents> <uix:rowLayout > <uix:contents> <uix:cellFormat hAlign="left" columnSpan="2"> <uix:contents> <uix:formattedText styleUsage="instruction" textBinding="DV_POLICY_MGMT_TARGET_DBS_INS_TXT@dvPolicyMgmtMsgs" /> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:switcher childNameBinding="PROPOGATE_POLICIES_SELECTED_TARGETS_DS_STATE@servletRequest"> <uix:case name="true"> <uix:rowLayout > <uix:contents> <uix:cellFormat hAlign="left"> <uix:contents> <uix:header textBinding="DV_POLICY_MGMT_TARGET_PROVIDE_COMMON_INS_TXT@dvPolicyMgmtMsgs"> <uix:contents> <uix:tableLayout hAlign="left" cellPadding="1" cellSpacing="1"> <uix:contents> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" labeledNodeId="commonDVOwnerName" textBinding="DV_POLICY_MGMT_TARGET_PROVIDE_COMMON_USER@dvPolicyMgmtMsgs" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:textInput name="commonDVOwnerName" id="commonDVOwnerName" columns="10" maximumLength="90" disabledBinding="NOT_COMMON_DV_OWNER_CREDS_STATE@servletRequest"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" labeledNodeId="commonDVOwnerPwd" textBinding="DV_POLICY_MGMT_TARGET_PROVIDE_COMMON_PWD@dvPolicyMgmtMsgs" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:textInput name="commonDVOwnerPwd" id="commonDVOwnerPwd" columns="10" secret="true" noAutoComplete="true" maximumLength="90" disabledBinding="NOT_COMMON_DV_OWNER_CREDS_STATE@servletRequest"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:spacer width="5"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:submitButton textBinding="DV_POLICY_MGMT_APPLY_TXT@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_APPLY_TXT@dvPolicyMgmtMsgs" name="event" value="APPLY_COMMON_DV_OWNER_CREDS" disabledBinding="NOT_COMMON_DV_OWNER_CREDS_STATE@servletRequest"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:header> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:case> </uix:switcher> </uix:contents> </uix:tableLayout> <uix:tableLayout hAlign="center" cellPadding="2" cellSpacing="2" width="100%"> <uix:contents> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat width="100%" hAlign="left"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="DV_SELECTED_TARGETS_INS_TXT@dvPolicyMgmtMsgs" /> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat width="100%" hAlign="left"> <uix:contents> <!-- Selkected databases section --> <uix:dataScope currentDataBinding="PROPOGATE_POLICIES_SELECTED_TARGETS_DS@servletRequest"> <uix:table width="100%" name="selectedtargets" alternateTextBinding="DV_POLICY_MGMT_TARGET_DBS_ALT_TXT@dvPolicyMgmtMsgs" tableDataBinding="rowData" minValue="1" formSubmitted="true" valueBinding="<%= UIXDataSource.S_START_INDEX_ATTR %>" blockSizeBinding="<%= UIXDataSource.S_BLOCK_SIZE_ATTR %>" maxValueBinding="<%= UIXDataSource.S_NUM_ROWS_ATTR %>" shortDescBinding="DV_POLICY_MGMT_TARGET_DBS_HEADER@dvPolicyMgmtMsgs" summaryBinding="DV_POLICY_MGMT_TARGET_DBS_HEADER@dvPolicyMgmtMsgs"> <uix:tableFormat tableBanding="rowBanding"/> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="DV_POLICY_MGMT_TARGET_DBS_NAME@dvPolicyMgmtMsgs" sortable="true" shortDescBinding="DV_POLICY_MGMT_TARGET_DBS_NAME@dvPolicyMgmtMsgs" /> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat" /> <uix:styledText textBinding="TARGET_DATABASE_NAME" /> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="DV_POLICY_MGMT_TARGET_DBS_TYPE@dvPolicyMgmtMsgs" sortable="true" shortDescBinding="DV_POLICY_MGMT_TARGET_DBS_TYPE@dvPolicyMgmtMsgs" /> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat" /> <uix:styledText textBinding="TARGET_TYPE_LOCAL" /> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="DV_POLICY_MGMT_TARGET_DBS_DV_OWNER_NAME@dvPolicyMgmtMsgs" sortable="false" shortDescBinding="DV_POLICY_MGMT_TARGET_DBS_DV_OWNER_NAME@dvPolicyMgmtMsgs" /> </uix:columnHeader> <uix:messageTextInput name ="TARGET_DV_OWNER_USER" textBinding="TARGET_DV_OWNER_USER" maximumLength="90" shortDescBinding="DV_POLICY_MGMT_TARGET_DBS_DV_OWNER_NAME@dvPolicyMgmtMsgs"/> <uix:columnFormat columnDataFormat="textFormat" /> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="DV_POLICY_MGMT_TARGET_DBS_DV_OWNER_PWD@dvPolicyMgmtMsgs" sortable="false" shortDescBinding="DV_POLICY_MGMT_TARGET_DBS_DV_OWNER_PWD@dvPolicyMgmtMsgs" /> </uix:columnHeader> <uix:messageTextInput name ="TARGET_DV_OWNER_PWD" secret="true" noAutoComplete="true" textBinding="TARGET_DV_OWNER_PWD" maximumLength="90" shortDescBinding="DV_POLICY_MGMT_TARGET_DBS_DV_OWNER_PWD@dvPolicyMgmtMsgs"/> <uix:columnFormat columnDataFormat="textFormat" /> </uix:column> <uix:tableSelection> <uix:multipleSelection text="Select an item and ..."/> </uix:tableSelection> <uix:tableActions> <uix:pageButtonBar> <uix:contents> <uix:button textBinding="DV_POLICY_MGMT_ADD_TXT@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_ADD_TXT@dvPolicyMgmtMsgs" onClickBinding="ListAvailTargetsButtonAction@servletRequest"/> <uix:submitButton textBinding="DV_POLICY_MGMT_REMOVE_TXT@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_REMOVE_TXT@dvPolicyMgmtMsgs" name="event" value="REMOVE_SELECTED_TARGETS"/> </uix:contents> </uix:pageButtonBar> </uix:tableActions> </uix:table> </uix:dataScope> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:header> <uix:header textBinding="DV_POLICY_MGMT_PROP_OPTIONS_TXT@dvPolicyMgmtMsgs"> <uix:contents> <uix:tableLayout hAlign="center" cellPadding="2" cellSpacing="2" width="100%"> <uix:contents> <uix:rowLayout > <uix:contents> <uix:cellFormat> <uix:contents> <uix:messageCheckBox textBinding="DV_POLICY_MGMT_REVERT_ON_FAILURE_TXT@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_REVERT_ON_FAILURE_TXT@dvPolicyMgmtMsgs" tipBinding="DV_POLICY_MGMT_REVERT_ON_FAILURE_TIP_TXT@dvPolicyMgmtMsgs" name="REVERT_ON_FAILURE_STATE" checkedBinding="REVERT_ON_FAILURE_STATE@servletRequest" onClick="submitForm('dvPolicyMgmt',1,{'event':'CHANGE_REVERT_ON_FAILURE_STATE'});return false"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout > <uix:contents> <uix:cellFormat> <uix:contents> <uix:messageCheckBox textBinding="DV_POLICY_MGMT_COPY_ONLY_ON_ABSENCE_TXT@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_COPY_ONLY_ON_ABSENCE_TXT@dvPolicyMgmtMsgs" tipBinding="DV_POLICY_MGMT_COPY_ONLY_ON_ABSENCE_TIP_TXT@dvPolicyMgmtMsgs" name="COPY_ONLY_ON_ABSENCE_STATE" checkedBinding="COPY_ONLY_ON_ABSENCE_STATE@servletRequest" onClick="submitForm('dvPolicyMgmt',1,{'event':'CHANGE_COPY_ONLY_ON_ABSENCE_STATE'});return false"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout > <uix:contents> <uix:cellFormat> <uix:contents> <uix:messageCheckBox name="COPY_METRIC_THRESHOLDS_STATE" textBinding="DV_POLICY_MGMT_REPLACE_METRICS_TXT@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_REPLACE_METRICS_TXT@dvPolicyMgmtMsgs" tipBinding="DV_POLICY_MGMT_REPLACE_METRICS_TIP_TXT@dvPolicyMgmtMsgs" checkedBinding="COPY_METRIC_THRESHOLDS_STATE@servletRequest" onClick="submitForm('dvPolicyMgmt',1,{'event':'CHANGE_COPY_METRIC_THRESHOLDS_STATE'});return false"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:header> <uix:header textBinding="RELATED_LINKS@dbMsg"> <uix:tableLayout width="100%" cellSpacing="2"> <uix:rowLayout> <uix:cellFormat> <db:link textBinding="CONFIGURE_ALERTS@dvMsgs" destination="/console/metrics/target/metricThresholds" copyParams="target,type"/> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:header> --%> </uix:contents> <uix:pageButtons> <uix:pageButtonBar> <uix:contents> <uix:submitButton textBinding="DV_POLICY_MGMT_SHOW_SQL_TXT@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_SHOW_SQL_TXT@dvPolicyMgmtMsgs" name="event" value="SHOW_SQL"/> <uix:submitButton textBinding="DV_POLICY_MGMT_BACK_TXT@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_BACK_TXT@dvPolicyMgmtMsgs" name="event" value="CANCEL_POLICY_MGMT"/> <%-- <uix:submitButton textBinding="DV_POLICY_MGMT_OK_TXT@dvPolicyMgmtMsgs" shortDescBinding="DV_POLICY_MGMT_OK_TXT@dvPolicyMgmtMsgs" name="event" value="CONFIRM_SUBMISSION_PROPOGATE_JOB"/> --%> </uix:contents> </uix:pageButtonBar> </uix:pageButtons> <uix:pageStatus> <uix:formattedText styleUsage="instruction" textBinding="DV_POLICY_MGMT_INS_TXT@dvPolicyMgmtMsgs"/> </uix:pageStatus> </uix:pageLayout> </uix:contents> </db:form> </uix:body> </uix:document> </uix:renderingContext>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de