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

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


<%@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.category.rule"/>";
}
</script>

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

<jato:content name="EditorSection">
<console:form name="RobotClassRuleEditor">


  <TABLE border="0" cellpadding="0" cellspacing="10" width="100%">
    <TR>
	<TD colspan="2" align="center" height="2">
	 <console:messagebox name="errorMsgBox" imageURI="../console/images"/>
	 </TD>
    </TR>

    <TR> 
      <TD  colspan="2" class="help-text"><!--<searchadmin:text key="classrules.edit"/>--></TD>
    </TR>
    
    <TR> 
	<TD><DIV class="properties-level3-label-text"><searchadmin:text key="classrules.header.src" label="Src"/>:&nbsp;</DIV></TD>
	<TD><jato:combobox  name="Src" elementId="Src"/>
		<jato:hidden name="Index"/>
	</TD>

    </TR>
    <TR> 
	<TD><DIV class="properties-level3-label-text">
	    <searchadmin:text key="classrules.header.method" label="Method"/>:&nbsp;
	</TD>
	<TD>
	    <jato:combobox name="Method" elementId="Method"/>
	</TD>
    </TR>
    <TR> 
	<TD><DIV class="properties-level3-label-text">
	    <searchadmin:text key="classrules.header.criteria" label="Criteria"/>:&nbsp;
	</TD>
	<TD>
	    <jato:textField name="Criteria" elementId="Criteria"/><BR>

		<font size=-1>
		<jato:checkbox name="Case" elementId="Case"/>
                    <searchadmin:text key="classrules.header.case" label="Case"/></font>
	</TD>
    </TR>
    <TR> 
	<TD><DIV class="properties-level3-label-text">
	    <searchadmin:text key="classrules.header.classification" label="Classification"/>:&nbsp;
	</TD>
	<TD>
	    <jato:textField name="Classification" elementId="Classification" size="50"/>
		<console:button name="Browse" type="mini"/>
	</TD>
    </TR>
    <TR> 
      <TD colspan="2" align="right" height="2"> 
        <TABLE border="0" cellpadding="0" cellspacing="0">
          <TR> 
            <TD> 
		   <console:button name="Submit" />
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
		   <console:button name="Cancel" />
            </TD>
            <TD><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD>  </TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
  </TABLE>

</console:form>

</jato:content>  <!-- EditorSection -->

<jato:content name="BrowseSection">
<%@include file="/ps/searchadmin/TaxonomyTreeView.jsp"%>
</jato:content>






</body>
<script language="javascript">
pageLoaded = 1;
</script>

</html>
</jato:useViewBean>
