Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\security\vpd\policy.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"/> <db:script src="/database/LOV.js"/> <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"/> </uix:metaContainer> <uix:body> <db:form name="policy" method="POST" destination="/console/database/security/vpd/policy" copyParams="target,type,otype,objectType"> <uix:contents> <uix:pageLayout titleBinding="header@servletRequest" > <%@ include file="/database/global.jspf" %> <uix:formValue name="pageName" value="/database/security/vpd/policy"/> <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:styledText textBinding="VPD_POLICY_GEN_INFO@policyMsgs" styleClass="OraInstructionText"/> <uix:spacer width="10" height="10"/> <uix:spacer width="10" height="10"/> <uix:subTabLayout> <uix:subTabs> <uix:subTabBar selectedIndex="0"> <uix:contents> <uix:link textBinding="POLICY@policyMsgs" destinationBinding="POLICY_URL@servletRequest"/> <uix:link textBinding="ADV_OPTIONS@policyMsgs" destinationBinding="ADV_POLICY_URL@servletRequest"/> </uix:contents> </uix:subTabBar> </uix:subTabs> <uix:contents> <uix:stackLayout> <uix:contents> <uix:styledText textBinding="VPD_POLICY_INFO@policyMsgs" styleClass="OraInstructionText"/> <uix:spacer width="10" height="10"/> <uix:header textBinding="SEARCH@dbMsgs"/> <uix:rowLayout> <uix:contents> <uix:spacer width="20" height="10"/> <uix:styledText textBinding="SEARCH_INFO_MAIN_PAGE@policyMsgs" styleClass="OraInstructionText"/> </uix:contents> </uix:rowLayout> <uix:spacer height="10" width="100"/> <uix:tableLayout width="45%" cellSpacing="5"> <uix:contents> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:messageStyledText labeledNodeId="schemaName" styleClass="OraInstructionText" textBinding="SCHEMA_NAME@policyMsgs"/> </uix:contents> </uix:cellFormat> <uix:cellFormat/> <uix:cellFormat hAlign="left"> <uix:contents> <uix:messageLovField shortDescBinding="SCHEMA_NAME@policyMsgs" searchDescBinding="SCHEMA_NAME@policyMsgs" id="schemaName" name="schemaName" onClick="startLov('schemaName','ListSchema')" textBinding="schemaName@policyList@servletRequest"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:messageStyledText labeledNodeId="objectSchemaName" styleClass="OraInstructionText" textBinding="OBJECT_NAME@policyMsgs"/> </uix:contents> </uix:cellFormat> <uix:cellFormat/> <uix:cellFormat hAlign="left"> <uix:contents> <uix:messageLovField shortDescBinding="OBJECT_NAME@policyMsgs" searchDescBinding="OBJECT_NAME@policyMsgs" id="objectSchemaName" name="objectSchemaName" onClick="setSearchFilter('schemaName');startLov('objectSchemaName','ListDBobjectForSearchVPD')" textBinding="objectSchemaName@policyList@servletRequest"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:messageStyledText labeledNodeId="policySearchName" styleClass="OraInstructionText" textBinding="POLICY_NAME@policyMsgs"/> </uix:contents> </uix:cellFormat> <uix:cellFormat/> <uix:cellFormat hAlign="left"> <uix:contents> <uix:messageTextInput shortDescBinding="POLICY_NAME@policyMsgs" id="policySearchName" name="policySearchName" textBinding="policySearchName@policyList@servletRequest"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat/> <uix:cellFormat/> <uix:cellFormat hAlign="left" width="75%"> <uix:contents> <uix:submitButton shortDescBinding="GO@dbMsgs" textBinding="GO@dbMsgs" onFocus="true" selected="true" name="event" value="search"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> <uix:separator/> <uix:spacer height="10" width="95"/> <uix:rowLayout> <uix:contents> <uix:spacer width="20" height="10"/> <uix:tableLayout> <uix:contents> <uix:rowLayout> <uix:contents> <uix:messageChoice promptBinding="SELECTION_MODE@dbMsgs" selectedValueBinding="selectionMode@servletRequest" name="selectionMode" onChange="submitForm('policy', true, {event:'selectionModeChanged'})"> <uix:contents> <uix:option textBinding="SINGLE@dbMsgs" value="0"/> <uix:option textBinding="MULTIPLE@dbMsgs" value="1"/> </uix:contents> </uix:messageChoice> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" vAlign="middle" width="650"> <uix:contents> <uix:submitButton shortDescBinding="CREATE@dbMsgs" textBinding="CREATE@dbMsgs" name="event" value="create"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout width="100%"> <uix:contents> <uix:cellFormat width="90%"> <uix:contents> <uix:switcher childNameBinding="selectionMode@servletRequest"> <uix:case name="0"> <uix:dataScope currentDataBinding="policyList@servletRequest"> <uix:table name="policyList" alternateTextBinding="tableAlterText" formSubmitted="true" width="100%" tableDataBinding="rowData" valueBinding="startIndex" maxValueBinding="numRows" minValue="1" blockSize="10" id="policyList" summaryBinding="POLICY_LIST_SUMMARY@policyMsgs" shortDescBinding="POLICY_LIST_SUMMARY@policyMsgs" > <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="POLICY@policyMsgs" sortable="true"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat" /> <uix:link destinationBinding="viewURL" textBinding="<%= PolicyMsgID.POLICY %>" /> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="OBJECT_NAME@policyMsgs" sortable="yes"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat"/> <uix:text textBinding="<%= PolicyMsgID.OBJECT_NAME %>"/> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="SCHEMA@policyMsgs" sortable="yes"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat"/> <uix:text textBinding="<%= PolicyMsgID.SCHEMA %>"/> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="OBJECT_TYPE@policyMsgs" sortable="no"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat"/> <uix:text textBinding="<%= PolicyMsgID.OBJECT_TYPE %>"/> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="POLICY_GROUP@policyMsgs" sortable="no"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat" /> <uix:text textBinding="<%= PolicyMsgID.POLICY_GROUP %>"/> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="ENABLED@policyMsgs" sortable="no"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="iconButtonFormat" /> <uix:image sourceBinding="enabledIconDest"/> </uix:column> <uix:tableSelection> <uix:singleSelection selectedIndex="0" shortDescBinding="POLICY_LIST_SUMMARY@policyMsgs" > <uix:contents> <uix:submitButton textBinding="CREATE_LIKE@dbMsgs" shortDescBinding="CREATE_LIKE@dbMsgs" name="event" value="createLike" /> <uix:spacer width="10" height="10"/> <uix:submitButton textBinding="VIEW@dbMsgs" shortDescBinding="VIEW@dbMsgs" name="event" value="view"/> <uix:spacer width="10" height="10"/> <uix:submitButton textBinding="ENABLE_DISABLE@policyMsgs" shortDescBinding="ENABLE_DISABLE@policyMsgs" name="event" value="enable_disable"/> <uix:spacer width="10" height="10"/> <uix:submitButton textBinding="DELETE@dbMsgs" shortDescBinding="DELETE@dbMsgs" name="event" value="delete"/> </uix:contents> </uix:singleSelection> </uix:tableSelection> </uix:table> </uix:dataScope> </uix:case> <uix:case name="1"> <uix:dataScope currentDataBinding="policyList@servletRequest"> <uix:table name="policyList" alternateTextBinding="tableAlterText" formSubmitted="true" width="100%" tableDataBinding="rowData" valueBinding="startIndex" maxValueBinding="numRows" minValue="1" blockSize="10" id="policyList" summaryBinding="POLICY_LIST_SUMMARY@policyMsgs" shortDescBinding="POLICY_LIST_SUMMARY@policyMsgs" > <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="POLICY@policyMsgs" sortable="true"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat" /> <uix:link destinationBinding="viewURL" textBinding="<%= PolicyMsgID.POLICY %>" /> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="OBJECT_NAME@policyMsgs" sortable="yes"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat"/> <uix:text textBinding="<%= PolicyMsgID.OBJECT_NAME %>"/> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="SCHEMA@policyMsgs" sortable="yes"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat"/> <uix:text textBinding="<%= PolicyMsgID.SCHEMA %>"/> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="OBJECT_TYPE@policyMsgs" sortable="no"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat"/> <uix:text textBinding="<%= PolicyMsgID.OBJECT_TYPE %>"/> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="POLICY_GROUP@policyMsgs" sortable="no"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat" /> <uix:text textBinding="<%= PolicyMsgID.POLICY_GROUP %>"/> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="ENABLED@policyMsgs" sortable="no"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="iconButtonFormat" /> <uix:image sourceBinding="enabledIconDest"/> </uix:column> <uix:tableSelection> <uix:multipleSelection shortDescBinding="POLICY_SELECT@policyMsgs"> <uix:contents> <uix:submitButton textBinding="DELETE@dbMsgs" shortDescBinding="DELETE@dbMsgs" name="event" value="delete"/> </uix:contents> </uix:multipleSelection> </uix:tableSelection> </uix:table> </uix:dataScope> </uix:case> </uix:switcher> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:rowLayout> <uix:spacer height="20" width="95"/> </uix:contents> </uix:stackLayout> </uix:contents> </uix:subTabLayout> </uix:contents> </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