Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\txt\textIndexViewErrors.jsp
<%@ include file="/sdk/oemTop.jspf" %> <%@ include file="/oemNoscript.jspf" %> <%@ page import="oracle.sysman.emo.util.UIXDataSource"%> <%@ page import="oracle.sysman.emo.txt.TextIndexHealthList"%> <%@ page import="oracle.sysman.emo.txt.TextIndexErrorViewDataSource"%> <%@ page import="java.util.Iterator"%> <%@ page import="java.util.HashMap"%> <%@ page import="java.util.Date"%> <%@ 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.txt.TextIndexHealthList"%> <%@ page import="oracle.cabo.ui.partial.PartialPageUtils"%> <%@ page import="java.util.ResourceBundle"%> <%@ page import="oracle.sysman.emSDK.util.jdk.NLSUtil"%> <%@ page import="oracle.sysman.db.rsc.txt.TextMsgID"%> <%@ page import="oracle.sysman.db.rsc.txt.TextMsg"%> <% oracle.cabo.share.util.CaboHttpUtils.setNoCacheHeaders(response); %> <uix:renderingContext id="renderingContext"> <oem:setURLEncoder id="renderingContext"/> <uix:bundle name="SDKUIResourceBundle" class="oracle.sysman.emSDK.eml.SDKUIMsg"/> <uix:bundle name="DbRscInstBundle" class="oracle.sysman.db.rsc.inst.DBMsg"/> <uix:bundle name="textRB" class="oracle.sysman.db.rsc.txt.TextMsg"/> <uix:document> <%@ include file="/oemTitle.jspf" %> <% String indexName = (String)request.getAttribute("index_name"); String indexOwner = (String)request.getAttribute("index_owner"); StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle"); oemTitle.append("-"); ResourceBundle rbt0 = NLSUtil.getBundle(TextMsg.class.getName(), request); String titleTxt = rbt0.getString(TextMsgID.INDEX_ERRORS_TITLE); if (indexName != null) titleTxt = titleTxt + indexOwner + "." +indexName; TextIndexHealthList healthDS = (TextIndexHealthList)request.getAttribute("HEALTH_BEAN"); TextIndexErrorViewDataSource errDS = healthDS.getSelectedIndexErrorDetails(); String partitionName = healthDS.getSelectedIndexPartitionName(); if (partitionName != null) { titleTxt = titleTxt + ":" + partitionName; } String mstartDate = errDS.getStartDate(); String mstartHour = errDS.getStartHour(); String mstartMin = errDS.getStartMin(); String mstartTime = errDS.getStartTime(); if (mstartDate == null) mstartDate = ""; if (mstartHour == null) mstartHour = ""; if (mstartMin == null) mstartMin = ""; if (mstartTime == null) mstartTime = ""; String mendDate = errDS.getEndDate(); String mendHour = errDS.getEndHour(); String mendMin = errDS.getEndMin(); String mendTime = errDS.getEndTime(); if (mendDate == null) mendDate = ""; if (mendHour == null) mendHour = ""; if (mendMin == null) mendMin = ""; if (mendTime == null) mendTime = ""; %> <uix:metaContainer> <uix:head title="<%=oemTitle+titleTxt%>"/> </uix:metaContainer> <uix:body> <uix:contents> <uix:form name="form0" method="post"> <uix:contents> <uix:pageLayout title="<%=titleTxt%>"> <%@ include file="/oemGlobal.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:header textBinding="PURGE_CRITERIA@textRB"> <uix:contents> <uix:tableLayout> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat> <uix:contents> <uix:formattedText styleClass="OraInstructionText" textBinding="PURGE_INFO@textRB"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> <uix:tableLayout cellSpacing="15"> <uix:contents> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat hAlign="left"> <uix:contents> <uix:messageDateField id="startDate" name="startDate" shortDescBinding="START_DATE@SDKUIResourceBundle" tip="<%=errDS.getDateTip()%>" promptBinding="START_DATE@SDKUIResourceBundle" columns="10" value="<%=mstartDate%>" > <uix:onSubmitValidater> <uix:date dateStyle="medium" /> </uix:onSubmitValidater> </uix:messageDateField> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:messageChoice promptBinding="TIME@SDKUIResourceBundle" styleClass="OraPromptText" name="startHour" id="startHour" shortDescBinding="HOURS@SDKUIResourceBundle" selectedValue="<%=mstartHour%>" > <uix:contents> <uix:option text="0" value="0" /> <uix:option text="1" value="1" /> <uix:option text="2" value="2" /> <uix:option text="3" value="3" /> <uix:option text="4" value="4" /> <uix:option text="5" value="5" /> <uix:option text="6" value="6" /> <uix:option text="7" value="7" /> <uix:option text="8" value="8" /> <uix:option text="9" value="9" /> <uix:option text="10" value="10" /> <uix:option text="11" value="11" /> <uix:option text="12" value="12" /> </uix:contents> </uix:messageChoice> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraInstructionText" text=" : "/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:choice name="startMin" id="startMin" shortDescBinding="MINUTES@SDKUIResourceBundle" selectedValue="<%=mstartMin%>" > <uix:contents> <uix:option shortDesc="00" text="00" value="00"/> <uix:option shortDesc="05" text="05" value="05"/> <uix:option shortDesc="10" text="10" value="10"/> <uix:option shortDesc="15" text="15" value="15"/> <uix:option shortDesc="20" text="20" value="20"/> <uix:option shortDesc="25" text="25" value="25"/> <uix:option shortDesc="30" text="30" value="30"/> <uix:option shortDesc="35" text="35" value="35"/> <uix:option shortDesc="40" text="40" value="40"/> <uix:option shortDesc="45" text="45" value="45"/> <uix:option shortDesc="50" text="50" value="50"/> <uix:option shortDesc="55" text="55" value="55"/> </uix:contents> </uix:choice> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:radioButton textBinding="AM_LABEL@SDKUIResourceBundle" name="startTime" selectedValue="<%=mstartTime%>" value="am" shortDescBinding="AM_LABEL@SDKUIResourceBundle"/> <uix:radioButton textBinding="PM_LABEL@SDKUIResourceBundle" name="startTime" selectedValue="<%=mstartTime%>" value="pm" shortDescBinding="PM_LABEL@SDKUIResourceBundle"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat hAlign="left"> <uix:contents> <uix:messageDateField id="endDate" shortDescBinding="END_DATE@SDKUIResourceBundle" name="endDate" value="<%=mendDate%>" promptBinding="END_DATE@SDKUIResourceBundle" tipBinding="<%=errDS.getDateTip()%>" columns="10"> <uix:onSubmitValidater> <uix:date dateStyle="medium" /> </uix:onSubmitValidater> </uix:messageDateField> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:messageChoice promptBinding="TIME@SDKUIResourceBundle" styleClass="OraPromptText" name="endHour" id="endHour" shortDescBinding="HOURS@SDKUIResourceBundle" selectedValue="<%=mendHour%>" > <uix:contents> <uix:option shortDesc="0" text="0" value="0" /> <uix:option shortDesc="1" text="1" value="1" /> <uix:option shortDesc="2" text="2" value="2" /> <uix:option shortDesc="3" text="3" value="3" /> <uix:option shortDesc="4" text="4" value="4" /> <uix:option shortDesc="5" text="5" value="5" /> <uix:option shortDesc="6" text="6" value="6" /> <uix:option shortDesc="7" text="7" value="7" /> <uix:option shortDesc="8" text="8" value="8" /> <uix:option shortDesc="9" text="9" value="9" /> <uix:option shortDesc="10" text="10" value="10" /> <uix:option shortDesc="11" text="11" value="11" /> <uix:option shortDesc="12" text="12" value="12" /> </uix:contents> </uix:messageChoice> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraInstructionText" text=" : "/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:choice name="endMin" id="endMin" shortDescBinding="MINUTES@SDKUIResourceBundle" selectedValue="<%=mendMin%>" > <uix:contents> <uix:option shortDesc="00" text="00" value="00"/> <uix:option shortDesc="05" text="05" value="05"/> <uix:option shortDesc="10" text="10" value="10"/> <uix:option shortDesc="15" text="15" value="15"/> <uix:option shortDesc="20" text="20" value="20"/> <uix:option shortDesc="25" text="25" value="25"/> <uix:option shortDesc="30" text="30" value="30"/> <uix:option shortDesc="35" text="35" value="35"/> <uix:option shortDesc="40" text="40" value="40"/> <uix:option shortDesc="45" text="45" value="45"/> <uix:option shortDesc="50" text="50" value="50"/> <uix:option shortDesc="55" text="55" value="55"/> </uix:contents> </uix:choice> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:radioButton textBinding="AM_LABEL@SDKUIResourceBundle" name="endTime" selectedValue="<%=mendTime%>" value="am" shortDescBinding="AM_LABEL@SDKUIResourceBundle"/> <uix:radioButton textBinding="PM_LABEL@SDKUIResourceBundle" name="endTime" selectedValue="<%=mendTime%>" value="pm" shortDescBinding="PM_LABEL@SDKUIResourceBundle"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:spacer height="10" width="10"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:submitButton event="onPurgeRange" textBinding="PURGE@textRB" shortDescBinding="PURGE@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:spacer height="10" width="10"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:spacer height="10" width="10"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:spacer height="10" width="10"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:spacer height="10" width="10"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:spacer height="10" width="10"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:spacer height="10" width="10"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:header> <uix:tableLayout width="100%"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat vAlign="top" width="100%"> <uix:contents> <uix:dataScope currentDataBinding="ERROR_DS@servletRequest"> <uix:table name="ERRTABLE" alternateTextBinding="NO_ITEMS_FOUND@textRB" width="85%" formSubmitted="true" 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%>" shortDescBinding="TEXT_INDEX_ERROR_SUMMARY@textRB" summaryBinding="TEXT_INDEX_ERROR_SUMMARY@textRB"> <uix:tableFormat tableBanding="rowBanding"/> <uix:contents> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="TIMESTAMP@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="st"/> </uix:contents> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="numberFormat"/> <uix:columnHeader> <uix:sortableHeader sortable="no" textBinding="ROWID_OR_OPERATION@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="rowid"/> </uix:contents> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="no" textBinding="ERR_DESCR@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="descr"/> </uix:contents> </uix:column> </uix:contents> <uix:tableSelection> <uix:multipleSelection textBinding="TABLE_PROMPT@textRB" shortDescBinding="TABLE_PROMPT@textRB"/> </uix:tableSelection> <uix:tableActions> <uix:flowLayout> <uix:contents> <uix:submitButton textBinding="PURGE_SELECTED_ERRORS@textRB" event="onPurgeSelectedErrors" shortDescBinding="PURGE_SELECTED_ERRORS@textRB"/> <uix:submitButton textBinding="PURGE_ALL_ERRORS@textRB" event="onPurgeAllErrors" shortDescBinding="PURGE_ALL_ERRORS@textRB"/> </uix:contents> </uix:flowLayout> </uix:tableActions> </uix:table> </uix:dataScope> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> <uix:pageButtons> <uix:pageButtonBar> <uix:contents> <uix:submitButton textBinding="CANCEL@textRB" event="syncCancel" shortDescBinding="CANCEL@textRB"/> </uix:contents> </uix:pageButtonBar> </uix:pageButtons> <uix:pageStatus> <uix:formattedText styleClass="OraInstructionText" textBinding="PURGE_INTRO@textRB"/> </uix:pageStatus> </uix:pageLayout> </uix:contents> </uix: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