Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\txt\txtPartIndexSyncPage.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.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"%> <%@ page import="java.util.Iterator"%> <%@ page import="java.util.HashMap"%> <%@ 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"/> <% TextIndexHealthList bean = (TextIndexHealthList)request.getAttribute("HEALTH_BEAN"); boolean partitionedFlag = bean.getSelectedIndexDetails().isPartitioned(); String indexName = bean.getSelectedIndexName(); String indexOwner = bean.getSelectedIndexOwner(); ResourceBundle rbt0 = NLSUtil.getBundle(TextMsg.class.getName(), request); StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle"); oemTitle.append("-"); String titleTxt = rbt0.getString(TextMsgID.SYNC_TITLE); String syncIntro = null; if (partitionedFlag) syncIntro = rbt0.getString(TextMsgID.SYNC_PART_INFO); else syncIntro = rbt0.getString(TextMsgID.SYNC_INFO); titleTxt = titleTxt + indexOwner + "." +indexName; String defaultLogFileName ="CTX_SYNC_"+ indexName + ".log"; String logFileName = (String)request.getAttribute("logFileName"); if (logFileName == null) logFileName = defaultLogFileName; String logFileTip = defaultLogFileName; //set the default lock option if (request.getAttribute("synchLock") == null) { request.setAttribute("synchLock","0"); } boolean _11gOrHigher = bean.getIfVersion11OrHigher(); String logDir = bean.getCurrentLogDirectory(); %> <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+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:tableLayout cellSpacing="10" width="100%"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" wrappingDisabled="true" width="20%"> <uix:contents> <uix:messageStyledText styleClass="OraInstructionText" textBinding="INDEX_SYNC_MODE@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:messageStyledText styleClass="OraDataText" textBinding="SYNC_MANUAL_MODE@textRB"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <% //<uix:switcher childNameBinding="partitionedFlag@HEALTH_BEAN@servletRequest"> // <uix:case name="false"> if (!partitionedFlag){ %> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" wrappingDisabled="true" width="20%"> <uix:contents> <uix:messageStyledText styleClass="OraInstructionText" textBinding="TOTAL_DOCS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:messageStyledText styleClass="OraDataText" text="<%=bean.getSelectedIndexDetails().getTotalDocCount()%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="right" wrappingDisabled="true" width="20%"> <uix:contents> <uix:messageStyledText styleClass="OraInstructionText" textBinding="UNSYNC_DOCS@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:messageStyledText styleClass="OraDataText" text="<%=bean.getSelectedIndexDetails().getUnSyncDocCount()%>"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:messageStyledText styleClass="OraInstructionText" textBinding="MEMORY_MB@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat> <uix:contents> <uix:messageTextInput columns="15" name="memSz" messageBinding="memSzErrMsg@servletRequest" messageTypeBinding="memSzErrType@servletRequest" textBinding="memSz@servletRequest" tipBinding="SYNC_MEMORY_TIP@textRB" shortDescBinding="SYNC_MEMORY_TIP@textRB"> <uix:onBlurValidater> <uix:decimal maxScale="0"/> </uix:onBlurValidater> </uix:messageTextInput> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat hAlign="right" width="20%"> <uix:contents> <uix:messageStyledText styleClass="OraInstructionText" textBinding="PARALLEL_DEGREE@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat> <uix:contents> <uix:messageTextInput columns="15" name="pDegree" messageBinding="pDegreeErrMsg@servletRequest" messageTypeBinding="pDegreeErrType@servletRequest" textBinding="pDegree@servletRequest" tipBinding="PARALLEL_DEGREE_TIP@textRB" shortDescBinding="PARALLEL_DEGREE_TIP@textRB"> <uix:onBlurValidater> <uix:decimal maxScale="0"/> </uix:onBlurValidater> </uix:messageTextInput> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <%} // </uix:case> // </uix:switcher> %> <% if (_11gOrHigher){ %> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:messageStyledText styleClass="OraInstructionText" textBinding="SYNC_TIME_OUT@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat> <uix:contents> <uix:messageTextInput columns="15" name="timeout" messageTypeBinding="timeouterrtype@servletRequest" messageBinding="timeouterr@servletRequest" textBinding="timeout@servletRequest" tipBinding="SYNC_TIME_OUT_TIP@textRB" shortDescBinding="SYNC_TIME_OUT_TIP@textRB"> <uix:onBlurValidater> <uix:decimal maxScale="0"/> </uix:onBlurValidater> </uix:messageTextInput> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat hAlign="right"> <uix:contents> <uix:messageStyledText styleClass="OraInstructionText" textBinding="SYNC_LOCK_BEHAVIOUR@textRB"/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:tableLayout cellSpacing="5" width="100%"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat> <uix:contents> <uix:messageRadioButton name="synchLock" selectedValueBinding="synchLock@servletRequest" value="0" textBinding="SYNC_WAIT@textRB" tipBinding="SYNC_WAIT_TIP@textRB" shortDescBinding="SYNC_WAIT_TIP@textRB"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat> <uix:contents> <uix:messageRadioButton name="synchLock" selectedValueBinding="synchLock@servletRequest" value="1" textBinding="SYNC_NO_WAIT@textRB" tipBinding="SYNC_NO_WAIT_TIP@textRB" shortDescBinding="SYNC_NO_WAIT_TIP@textRB"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout> <uix:contents> <uix:cellFormat> <uix:contents> <uix:messageRadioButton name="synchLock" selectedValueBinding="synchLock@servletRequest" value="2" textBinding="SYNC_NO_WAIT_WITH_ERROR@textRB" tipBinding="SYNC_NO_WAIT_WITH_ERROR_TIP@textRB" shortDescBinding="SYNC_NO_WAIT_WITH_ERROR_TIP@textRB"/> </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:switcher childNameBinding="partitionedFlag@HEALTH_BEAN@servletRequest"> // <uix:case name="true"> if (partitionedFlag) { %> <uix:tableLayout> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat vAlign="top" width="50%"> <uix:contents> <uix:dataScope currentDataBinding="SYNC_DS@servletRequest"> <uix:table name="SYNC_TABLE" 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:styledText styleClass="OraInstructionText" textBinding="pName"/> </uix:contents> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="no" textBinding="PARALLEL_DEGREE@textRB"/> </uix:columnHeader> <uix:contents> <uix:tableLayout hAlign="center"> <uix:contents> <uix:rowLayout> <uix:contents> <uix:cellFormat hAlign="center"> <uix:contents> <uix:messageTextInput columns="10" name="pDegree" textBinding="pDegree" shortDescBinding="PARALLEL_DEGREE@textRB"> <uix:onBlurValidater> <uix:decimal maxScale="0"/> </uix:onBlurValidater> </uix:messageTextInput> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </uix:contents> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader sortable="no" textBinding="MEMORY_MB@textRB" /> </uix:columnHeader> <uix:contents> <uix:tableLayout hAlign="center"> <uix:contents> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat> <uix:contents> <uix:messageTextInput columns="15" name="mSize" textBinding="mSize" shortDescBinding="MEMORY_MB@textRB"> <uix:onBlurValidater> <uix:decimal maxScale="0"/> </uix:onBlurValidater> </uix:messageTextInput> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> </uix:contents> </uix:tableLayout> </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="tDocs"/> </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="unsyncDocs"/> </uix:contents> </uix:column> </uix:contents> <uix:tableSelection> <uix:multipleSelection textBinding="TABLE_PROMPT@textRB" selectedBinding="selectedItems" shortDescBinding="TABLE_PROMPT@textRB"/> </uix:tableSelection> <uix:tableActions/> </uix:table> </uix:dataScope> <uix:tableLayout width="90%"> <uix:contents> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat> <uix:contents> <uix:tip/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraInlineInfoText" textBinding="PARALLEL_DEGREE_TIP@textRB"/> </uix:contents> </uix:cellFormat> </uix:contents> </uix:rowLayout> <uix:rowLayout vAlign="top"> <uix:contents> <uix:cellFormat> <uix:contents> <uix:tip/> </uix:contents> </uix:cellFormat> <uix:cellFormat hAlign="left"> <uix:contents> <uix:styledText styleClass="OraInlineInfoText" textBinding="SYNC_MEMORY_TIP@textRB"/> </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:case> // </uix:switcher> %> <%@ include file="/database/txt/textIndexLogging.jspf" %> </uix:contents> <uix:pageButtons> <uix:pageButtonBar> <uix:contents> <uix:submitButton textBinding="SHOW_SQL@textRB" event="showSyncSQL" shortDescBinding="SHOW_SQL@textRB"/> <uix:submitButton textBinding="CANCEL@textRB" event="syncCancel" shortDescBinding="CANCEL@textRB"/> <uix:submitButton textBinding="NEXT@textRB" event="syncIndex" shortDescBinding="NEXT@textRB" /> </uix:contents> </uix:pageButtonBar> </uix:pageButtons> <uix:pageStatus> <uix:formattedText styleClass="OraInstructionText" text="<%=syncIntro%>"/> </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