Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\security\vpd\addPolicy.jsp
<%@ include file="/sdk/oemTop.jspf" %> <%@ 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.db.rsc.sec.PolicyMsgID" %> <%@ page import="oracle.sysman.emo.util.UIXDataSource" %> <%@ include file="/oemNoscript.jspf" %> <% oracle.cabo.share.util.CaboHttpUtils.setNoCacheHeaders(response); %> <uix:renderingContext id="renderingContext"> <oem:setURLEncoder id="renderingContext"/> <uix:bundle name="dbMsgs" class="oracle.sysman.db.rsc.DBObjectMsg"/> <uix:bundle name="streamsMsgs" class="oracle.sysman.db.rsc.streams.StreamsMsg"/> <uix:bundle name="policyMsgs" class="oracle.sysman.db.rsc.sec.PolicyMsg"/> <uix:document> <%@ include file="/oemTitle.jspf"%> <uix:metaContainer> <uix:head titleBinding="title@servletRequest" /> <script language="JavaScript"> <%@ include file="/database/utils.js"%> </script> </uix:metaContainer> <script language="JavaScript" > <%@ include file="/database/LOV.js"%> </script> <uix:body> <uix:contents> <db:form name="addPolicy" method="POST" destination="/console/database/security/vpd/policyGroup" copyParams="target,type,otype,objectType"> <uix:formValue name="pageName" value="/database/security/vpd/addPolicy"/> <uix:formValue name="cancelURL" valueBinding="cancelURL@servletRequest"/> <uix:formValue name="backPage" valueBinding="backPage@servletRequest"/> <uix:formValue name="objectSchemaName" valueBinding="objectSchemaName@policyGroup@servletRequest"/> <uix:contents> <uix:pageLayout titleBinding="header@servletRequest"> <%@ include file="/database/global.jspf" %> <oem:messageBox messageType="info" errorTableBinding="info@servletRequest" titleTextKey="titleText" mainTextKey="mainText"/> <oem:messageBox messageType="error" errorTableBinding="errors@servletRequest" titleTextKey="titleText" mainTextKey="mainText"/> <uix:contents> <uix:tableLayout> <uix:contents> <uix:rowLayout> <uix:contents> <uix:stackLayout> <uix:contents> <uix:header textBinding="GENERAL@policyMsgs"/> <uix:rowLayout width="980"> <uix:contents> <uix:cellFormat> <uix:contents> <uix:stackLayout> <uix:contents> <uix:rowLayout hAlign="left"> <uix:contents> <uix:stackLayout> <uix:contents> <uix:rowLayout> <uix:contents> <uix:spacer width="13" height="10"/> <uix:switcher childNameBinding="alreadyAdded@policy@servletRequest"> <uix:case name="false"> <uix:messageTextInput promptBinding="POLICY_NAME@policyMsgs" shortDescBinding="POLICY_NAME@policyMsgs" required="uiOnly" name="policyName" textBinding="policyName@policy@servletRequest" /> </uix:case> <uix:case name="true"> <uix:messageStyledText textBinding="policyName@policy@servletRequest" promptBinding="POLICY_NAME@policyMsgs" shortDescBinding="POLICY_NAME@policyMsgs" styleClass="OraDataText"/> </uix:case> </uix:switcher> </uix:contents> </uix:rowLayout> <uix:spacer width="10" height="10"/> <uix:rowLayout> <uix:contents> <uix:spacer width="15" height="9"/> <uix:messageStyledText promptBinding="OBJECT_NAME@policyMsgs" shortDescBinding="OBJECT_NAME@policyMsgs" textBinding="objectSchemaName@policyGroup@servletRequest" styleClass="OraDataText"/> </uix:contents> </uix:rowLayout> <uix:spacer width="10" height="10"/> <uix:rowLayout> <uix:contents> <uix:spacer width="20" height="10"/> <uix:messageStyledText promptBinding="POLICY_GROUP@policyMsgs" shortDescBinding="POLICY_GROUP@policyMsgs" textBinding="policyGroupName@policyGroup@servletRequest" styleClass="OraDataText"/> </uix:contents> </uix:rowLayout> <uix:spacer width="10" height="10"/> <uix:rowLayout> <uix:contents> <uix:switcher childNameBinding="versionEqualOrHigher9AndLesserThan10@policy@servletRequest"> <uix:case name="true"> <uix:rowLayout> <uix:contents> <uix:spacer width="95" height="50"/> <uix:messageCheckBox textBinding="STATIC_POLICY@policyMsgs" shortDescBinding="STATIC_POLICY@policyMsgs" name="staticPolicy" messageBinding="STATIC_POLICY_TIP@policyMsgs" checkedBinding="staticPolicy@policy@servletRequest"/> </uix:contents> </uix:rowLayout> </uix:case> </uix:switcher> <uix:switcher childNameBinding="versionEqualOrHigher10@policy@servletRequest"> <uix:case name="true"> <uix:rowLayout> <uix:contents> <uix:spacer width="25" height="10"/> <uix:messageChoice name="policyTargetType" id="policyTargetType" promptBinding="POLICY_TYPE@policyMsgs" selectedValueBinding="policyTargetType@policy@servletRequest" shortDescBinding="POLICY_TYPE@policyMsgs"> <uix:contents childDataBinding="policyTypeList@policy@servletRequest"> <uix:option textBinding="textKey" valueBinding="valueKey"/> </uix:contents> </uix:messageChoice> </uix:contents> </uix:rowLayout> </uix:case> </uix:switcher> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:spacer width="95" height="50"/> <uix:messageCheckBox textBinding="ENABLED@policyMsgs" shortDescBinding="ENABLED@policyMsgs" name="enable" messageBinding="ENABLE_TIP@policyMsgs" checkedBinding="enable@policy@servletRequest"/> </uix:contents> </uix:rowLayout> <uix:spacer width="5" height="20"/> <uix:rowLayout width="500"> <uix:contents> <uix:stackLayout> <uix:contents> <uix:rowLayout width="540"> <uix:contents> <uix:header textBinding="POLICY_FUNCTION@policyMsgs"/> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:spacer width="20" height="10"/> <uix:styledText textBinding="INFO_POLICY_FUNCTION@policyMsgs" styleClass="OraInstructionText"/> </uix:contents> </uix:rowLayout> <uix:spacer width="10" height="20"/> <uix:rowLayout width="550"> <uix:contents> <uix:spacer width="20" height="10"/> <uix:messageLovField columns="50" name="policyOwnerAndFunction" shortDescBinding="POLICY_FUNCTION@policyMsgs" promptBinding="POLICY_FUNCTION@policyMsgs" required="uiOnly" textBinding="policyOwnerAndFunction@policy@servletRequest" tipBinding="EXMP_FOR_FUNCTION@policyMsgs" onClick="startLov('policyOwnerAndFunction','ListVPDPolicyFunction')"/> </uix:contents> </uix:rowLayout> <uix:spacer width="10" height="10"/> <uix:switcher childNameBinding="versionEqualOrHigher10@policy@servletRequest"> <uix:case name="true"> <uix:rowLayout> <uix:contents> <uix:spacer width="120" height="10"/> <uix:messageCheckBox textBinding="LONG_PREDICATE@policyMsgs" shortDescBinding="LONG_PREDICATE@policyMsgs" name="longPredicate" checkedBinding="longPredicate@policy@servletRequest" tipBinding="TIP_LONG_PREDICATE@policyMsgs"/> </uix:contents> </uix:rowLayout> </uix:case> </uix:switcher> <uix:spacer width="10" height="30"/> </uix:contents> </uix:stackLayout> </uix:contents> </uix:rowLayout> </uix:contents> </uix:stackLayout> </uix:contents> </uix:rowLayout> </uix:contents> </uix:stackLayout> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:switcher childNameBinding="versionEqualOrHigher9AndLesserThan10@policy@servletRequest"> <uix:case name="true"> <uix:contentContainer textBinding="OVERVIEW_POLICY_TYPES@policyMsgs" width="435"> <uix:contents> <uix:styledText textBinding="INFO_STATIC@policyMsgs" styleClass="OraInstructionText"/> </uix:contents> </uix:contentContainer> </uix:case> </uix:switcher> <uix:switcher childNameBinding="versionEqualOrHigher10@policy@servletRequest"> <uix:case name="true"> <uix:contentContainer textBinding="OVERVIEW_POLICY_TYPES@policyMsgs" width="435"> <uix:contents> <uix:styledText textBinding="INFO_STATIC@policyMsgs" styleClass="OraInstructionText"/> <uix:spacer width="10" height="10"/> <uix:styledText textBinding="INFO_SHARED_STATIC@policyMsgs" styleClass="OraInstructionText"/> <uix:spacer width="10" height="10"/> <uix:styledText textBinding="INFO_CONTEXT_SENSITIVE@policyMsgs" styleClass="OraInstructionText"/> <uix:spacer width="10" height="10"/> <uix:styledText textBinding="INFO_SHARED_CONTEXT_SENSITIVE@policyMsgs" styleClass="OraInstructionText"/> <uix:spacer width="10" height="10"/> <uix:styledText textBinding="INFO_DYNAMIC@policyMsgs" styleClass="OraInstructionText"/> </uix:contents> </uix:contentContainer> </uix:case> </uix:switcher> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:stackLayout> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat width="900"> <uix:contents> <uix:header textBinding="ENFORCEMENT@policyMsgs"/> <uix:rowLayout> <uix:contents> <uix:spacer width="20" height="10"/> <uix:styledText textBinding="INFO_OPERATION_TYPES@policyMsgs" styleClass="OraInstructionText"/> </uix:contents> </uix:rowLayout> <uix:spacer width="10" height="10"/> <uix:rowLayout> <uix:contents> <uix:spacer width="25" height="10"/> <uix:stackLayout> <uix:contents> <uix:messageCheckBox textBinding="INSERT@policyMsgs" name="insert" checkedBinding="insert@policy@servletRequest"/> <uix:messageCheckBox textBinding="UPDATE@policyMsgs" name="update" checkedBinding="update@policy@servletRequest"/> <uix:messageCheckBox textBinding="DELETE@policyMsgs" name="delete" checkedBinding="delete@policy@servletRequest"/> <uix:messageCheckBox textBinding="SELECT@policyMsgs" name="select" checkedBinding="select@policy@servletRequest"/> <uix:messageCheckBox textBinding="INDEX@policyMsgs" name="index" checkedBinding="index@policy@servletRequest"/> <uix:messageCheckBox textBinding="CHECK_OPTION@policyMsgs" name="checkOption" checkedBinding="checkOption@policy@servletRequest" tipBinding="TIP_CHECK_OPTION@policyMsgs" /> </uix:contents> </uix:stackLayout> </uix:contents> </uix:rowLayout> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:stackLayout> <uix:contents> <%----%> <uix:header textBinding="SECURITY_RELEVANT_COLUMNS@policyMsgs"/> <%----%> <uix:rowLayout width="980"> <uix:contents> <uix:cellFormat width="500"> <uix:contents> <%----%> <uix:stackLayout> <uix:contents> <uix:rowLayout width="500"> <uix:contents> <uix:spacer width="20" height="10"/> <uix:styledText textBinding="INFO_SEC_REL_COLS@policyMsgs" styleClass="OraInstructionText"/> </uix:contents> </uix:rowLayout> <uix:spacer width="10" height="30"/> <uix:rowLayout width="500"> <uix:messageCheckBox name="masking" textBinding="COLUMN_MASKING@policyMsgs" tipBinding="TIP_COLUMN_MASKING@policyMsgs" styleClass="OraInstructionText" checkedBinding="masking@policy@servletRequest"/> </uix:rowLayout> <uix:rowLayout width="500"> <uix:contents> <uix:spacer width="120" height="10"/> <uix:submitButton textBinding="ADD@dbMsgs" shortDescBinding="ADD@dbMsgs" name="event" value="showColumnsLov"/> </uix:contents> </uix:rowLayout> <uix:rowLayout hAlign="left" width="400"> <uix:contents> <uix:spacer width="20" height="10"/> <uix:dataScope currentDataBinding="secColList@servletRequest"> <uix:table name="secColList" alternateTextBinding="NO_ITEMS_FOUND@policyMsgs" formSubmitted="true" width="100%" tableDataBinding="<%= UIXDataSource.S_ROW_DATA_ATTR %>" minValue="1" valueBinding="<%= UIXDataSource.S_START_INDEX_ATTR %>" blockSizeBinding="<%= UIXDataSource.S_BLOCK_SIZE_ATTR %>" maxValueBinding="<%= UIXDataSource.S_NUM_ROWS_ATTR %>" > <%--<uix:table blockSize="5" alternateTextBinding="NO_ITEMS_FOUND@policyMsgs" summaryBinding="SECURITY_RELEVANT_COLUMNS@policyMsgs" shortDescBinding="SECURITY_RELEVANT_COLUMNS@policyMsgs" width="400">--%> <uix:contents> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="NAME@policyMsgs" sortable="no"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat"/> <uix:text textBinding="<%= PolicyMsgID.NAME %>"/> </uix:column> </uix:contents> <uix:tableSelection> <uix:singleSelection shortDescBinding="SECURITY_RELEVANT_COLUMNS@policyMsgs"/> </uix:tableSelection> <uix:tableActions> <uix:flowLayout> <uix:contents> <uix:spacer width="35" height="10"/> <uix:submitButton textBinding="REMOVE@dbMsgs" shortDescBinding="REMOVE@dbMsgs" name="event" value="removeCols"/> </uix:contents> </uix:flowLayout> </uix:tableActions> </uix:table> </uix:dataScope> </uix:contents> </uix:rowLayout> <uix:spacer width="10" height="100"/> <uix:rowLayout width="500"> <uix:contents> <uix:spacer width="20" height="10"/> </uix:contents> </uix:rowLayout> <uix:spacer width="10" height="30"/> </uix:contents> </uix:stackLayout> <%----%> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <%----%> <uix:contentContainer textBinding="OVERVIEW_CLVPD@policyMsgs" width="450"> <uix:contents> <uix:styledText textBinding="CONTAINER_LINE1@policyMsgs" styleClass="OraInstructionText"/> <uix:spacer width="10" height="10"/> <uix:styledText textBinding="CONTAINER_LINE2@policyMsgs" styleClass="OraInstructionText"/> <uix:spacer width="10" height="10"/> <uix:styledText textBinding="CONTAINER_LINE3@policyMsgs" styleClass="OraInstructionText"/> <uix:spacer width="10" height="10"/> <uix:styledText textBinding="CONTAINER_LINE4@policyMsgs" styleClass="OraInstructionText"/> </uix:contents> </uix:contentContainer> <%----%> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:stackLayout> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> <uix:pageButtons> <uix:pageButtonBar> <uix:contents> <uix:submitButton textBinding="CANCEL@dbMsgs" name="event" value="doCancelAddPolicy" shortDescBinding="CANCEL@dbMsgs" /> <uix:submitButton shortDescBinding="CONTINUE@dbMsgs" textBinding="CONTINUE@dbMsgs" name="event" value="doAddPolicy"/> </uix:contents> </uix:pageButtonBar> </uix:pageButtons> </uix:pageLayout> </uix:contents> </db:form> </uix:contents> </uix:body> </uix:document> </uix:renderingContext>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de