Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\txt\textIndexViewPage.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.TextIndexHealthDetails"%> <%@ page import="java.util.Iterator"%> <%@ page import="java.util.HashMap"%> <%@ 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"%> <%@ 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"/> <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"/> <% String statusPagePath = ((TextIndexHealthList)request.getAttribute("HEALTH_BEAN")).getStatusPagePath(); TextIndexHealthDetails healthObj = ((TextIndexHealthList)request.getAttribute("HEALTH_BEAN")).getSelectedIndexDetails(); ResourceBundle rbt0 = NLSUtil.getBundle(TextMsg.class.getName(), request); StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle"); oemTitle.append("-"); String titleTxt = rbt0.getString(TextMsgID.VIEW_INDEX_TITLE); titleTxt += healthObj.getIndexOwner() + "." + healthObj.getIndexName(); boolean partitioned = healthObj.isPartitioned(); boolean renderPartition= healthObj.isPartitioned(); //making renderFalse so that no partitions will be shown. renderPartition = false; HashMap attributes = healthObj.getIndexAttributes(); Iterator itr = attributes.keySet().iterator(); while(itr.hasNext()) { String key = (String) itr.next(); String value = (String) attributes.get(key); request.setAttribute(key,value); //out.println("Attributes:"+key+":"+value); } if (!attributes.containsKey("FUZZY_SCORE")) { request.setAttribute("FUZZY_SCORE",rbt0.getString(TextMsgID.NOT_SET)); } if (!attributes.containsKey("FUZZY_NUMRESULTS")) { request.setAttribute("FUZZY_NUMRESULTS",rbt0.getString(TextMsgID.NOT_SET)); } if (!attributes.containsKey("HTTP_PROXY")) { request.setAttribute("HTTP_PROXY",rbt0.getString(TextMsgID.NOT_SET)); } if (!attributes.containsKey("NO_PROXY")) { request.setAttribute("NO_PROXY",rbt0.getString(TextMsgID.NOT_SET)); } if (!attributes.containsKey("FTP_PROXY")) { request.setAttribute("FTP_PROXY",rbt0.getString(TextMsgID.NOT_SET)); } if (!attributes.containsKey("WILDCARD_MAXTERMS")) { request.setAttribute("WILDCARD_MAXTERMS",rbt0.getString(TextMsgID.NOT_SET)); } %> <uix:document> <%@ include file="/oemTitle.jspf" %> <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:subTabLayout> <uix:subTabs> <uix:subTabBar styleClass="OraInstructionText"> <uix:contents> <uix:link textBinding="GENERAL_TAB@textRB" selected="true" shortDescBinding="GENERAL_TAB@textRB"/> <uix:link textBinding="SIZE_STAT_TAB@textRB" destination="<%=statusPagePath%>" shortDescBinding="SIZE_STAT_TAB@textRB"/> </uix:contents> </uix:subTabBar> </uix:subTabs> <uix:contents> <uix:tableLayout width="100%"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat vAlign="top" width="70%"> <uix:contents> <uix:header textBinding="BASIC_INFORMATION@textRB"> <uix:contents> <uix:tableLayout width="100%" borderWidth="0"> <uix:contents> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat width="33%" vAlign="top"> <uix:contents> <uix:tableLayout cellSpacing="5"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" > <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="INDEX_TYPE@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=healthObj.getIndexType()%>" /> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" wrappingDisabled="true"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="OWNER@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=healthObj.getTableOwner()%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" > <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="BASE_TABLE@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=healthObj.getTableName()%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:cellFormat> <uix:cellFormat width="33%" vAlign="top" hAlign="left"> <uix:contents> <uix:tableLayout cellSpacing="5"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" > <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="TEXT_COLUMN@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=healthObj.getIndexTextName()%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" > <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="DEFAULT_QUERY@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=healthObj.getDegree()%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" wrappingDisabled="true"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="TOTAL_DOCS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=healthObj.getTotalDocCount()%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:cellFormat> <uix:cellFormat width="33%" vAlign="top" wrappingDisabled="true"> <uix:contents> <uix:tableLayout cellSpacing="5"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" wrappingDisabled="true"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="UNSYNC_DOCS@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=healthObj.getUnSyncDocCount()%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" > <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="FAILED_DOCS@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" text="<%=healthObj.getFailedDocCount()%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </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:contents> </uix:tableLayout> <uix:tableLayout width="100%"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat vAlign="top" width="50%"> <uix:contents> <uix:header textBinding="QUERY_ATTRIBUTES@textRB"> <uix:contents> <uix:tableLayout width="100%"> <uix:contents> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat width="22%" vAlign="top" wrappingDisabled="true"> <uix:contents> <uix:tableLayout cellSpacing="5"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" > <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="WLDCRD_MAXTRM@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" textBinding="WILDCARD_MAXTERMS@servletRequest"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" > <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="FUZZY_SCORE@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" textBinding="FUZZY_SCORE@servletRequest" /> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" > <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="FUZZY_NUM_RESULTS@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" textBinding="FUZZY_NUMRESULTS@servletRequest" /> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:header> </uix:contents> </uix:cellFormat> <uix:cellFormat vAlign="top" wrappingDisabled="true"> <uix:contents> <uix:header textBinding="URL_DATA_STORE_SETTING@textRB"> <uix:contents> <uix:tableLayout width="100%"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat vAlign="top" > <uix:contents> <uix:tableLayout cellSpacing="5"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" wrappingDisabled="true"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="HTTP_PROXY@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" textBinding="HTTP_PROXY@servletRequest" /> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" wrappingDisabled="true"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="FTP_PROXY@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" textBinding="FTP_PROXY@servletRequest" /> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" wrappingDisabled="true"> <uix:contents> <uix:styledText styleClass="OraInstructionText" textBinding="NO_PROXY@textRB" /> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraDataText" textBinding="NO_PROXY@servletRequest" /> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:cellFormat> <uix:cellFormat vAlign="top" hAlign="left" wrappingDisabled="true"> <uix:contents> <uix:tableLayout cellSpacing="5"> <uix:contents> </uix:contents> </uix:tableLayout> </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:contents> </uix:tableLayout> <uix:tableLayout width="100%"> <uix:contents> <uix:rowLayout rendered="<%=renderPartition%>"> <uix:contents> <uix:cellFormat vAlign="top" width="50%"> <uix:contents> <uix:header textBinding="PARTITIONS@textRB"> <uix:contents> <uix:dataScope currentDataBinding="PART_BEAN@servletRequest"> <uix:table name="PARTTABLE" 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="PARTITION_LIST@textRB" summaryBinding="PARTITION_LIST@textRB"> <uix:tableFormat tableBanding="rowBanding"/> <uix:contents> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="PARTITION_NAME@textRB" /> </uix:columnHeader> <uix:contents> <uix:link destinationBinding="partNameURL" textBinding="partName" shortDescBinding="PARTITION_NAME@textRB"/> </uix:contents> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="numberFormat"/> <uix:columnHeader> <uix:sortableHeader sortable="no" 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="no" textBinding="UNSYNC_DOCS@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText textBinding="unsynDocs"/> </uix:contents> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="numberFormat"/> <uix:columnHeader> <uix:sortableHeader sortable="no" 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" shortDescBinding="fDocs"/> </uix:default> </uix:switcher> </uix:contents> </uix:column> <uix:column> <uix:columnFormat columnDataFormat="numberFormat"/> <uix:columnHeader> <uix:sortableHeader sortable="no" textBinding="FRAGMENT_PERCENT@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText textBinding="frag"/> </uix:contents> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="STATUS@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText textBinding="status"/> </uix:contents> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="yes" textBinding="SYNCMODE@textRB" /> </uix:columnHeader> <uix:contents> <uix:styledText textBinding="syncMode"/> </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 cellSpacing="5"> <uix:contents> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat> <uix:contents> <uix:submitButton textBinding="VIEW@textRB" event="onViewPartitionStats" shortDescBinding="VIEW@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:header> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> <uix:spacer height="10" width="10"/> </uix:contents> </uix:subTabLayout> <uix:spacer height="10" width="10"/> </uix:contents> <uix:pageButtons> <uix:flowLayout> <uix:contents> <uix:pageButtonBar> <uix:contents> <uix:submitButton textBinding="DOWNLOAD_INDEX_CREATION_SCRIPT@textRB" event="downloadCreateScript" shortDescBinding="DOWNLOAD_INDEX_CREATION_SCRIPT@textRB" rendered="true"/> <uix:spacer height="1" width="10" /> <uix:submitButton event="onBack" textBinding="BACK@textRB" shortDescBinding="BACK@textRB" rendered="<%=partitioned%>"/> <uix:spacer height="1" width="10" /> <uix:submitButton event="onEdit" textBinding="EDIT@textRB" shortDescBinding="EDIT@textRB"/> <uix:spacer height="1" width="10" /> <uix:styledText textBinding="ACTIONS@textRB"/> <uix:choice name="actions" shortDescBinding="ACTIONS@textRB"> <uix:contents> <uix:option textBinding="OPTIMIZE@textRB" value="Optimize" shortDescBinding="OPTIMIZE@textRB"/> <uix:option selected="true" textBinding="SYNCHRONIZE@textRB" 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" shortDescBinding="SHOW_ERRORS@textRB"/> </uix:contents> </uix:choice> <uix:submitButton event="go" textBinding="GO@textRB" shortDescBinding="GO@textRB"/> </uix:contents> </uix:pageButtonBar> </uix:contents> </uix:flowLayout> </uix:pageButtons> </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