Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\instance\recovery\recoveryPage.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.emo.adm.instance.recovery.RecoveryPageBean"%> <db:script src="/database/instance/recovery/recoveryUtil.js"/> <uix:renderingContext id="renderingContext"><oem:setURLEncoder id="renderingContext"/> <script language="javascript"> function setFocus() { <% boolean showFRA = ((RecoveryPageBean)request.getAttribute("pageBean")).getFocusFRA(); if(showFRA) { %> window.location.href = "#FRA"; <% } %> } </script> <uix:document> <%@ include file="/oemTitle.jspf" %> <uix:body onLoad="setFocus()"> <db:form name="foo" method="POST" copyParams="target,type" destinationBinding="controllerPath@servletRequest"> <uix:formValue name="pageName" value="/database/instance/recovery/recoveryPage"/> <uix:formValue name="lovName"/> <uix:formValue name="listingType"/> <uix:formValue name="curDir"/> <uix:formValue name="defaultMethod"/> <uix:pageLayout> <%@ include file="/database/global.jspf" %> <uix:contentFooter> <uix:pageButtonBar> <uix:submitButton textBinding="SHOWSQL@recoveryMsgBundle@servletRequest" name="event" value="showSql" shortDescBinding="SHOWSQL@recoveryMsgBundle@servletRequest"/> <uix:submitButton textBinding="REVERT@recoveryMsgBundle@servletRequest" name="event" value="revert" unvalidated="true" shortDescBinding="REVERT@recoveryMsgBundle@servletRequest"/> <uix:submitButton textBinding="APPLY@recoveryMsgBundle@servletRequest" name="event" value="apply" shortDescBinding="APPLY@recoveryMsgBundle@servletRequest"/> </uix:pageButtonBar> </uix:contentFooter> <uix:stackLayout> <oem:messageBox messageTypeBinding="messageType@servletRequest" errorTableBinding="msgBox@servletRequest" destTableBinding="msgUrls@servletRequest" titleTextKey="titleText" mainTextKey="mainText"/> <uix:switcher childNameBinding="connectingRole@pageBean@servletRequest"> <uix:case name="normal"> <uix:rowLayout> <uix:stackLayout> <uix:spacer height="5"/> <uix:messagePrompt messageType="warning" promptBinding="NOTSYSDBAMSG@recoveryMsgBundle@servletRequest"/> </uix:stackLayout> </uix:rowLayout> </uix:case> </uix:switcher> <uix:header textBinding="MAINTITLE@recoveryMsgBundle@servletRequest"> <uix:tableLayout width="100%"> <uix:rowLayout hAlign="right"> <uix:pageButtonBar> <uix:submitButton textBinding="SHOWSQL@recoveryMsgBundle@servletRequest" name="event" value="showSql" shortDescBinding="SHOWSQL@recoveryMsgBundle@servletRequest"/> <uix:submitButton textBinding="REVERT@recoveryMsgBundle@servletRequest" name="event" value="revert" unvalidated="true" shortDescBinding="REVERT@recoveryMsgBundle@servletRequest"/> <uix:submitButton textBinding="APPLY@recoveryMsgBundle@servletRequest" name="event" value="apply" shortDescBinding="APPLY@recoveryMsgBundle@servletRequest"/> </uix:pageButtonBar> </uix:rowLayout> </uix:tableLayout> <uix:switcher childNameBinding="DBVer820OrUp@recoveryObj@pageBean@servletRequest"> <uix:case name="true"> <uix:header textBinding="INSTANCETITLE@recoveryMsgBundle@servletRequest"> <uix:tableLayout cellSpacing="5"> <uix:rowLayout> <uix:cellFormat hAlign="left"> <uix:styledText styleClass="oraFieldText" textBinding="INSTANCERECOVERYMODEMSG@recoveryMsgBundle@servletRequest"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:tableLayout> <uix:rowLayout> <uix:cellFormat> <uix:spacer width="20"/> </uix:cellFormat> <uix:cellFormat> <uix:tableLayout> <uix:rowLayout> <uix:spacer height="5"/> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat hAlign="right"> <uix:styledText styleClass="oraFieldText" textBinding="CURRENTMTTR@recoveryMsgBundle@servletRequest"/> </uix:cellFormat> <uix:cellFormat> <uix:spacer width="5"/> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:flowLayout> <uix:styledText styleClass="OraDataText" textBinding="currentMTTR@recoveryObj@pageBean@servletRequest"/> </uix:flowLayout> </uix:cellFormat> </uix:rowLayout> <uix:switcher childNameBinding="isRac@servletRequest"> <uix:case name="true"> <uix:rowLayout> <uix:cellFormat/> <uix:cellFormat/> <uix:cellFormat columnSpan="3"> <uix:styledText styleClass="OraInlineInfoText" textBinding="MAXVALUEMSG@recoveryMsgBundle@servletRequest"/> </uix:cellFormat> </uix:rowLayout> </uix:case> </uix:switcher> <uix:rowLayout> <uix:spacer height="5"/> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat hAlign="right"> <uix:styledText styleClass="oraFieldText" textBinding="DESIREDMTTR@recoveryMsgBundle@servletRequest"/> <uix:styledText styleClass="OraTipText" textBinding="STATICPARAMTOKEN@recoveryMsgBundle@servletRequest" renderedBinding="isDesiredMTTRStatic@recoveryObj@pageBean@servletRequest"/> </uix:cellFormat> <uix:cellFormat> <uix:spacer width="5"/> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:stackLayout> <uix:textInput name="desiredMTTR" columns="10" shortDescBinding="STATICPARAMTOKEN@recoveryMsgBundle@servletRequest" disabledBinding="isDesiredMTTRReadOnly@recoveryObj@pageBean@servletRequest" textBinding="desiredMTTR@recoveryObj@pageBean@servletRequest"/> <uix:messageText messageType="error" messageBinding="desiredMTTR@msgBox@servletRequest"/> </uix:stackLayout> </uix:cellFormat> <uix:cellFormat> <uix:spacer width="5"/> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:choice name="desiredMTTRUnit" shortDescBinding="STATICPARAMTOKEN@recoveryMsgBundle@servletRequest" disabledBinding="isDesiredMTTRReadOnly@recoveryObj@pageBean@servletRequest" selectedValueBinding="desiredMTTRUnit@recoveryObj@pageBean@servletRequest"> <uix:option textBinding="SECONDS@recoveryMsgBundle@servletRequest" value="0"/> <uix:option textBinding="MINUTES@recoveryMsgBundle@servletRequest" value="1"/> </uix:choice> </uix:cellFormat> <uix:switcher childNameBinding="isRac@servletRequest"> <uix:case name="true"/> <uix:default> <uix:switcher childNameBinding="DBVer902OrUp@recoveryObj@pageBean@servletRequest"> <uix:case name="true"> <uix:switcher childNameBinding="isAdvisoriesTurnedOn@recoveryObj@pageBean@servletRequest"> <uix:case name="0"> <%-- advice is not on --%> <uix:cellFormat hAlign="left"> <uix:spacer width="5"/> <uix:submitButton textBinding="ENABLEADVISORIES@recoveryMsgBundle@servletRequest" name="event" value="enbaleAdvisories" shortDescBinding="ENABLEADVISORIES@recoveryMsgBundle@servletRequest"/> </uix:cellFormat> </uix:case> </uix:switcher> </uix:case> </uix:switcher> </uix:default> </uix:switcher> </uix:rowLayout> <uix:switcher childNameBinding="FSMTValuesDif@recoveryObj@pageBean@servletRequest" renderedBinding="isRac@servletRequest"> <uix:case name="true"> <uix:rowLayout> <uix:cellFormat/> <uix:cellFormat/> <uix:cellFormat columnSpan="3"> <uix:styledText styleClass="OraInlineErrorText" textBinding="VALUEDIFMSG@recoveryMsgBundle@servletRequest"/> </uix:cellFormat> </uix:rowLayout> </uix:case> </uix:switcher> </uix:tableLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:rowLayout> <uix:switcher childNameBinding="isRac@servletRequest"> <uix:case name="true"> <uix:rowLayout/> </uix:case> <uix:default> <uix:switcher childNameBinding="DBVer902OrUp@recoveryObj@pageBean@servletRequest"> <uix:case name="true"> <uix:switcher childNameBinding="isAdvisoriesTurnedOn@recoveryObj@pageBean@servletRequest"> <uix:case name="1"> <%-- advice is on --%> <uix:rowLayout> <uix:switcher childNameBinding="isMTTRAdviceAvailable@pageBean@servletRequest"> <uix:case name="true"> <uix:image width="350" height="250" sourceBinding="MTTRAdviceLink@pageBean@servletRequest"/> </uix:case> <%------- Venkat doesn't want the following message ------ <uix:case name="false"> <uix:styledText styleClass="OraErrorText" textBinding="MTTR_AD_UNAVAILABLE@recoveryMsgBundle@servletRequest"/> </uix:case> -----------------------------------------------------%> </uix:switcher> </uix:rowLayout> </uix:case> </uix:switcher> </uix:case> </uix:switcher> </uix:default> </uix:switcher> </uix:tableLayout> </uix:header> </uix:case> </uix:switcher> <uix:header textBinding="MEADIATITLE@recoveryMsgBundle@servletRequest"> <uix:tableLayout cellSpacing="5"> <uix:rowLayout> <uix:flowLayout> <uix:switcher childNameBinding="origArchiveLogMode@recoveryObj@pageBean@servletRequest"> <uix:case name="true"> <uix:styledText styleClass="oraFieldText" textBinding="ARCHIVELOGMODEMSG@recoveryMsgBundle@servletRequest"/> </uix:case> <uix:case name="false"> <uix:styledText styleClass="oraFieldText" textBinding="NOTARCHIVELOGMODEMSG@recoveryMsgBundle@servletRequest"/> </uix:case> </uix:switcher> <uix:styledText styleClass="oraFieldText" textBinding="LOGARCHIVEADIVCEMSG@recoveryMsgBundle@servletRequest"/> </uix:flowLayout> </uix:rowLayout> <uix:rowLayout> <uix:flowLayout> <uix:checkBox name="archiveLogMode" value="true" styleClass="oraFieldText" checkedBinding="archiveLogMode@recoveryObj@pageBean@servletRequest" disabledBinding="isArchiveLogModeReadOnly@recoveryObj@pageBean@servletRequest" shortDescBinding="ARCHIVELOGMODE@recoveryMsgBundle@servletRequest" textBinding="ARCHIVELOGMODE@recoveryMsgBundle@servletRequest"/> <uix:styledText styleClass="OraTipText" textBinding="STATICPARAMTOKEN@recoveryMsgBundle@servletRequest"/> </uix:flowLayout> </uix:rowLayout> <uix:rowLayout> <uix:tableLayout cellSpacing="5"> <uix:rowLayout> <uix:cellFormat> <uix:spacer width="20"/> </uix:cellFormat> <uix:cellFormat> <uix:tableLayout cellSpacing="5"> <uix:switcher childNameBinding="AAMValuesDif@recoveryObj@pageBean@servletRequest" renderedBinding="DBVerBelow10@recoveryObj@pageBean@servletRequest"> <uix:case name="true"> <uix:rowLayout> <uix:tableLayout> <uix:rowLayout> <uix:cellFormat> <uix:styledText styleClass="OraFieldText" textBinding="AUTOARCHIVE@recoveryMsgBundle@servletRequest"/> <uix:styledText styleClass="OraTipText" textBinding="STATICPARAMTOKEN@recoveryMsgBundle@servletRequest" renderedBinding="racAutoArchiveModeStatic@recoveryObj@pageBean@servletRequest"/> <uix:spacer width="5"/> </uix:cellFormat> <uix:cellFormat> <uix:radioButton name="autoArchiveMode" textBinding="ENABLE@recoveryMsgBundle@servletRequest" selectedBinding="autoArchiveModeEnabled@recoveryObj@pageBean@servletRequest" disabledBinding="isAutoArchiveModeReadOnly@recoveryObj@pageBean@servletRequest" value="TRUE"/> </uix:cellFormat> <uix:cellFormat> <uix:radioButton name="autoArchiveMode" textBinding="DISABLE@recoveryMsgBundle@servletRequest" selectedBinding="autoArchiveModeDisabled@recoveryObj@pageBean@servletRequest" disabledBinding="isAutoArchiveModeReadOnly@recoveryObj@pageBean@servletRequest" value="FALSE"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat/> <uix:cellFormat columnSpan="2"> <uix:styledText styleClass="OraInlineErrorText" textBinding="VALUEDIFMSG@recoveryMsgBundle@servletRequest"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat columnSpan="3"> <uix:styledText styleClass="OraInlineInfoText" textBinding="AUTOARCHIVE_DESC@recoveryMsgBundle@servletRequest"/> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:rowLayout> </uix:case> <uix:default> <uix:rowLayout> <uix:stackLayout> <uix:rowLayout> <uix:checkBox name="autoArchiveMode" value="true" styleClass="oraFieldText" checkedBinding="autoArchiveMode@recoveryObj@pageBean@servletRequest" disabledBinding="isAutoArchiveModeReadOnly@recoveryObj@pageBean@servletRequest" shortDescBinding="AUTOARCHIVE@recoveryMsgBundle@servletRequest" textBinding="AUTOARCHIVE@recoveryMsgBundle@servletRequest"/> <uix:switcher childNameBinding="isRac@servletRequest"> <uix:case name="true"> <uix:styledText styleClass="OraTipText" textBinding="STATICPARAMTOKEN@recoveryMsgBundle@servletRequest" renderedBinding="racAutoArchiveModeStatic@recoveryObj@pageBean@servletRequest"/> </uix:case> </uix:switcher> </uix:rowLayout> <uix:styledText styleClass="OraInlineInfoText" textBinding="AUTOARCHIVE_DESC@recoveryMsgBundle@servletRequest"/> </uix:stackLayout> </uix:rowLayout> </uix:default> </uix:switcher> <%-- Archive Log Compression --%> <%-- DISABLE for 10g as requested by bug 3154244 <uix:rowLayout renderedBinding="DBVer10OrUp@recoveryObj@pageBean@servletRequest"> <uix:stackLayout> <uix:checkBox name="archiveLogCompression" value="true" styleClass="oraFieldText" checkedBinding="archiveLogCompression@recoveryObj@pageBean@servletRequest" disabledBinding="isArchiveLogCompressionReadOnly@recoveryObj@pageBean@servletRequest" shortDescBinding="ARCHIVELOGCOMPRESSION@recoveryMsgBundle@servletRequest" textBinding="ARCHIVELOGCOMPRESSION@recoveryMsgBundle@servletRequest"/> <uix:styledText styleClass="OraInlineInfoText" textBinding="ARCLOGCOMPRESSION_DESC@recoveryMsgBundle@servletRequest"/> </uix:stackLayout> </uix:rowLayout> --%> <uix:rowLayout> <uix:tableLayout> <uix:rowLayout> <uix:tableLayout> <uix:rowLayout> <uix:cellFormat hAlign="left"> <uix:styledText styleClass="oraFieldText" labeledNodeId="logArchiveFormat" textBinding="LOGARCHIVEFORMAT@recoveryMsgBundle@servletRequest"/> <uix:styledText styleClass="OraTipText" textBinding="STATICPARAMTOKEN@recoveryMsgBundle@servletRequest" renderedBinding="isLogArchiveFormatStatic@recoveryObj@pageBean@servletRequest"/> <uix:spacer width="5"/> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:stackLayout> <uix:textInput name="logArchiveFormat" id="logArchiveFormat" columns="30" disabledBinding="isLogArchiveFormatReadOnly@recoveryObj@pageBean@servletRequest" textBinding="logArchiveFormat@recoveryObj@pageBean@servletRequest"/> <uix:messageText messageType="error" messageBinding="logArchiveFormat@msgBox@servletRequest"/> </uix:stackLayout> </uix:cellFormat> </uix:rowLayout> <uix:switcher childNameBinding="LAFValuesDif@recoveryObj@pageBean@servletRequest" renderedBinding="isRac@servletRequest"> <uix:case name="true"> <uix:rowLayout> <uix:cellFormat/> <uix:cellFormat> <uix:styledText styleClass="OraInlineErrorText" textBinding="VALUEDIFMSG@recoveryMsgBundle@servletRequest"/> </uix:cellFormat> </uix:rowLayout> </uix:case> </uix:switcher> </uix:tableLayout> </uix:rowLayout> </uix:tableLayout> </uix:rowLayout> <%-- <uix:switcher childNameBinding="connectingRole@pageBean@servletRequest" renderedBinding="isLogArchiveDestUpgradable@recoveryObj@pageBean@servletRequest"> <uix:case name="sysdba"> <uix:rowLayout> <uix:tip> <uix:styledText textBinding="UPGRADELOGARCHIVEDESTMSG@recoveryMsgBundle@servletRequest"/> </uix:tip> </uix:rowLayout> </uix:case> </uix:switcher> --%> <uix:rowLayout> <uix:tableLayout cellSpacing="5"> <uix:rowLayout> <oem:table name="logArchiveDestDS" beanKey="pageBean" dataSourceProp="logArchiveDestDS" blockSize="10" destination="recovery" formSubmitted="true" width="100%" summaryBinding="ARCHIVELOG@recoveryMsgBundle@servletRequest"> <uix:columnFooter> <uix:addTableRow rows="1" renderedBinding="isRowAddable@pageBean@servletRequest"/> </uix:columnFooter> </oem:table> </uix:rowLayout> <uix:rowLayout> <uix:stackLayout> <uix:tip> <uix:styledText textBinding="LOGARCHIVEFILEMSG@recoveryMsgBundle@servletRequest"/> </uix:tip> <uix:tip> <uix:styledText textBinding="maxLogDestNumMsg@pageBean@servletRequest"/> </uix:tip> </uix:stackLayout> </uix:rowLayout> </uix:tableLayout> </uix:rowLayout> </uix:tableLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:rowLayout> <uix:rowLayout> <uix:stackLayout> <uix:checkBox name="minSuppLogging" styleClass="oraFieldText" checkedBinding="minSuppLogging@recoveryObj@pageBean@servletRequest" disabledBinding="isAutoArchiveModeReadOnly@recoveryObj@pageBean@servletRequest" shortDescBinding="MIN_SUPP_LOGGING@recoveryMsgBundle@servletRequest" textBinding="MIN_SUPP_LOGGING@recoveryMsgBundle@servletRequest"/> <uix:styledText styleClass="OraInlineInfoText" textBinding="MIN_SUPP_LOGGING_DESC@recoveryMsgBundle@servletRequest"/> </uix:stackLayout> </uix:rowLayout> </uix:tableLayout> </uix:header> <uix:include node="/database/instance/recovery/recoveryArea.jsp"/> <uix:spacer height="10"/> <uix:rowLayout renderedBinding="useSPFile@pageBean@servletRequest"> <uix:checkBox name="applyToSPFILEOnly" checkedBinding="applyToSPFILEOnly@pageBean@servletRequest" shortDescBinding="APPLYSPFILEONLYMSG@recoveryMsgBundle@servletRequest" textBinding="APPLYSPFILEONLYMSG@recoveryMsgBundle@servletRequest"/> </uix:rowLayout> <uix:spacer height="10"/> <!-- Required for scrotting to Flash Recovery Area directly --> <uix:rawText> <a name="FRA" id="FRA"/> </uix:rawText> <uix:rowLayout> <uix:styledText styleClass="OraTipText" textBinding="STATICPARAMMSG@recoveryMsgBundle@servletRequest"/> </uix:rowLayout> </uix:header> </uix:stackLayout> </uix:pageLayout> </db:form> </uix:body> </uix:document> </uix:renderingContext>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de