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

<%@page info="Autoclassify" 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.AutoclassifyViewBean" > 
<jsp:useBean id="viewBean" type="com.sun.portal.search.admin.AutoclassifyViewBean" />

<HTML>
<TITLE><searchadmin:text key="autoclass.title"/></TITLE>
<script language="javascript" src="../ps/searchadmin/js/searchadmin.js"></script>
<%@include file="/ps/searchadmin/CSHeader.jsp"%>
<script language="javascript">
function runAction() {
    window.open('RunAutoclassify','_blank', 'width=800,height=300,toolbar=no,scrollbars=yes,resizable=yes');
}

if (parent.headerFrame) {
    parent.headerFrame.helpDocURL = "<jato:text name="helpDocURL"/>";
    parent.headerFrame.helpPage = "<searchadmin:text key="help.category.autoclassify"/>";
}
</script>

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

<console:form name="Autoclassify">

  <TABLE border="0" cellpadding="0" cellspacing="10" width="100%">
    <TR> 
      <TD colspan="2" align="right" height="2"> 
        <TABLE border="0" cellpadding="0" cellspacing="0">
          <TR> 
            <TD> 
		   <console:button name="SubmitButton" />
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
		   <console:button name="RunButton" onClick="javascript:runAction(); return false;"/>
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD>
		<console:button name="ResetButton" />
            </TD>
            <TD><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD>  </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
    <TR>
	<TD colspan="2" align="center" height="2">
	 <console:messagebox name="MessageBox" fireDisplayEvents="true" imageURI="../console/images"/>
	 </TD>
    </TR>

    <TR> 
      <TD  colspan="2" class="help-text"><searchadmin:text key="autoclass.desc"/><a href="Schedule"><searchadmin:text key="schedule.title"/></a></TD>
    </TR>

    <!-- Basic Setting Section -->
    <TR> 
      <TD  colspan="2" height="2"> 
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
          <TR> 
            <TD nowrap> 
              <DIV class="properties-level1-label-text"><searchadmin:text key="autoclass.basic.sect"/></DIV>
            </TD>
            <TD valign="bottom" width="99%"> 
		<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
		    <TR> 
		    <TD valign="bottom" class="properties-separator"><IMG src="../ps/searchadmin/images/blank.gif" width="1" height="2" alt=""></TD>
		    </TR>
		</TABLE>
            </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>

   <TR> 
	<TD><DIV class="properties-level3-label-text"><searchadmin:text key="autoclass.label.logpath" label="Autoclassify.logpath" />:&nbsp;</DIV></TD>
	<TD><jato:textField name="logpath" size="60" elementId="Autoclassify.logpath" /></TD>

    </TR>

    

    <!-- Advanced Setting Section -->
    <TR> 
      <TD  colspan="2" height="2"> 
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
          <TR> 
            <TD nowrap> 
              <DIV class="properties-level1-label-text"><searchadmin:text key="autoclass.adv.sect"/></DIV>
            </TD>
            <TD valign="bottom" width="99%"> 
		<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
		    <TR> 
		    <TD valign="bottom" class="properties-separator"><IMG src="../ps/searchadmin/images/blank.gif" width="1" height="2" alt=""></TD>
		    </TR>
		</TABLE>
            </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
    
    <TR>
	<TD><DIV class="properties-level3-label-text"><searchadmin:text key="autoclass.label.cachesize" label="Autoclassify.cachesize" />:&nbsp;</DIV></TD>
	<TD><jato:textField name="cachesize" elementId="Autoclassify.cachesize" /></TD>
   
    </TR>
    
   <TR> 
	<TD><DIV class="properties-level3-label-text"><searchadmin:text key="autoclass.label.dbpath" label="Autoclassify.dbpath" />:&nbsp;</DIV></TD>
	<TD><jato:textField name="dbpath" size="60" elementId="Autoclassify.dbpath" /></TD>
    </TR>

    <TR> 
      <TD  colspan="2" align="right" height="2"> 
        <TABLE border="0" cellpadding="0" cellspacing="0">
          <TR> 
            <TD> 
		   <console:button name="SubmitButton" />
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
		   <console:button name="RunButton" onClick="javascript:runAction(); return false;"/>
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD>
		<console:button name="ResetButton" />
            </TD>
            <TD><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD>  </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
    
 </TABLE>
 

</console:form>
</BODY>
<script language="javascript">
pageLoaded = 1;
</script>

</HTML>
</jato:useViewBean>
