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

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

<HTML>
<TITLE><searchadmin:text key="rd.addnew"/></TITLE>
<HEAD>
    <link rel="stylesheet" href="../console/css/adminstyle.css">
    <link rel="stylesheet" href="../ps/searchadmin/css/adminmenu.css">
    <script language="javascript" src="../console/js/consolecomp.js"></script>
</HEAD>

<%@include file="/ps/searchadmin/CSHeader.jsp"%>
<searchadmin:AdminMenu selected="RDEditor" images="../ps/searchadmin/images"/>

<jato:content name="EditorSection">
<console:form name="RDAddNew" method="post">

<TABLE border="0" cellpadding="0" cellspacing="10" width="100%">
    <TR>
        <TD class="help-text" colspan="2" height="2"><searchadmin:text key="rd.addnew.desc"/></TD>
    </TR>

<!-- buttons -->
    <TR>
      <TD width="50%" height="2"> </TD>
      <TD align="right" width="50%" 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="ResetButton" />
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
                   <console:button name="CancelButton" href="RDEditor"/>
            </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" height="2">
	<DIV class="help-text"></DIV>
	</TD>
    </TR>
    
    <TR>
	<TD colspan="2" height="2">
	<table border="0">
	<tr>
	<TH><B><searchadmin:text key="fieldname"/></B></th>
	<TH>&nbsp;</th>
	<TH><B><searchadmin:text key="value.header"/></B></th>
	</tr>
	<jato:tiledView name="RDAddView" >
        <console:dynamicgui 
	    name="rdAVSet" 
	    imageURI="../console/images"
            styleLabelClass="properties-level3-label-text"/>
	<jato:content name="TaxonomyBrowse">
	<!----- start here -->
	<tr>
	<td>&nbsp;</td>
	<td>&nbsp;</td>
	<td><console:button name="TaxBrowser"/></td>
	</tr>
	<!-- end here -->
	</jato:content>
	</jato:tiledView>
        <tr>
        <td align="center">
        <LABEL for="schfor"><searchadmin:text key="rd.addnew.db"/>&nbsp;:&nbsp;</LABEL></td>
        <td ><img alt="" border="0" height="5" width="1" src="../ps/searchadmin/images/blank.gif"></td>
        <td><jato:comboBox name="SearchDatabase" /></td>
        </tr>
	</table>
	</TD>
    </TR>

<!-- buttons -->
    <TR>
      <TD width="50%" height="2"> </TD>
      <TD align="right" width="50%" 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="ResetButton" />
            </TD>
            <TD width="5"><IMG src="../ps/searchadmin/images/blank.gif" width="10" height="1" alt=""></TD>
            <TD> 
                   <console:button name="CancelButton" href="RDEditor"/>
            </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>
