<%--
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>
<%-- Server.jsp --%>

<%@page info="AdvancedLog" language="java"%>
<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>
<%@taglib uri="/WEB-INF/console.tld" prefix="console"%>
<%@taglib uri="/WEB-INF/searchadmin.tld" prefix="searchadmin"%>

<jato:useViewBean className="com.sun.portal.search.admin.AdvancedLogViewBean"> 
<jsp:useBean id="viewBean" type="com.sun.portal.search.admin.AdvancedLogViewBean" />

<HTML>
<TITLE><searchadmin:text key="advancedlog.title"/></TITLE>
<%@include file="/ps/searchadmin/CSHeader.jsp"%>
<script language="javascript">
if (parent.headerFrame) {
    parent.headerFrame.helpDocURL = "<jato:text name="helpDocURL"/>";
    parent.headerFrame.helpPage = "<searchadmin:text key="help.server.advanced"/>";
}
</script>

<searchadmin:AdminMenu selected="AdvancedLog" images="../ps/searchadmin/images"/>

<console:form name="AdvancedLog">
<TABLE border="0" cellpadding="0" cellspacing="10" width="100%">
    <TR>
	<TD colspan="2" height="2">
	<DIV class="help-text"><searchadmin:text key="server.advsettings.desc"/></DIV>
	</TD>
    </TR>
    <TR>
	<TD colspan="2" height="2">
	<console:messagebox name="RestartWarning" imageURI="../console/images"/>
	</TD>
    </TR>
  <%-- user's entry error messages --%>
    <TR>
	<TD colspan="2" height="2">
	<console:messagebox name="errorMsgBox" imageURI="../console/images"/>
	</TD>
    </TR>
<%-- table containing :
SearchRdmLog filename {editable}
Disable Search Log {radioButton}
Index Maintenance Log {editable}   
RD Manager Log {editable)
RDM Debug Log {editable}
RDM Debug Level {editable - drop down}
--%>
    <TR>
	<TD colspan="2" height="2">
	<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
	    <TR>
	    <TD nowrap>
		<DIV class="properties-level3-label-text">
                  <searchadmin:text key="advancedLog.searchLog"/>&nbsp;:&nbsp;
                </DIV>
	    </TD>
	    <TD nowrap>
		<jato:textField size="60" name="SearchRdmLogText" elementId="advancedLog.searchLog"/>
	    </TD>
	    </TR>
	    <TR>
	    <TD nowrap>
		<DIV class="properties-level3-label-text">
		    &nbsp;
                </DIV>
	    </TD>
	    <TD nowrap>
		<jato:checkbox name="SearchLogCheckbox" elementId="advancedLog.searchLog.disable"/><LABEL for="advancedLog.searchLog.disable"><searchadmin:text key="advancedLog.searchLog.disable"/></LABEL>
	    </TD>
	    </TR>
	    <TR>
	    <TD nowrap>
		<DIV class="properties-level3-label-text">
                  <searchadmin:text key="advancedLog.indexMaintenance" label="advancedLog.indexMaintenance"/>&nbsp;:&nbsp;
                </DIV>
	    </TD>
	    <TD nowrap>
		<jato:textField size="60" name="IdxMainLogText" elementId="advancedLog.indexMaintenance"/>
	    </TD>
	    </TR>
	    <TR>
	    <TD nowrap>
		<DIV class="properties-level3-label-text">
                  <searchadmin:text key="advancedLog.rdManager" label="advancedLog.rdManager"/>&nbsp;:&nbsp;
                </DIV>
	    </TD>
	    <TD nowrap>
		<jato:textField size="60" name="RDManagerLogText" elementId="advancedLog.rdManager"/>
	    </TD>
	    </TR>
	    <TR>
	    <TD nowrap>
		<DIV class="properties-level3-label-text">
                  <searchadmin:text key="advancedLog.rdmDebug" label="advancedLog.rdmDebug"/>&nbsp;:&nbsp;
                </DIV>
	    </TD>
	    <TD nowrap>
		<jato:textField size="60" name="RDMDebugLogText" elementId="advancedLog.rdmDebug"/>
	    </TD>
	    </TR>
	    <TR>
	    <TD nowrap>
		<DIV class="properties-level3-label-text">
                  <searchadmin:text key="advancedLog.rdmDebugLevel" label="advancedLog.rdmDebugLevel"/>&nbsp;:&nbsp;
                </DIV>
	    </TD>
	    <TD nowrap>
		<jato:combobox name="RDMDebugLevelCombobox" elementId="advancedLog.rdmDebugLevel"/>
	    </TD>
	    </TR>
    <TR>
	<TD height="2"> </TD>
      <TD align="right" height="2"> 
        <TABLE border="0" cellpadding="0" cellspacing="0">
          <TR> 
            <TD> 
		<console:button name="AdvLogButtonSubmit" />
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
		<console:button name="AdvLogButtonReset" />
            </TD>
            <TD><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD>  </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
</TABLE>
</TD>
</TR>
</TABLE>
</console:form>
</body>
<script language="javascript">
pageLoaded = 1;
</script>
</jato:useViewBean>
</HTML>
