Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\txt\textHealthPage.jsp
<%@ page import="oracle.sysman.emSDK.util.jdk.NLSUtil"%> <%@ page import="oracle.sysman.db.rsc.txt.TextMsgID"%> <%@ page import="oracle.sysman.db.rsc.txt.TextMsg"%> <%@ page import="java.util.ResourceBundle"%> <%@ include file="/sdk/oemTop.jspf" %> <%@ include file="/oemNoscript.jspf" %> <%@ page import="oracle.sysman.emo.util.UIXDataSource"%> <%@ page import="oracle.sysman.emo.txt.TextIndexHealthList"%> <%@ 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" %> <% oracle.cabo.share.util.CaboHttpUtils.setNoCacheHeaders(response); %> <uix:renderingContext id="renderingContext"> <oem:setURLEncoder id="renderingContext"/> <% StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle"); oemTitle.append("-"); ResourceBundle rbt0 = NLSUtil.getBundle(TextMsg.class.getName(), request); oemTitle.append(rbt0.getString(TextMsgID.TEXT_INDEX_TITLE)); %> <% TextIndexHealthList bean = (TextIndexHealthList)request.getAttribute("HEALTH_BEAN"); String validCnt = bean.getValidIndexesCountAsStr(); String invalidCnt = bean.getInvalidIndexesCountAsStr(); String inPrgCnt = bean.getInProgressIndexesCountAsStr(); String totalCnt = bean.getTotalIndexesCountAsStr(); String enableButtons = "false"; if (totalCnt.equals("0")) enableButtons = "true"; String partInPrgCnt = bean.getPartInProgressIndexesCountAsStr(); String partInvalidCnt = bean.getPartInvalidIndexesCountAsStr(); String INVALID_STATUS_IMAGE = TextIndexHealthList.INVALID_STATUS_IMAGE; String VALID_STATUS_IMAGE = TextIndexHealthList.VALID_STATUS_IMAGE; String INPROGRESS_STATUS_IMAGE = TextIndexHealthList.INPROGRESS_STATUS_IMAGE; String PART_INVALID_STATUS_IMAGE = TextIndexHealthList.PART_INVALID_STATUS_IMAGE; String PART_INPROGRESS_STATUS_IMAGE = TextIndexHealthList.PART_INPROGRESS_STATUS_IMAGE; String refreshedTime = bean.getRefreshedAt(); %> <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" %> <uix:metaContainer> <uix:head title="<%=oemTitle.toString()%>"/> </uix:metaContainer> <uix:body> <uix:contents> <uix:form name="form0" method="post"> <uix:contents> <uix:pageLayout titleBinding="TEXT_INDEX_TITLE@servletRequest"> <%@ 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:rowLayout> <uix:contents> <uix:cellFormat width="50%" vAlign="top"> <uix:contents> <uix:header textBinding="INDEXES@textRB"> <uix:contents> <uix:tableLayout cellSpacing="5"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="INVALID_STATUS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=invalidCnt%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="PART_INVALID_STATUS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=partInvalidCnt%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="INPROGRESS_STATUS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=inPrgCnt%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="PART_INPROGRESS_STATUS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=partInPrgCnt%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="VALID_STATUS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=validCnt%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="TOTAL@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:spacer height="10" width="10"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=totalCnt%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:header> </uix:contents> </uix:cellFormat> <uix:cellFormat vAlign="top"> <uix:contents> <uix:header textBinding="JOB_ACTIVITY@textRB"> <uix:contents> <uix:tableLayout cellSpacing="5"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText textBinding="JOB_INTRO_MSG@textRB" styleClass="OraInstructionText"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> <uix:tableLayout cellSpacing="5" width="100%"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="SCHED_EXECS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:link textBinding="schedJobCount@servletRequest" destinationBinding="schedJobDest@servletRequest" shortDescBinding="SCHED_EXECS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="PROBLEM_EXECS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:link destinationBinding="schedJobDest@servletRequest" textBinding="probJobCount@servletRequest" shortDescBinding="PROBLEM_EXECS@textRB"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="RUNNING_EXECS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:link destinationBinding="runJobDest@servletRequest" textBinding="runJobCount@servletRequest" shortDescBinding="RUNNING_EXECS@textRB"/> </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:spacer height="10" width="10"/> <uix:dataScope currentDataBinding="HEALTH_BEAN@servletRequest"> <uix:table name="HEALTHTABLE" 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 %>" summaryBinding="HEALTHTABLE_SUMMARY@textRB" shortDescBinding="HEALTHTABLE_SUMMARY@textRB"> <uix:tableFormat tableBanding="rowBanding"/> <uix:contents> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="INDEX_NAME@textRB" /> </uix:columnHeader> <uix:contents> <uix:link textBinding="indexName" destinationBinding="indexURL"/> </uix:contents> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="INDEX_TYPE@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText textBinding="iType"/> </uix:contents> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="OWNER@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText textBinding="ownr"/> </uix:contents> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="no" textBinding="STATUS@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText textBinding="status"/> </uix:contents> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="numberFormat"/> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="TOTAL_DOCS@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText textBinding="totalDocs"/> </uix:contents> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="numberFormat"/> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="FAILED_DOCS@textRB" /> </uix:columnHeader> <uix:contents> <uix:switcher childNameBinding="fDocs"> <uix:case name="0"> <uix:styledText textBinding="fDocs"/> </uix:case> <uix:default> <uix:link textBinding="fDocs" destinationBinding="fDocsURL" /> </uix:default> </uix:switcher> </uix:contents> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="numberFormat"/> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="UNSYNC_DOCS@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText textBinding="unsynDocs"/> </uix:contents> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="PARTITIONED@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText textBinding="parts"/> </uix:contents> </uix:column> </uix:contents> <uix:tableSelection> <uix:singleSelection selectedIndex="0" textBinding="TABLE_PROMPT@textRB" shortDescBinding="TABLE_PROMPT@textRB"/> </uix:tableSelection> <uix:tableActions> <uix:flowLayout> <uix:contents> <uix:tableLayout cellPadding="5"> <uix:contents> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat hAlign="left"> <uix:contents> <uix:submitButton textBinding="VIEW@textRB" event="onView" disabled="<%=enableButtons%>" shortDescBinding="VIEW@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:submitButton textBinding="EDIT@textRB" event="editTextGen" disabled="<%=enableButtons%>" shortDescBinding="EDIT@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right"> <uix:contents> <uix:messageList name="actions" promptBinding="ACTIONS@textRB" size="1" shortDescBinding="ACTIONS@textRB" vAlign="middle"> <uix:contents> <uix:option textBinding="OPTIMIZE@textRB" value="Optimize" shortDescBinding="OPTIMIZE@textRB"/> <uix:option textBinding="SYNCHRONIZE@textRB" selected="true" value="Synchronize" shortDescBinding="SYNCHRONIZE@textRB"/> <uix:option textBinding="REBUILD@textRB" value="Rebuild" shortDescBinding="REBUILD@textRB"/> <uix:option textBinding="RESUME_FAILED@textRB" value="Resume_Failed_Operation" shortDescBinding="RESUME_FAILED@textRB"/> <uix:option textBinding="SHOW_LOGS@textRB" value="Show_Logs" shortDescBinding="SHOW_LOGS@textRB"/> <uix:option textBinding="SHOW_ERRORS@textRB" value="Show_Errors"/> </uix:contents> </uix:messageList> </uix:contents> </uix:cellFormat> <uix:cellFormat> <uix:contents> <uix:submitButton textBinding="GO@textRB" event="go" name="go" disabled="<%=enableButtons%>" shortDescBinding="GO@textRB"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:flowLayout> </uix:tableActions> </uix:table> </uix:dataScope> </uix:contents> <uix:pageButtons/> <uix:pageStatus> <uix:tableLayout width="100%"> <uix:contents> <uix:rowLayout hAlign="right" width="100%"> <uix:contents> <uix:cellFormat hAlign="left" vAlign="top" width="70%"> <uix:contents> <uix:formattedText textBinding="TEXT_INDEX_INTRO@textRB" styleClass="OraInstructionText"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="right" vAlign="top" width="30%"> <uix:contents> <uix:styledText styleClass="OraTipText" textBinding="PAGE_REFRESHED_TIME@SDKUIResourceBundle"/> <uix:spacer width="5"/> <uix:styledText styleClass="OraTipLabel" text="<%=refreshedTime%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> </uix:rowLayout> </uix:contents> </uix:tableLayout> </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