<%--
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>
<%@page info="AddChannel" language="java"%>
<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>
<%@taglib uri="/WEB-INF/console.tld" prefix="console"%>

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

<html>
<head>
  <title><jato:text name="titleHtmlPage" /></title>
  <link rel="stylesheet" href="../console/css/adminstyle.css">
  <link rel="stylesheet" href="../ps/css/psadminstyle.css">
  <script language="javascript" src="../console/js/consolecomp.js"></script>
  <script language="javascript">
    addToRequiredFieldArray('AddChannel', 'AddChannel.ChannelName', 
        '<jato:text name="MissingChannelNameMsg" />');
  </script>
</head>

<body bgcolor="#ffffff" leftMargin=0 rightMargin=0 topMargin=0 
  marginheight="0" marginwidth="0">
<script language="javascript">
    pageLoaded = 0;
    parent.headerFrame.helpDocURL = "<jato:text name="helpDocURL"/>";
    parent.headerFrame.helpPage = "<jato:text name="helpAnchorTag"/>";
</script>


  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr class="breadcrumb-row"> 
      <td nowrap> 
        <div class="page-title-text">
          <jato:text name="DesktopLinkLabel"/>
          <jato:text name="PageTitle"/>
        </div>
      </td>
    </tr>
    <tr> 
      <td nowrap><img alt="" border="0" height="3" width="1" 
          src="../console/images/spacer.gif"></td>
    </tr>
    <!--Begin Parentage path for container-->
    <tr> 
      <td nowrap> 
        <table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img alt="" border="0" height="1" width="10" 
                  src="../console/images/spacer.gif"></td>
            <td nowrap>
              <div class="path-breadcrumb-text">
                <jato:text name="ContainerPathLabel"/>:&nbsp;
              </div>
            </td>
            <td align=left>
              <console:parentagepath name="ContainerPath" bgColor="white"/>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <!--End Parentage path for container -->
    <tr> 
      <td nowrap><img alt="" border="0" height="3" width="1" 
          src="../console/images/spacer.gif"></td>
    </tr>
    <tr> 
      <td bgcolor="000000"><img alt="" border="0" height="1" width="1" 
          src="../console/images/spacer.gif"></td>
    </tr>
    <tr>
      <td nowrap><img alt="" border="0" height="15" width="1"
          src="../console/images/spacer.gif"></td>
    </tr>
  </table>

<console:messagebox name="MessageBox" imageURI="../console/images" />

<console:form name="AddChannel" method="post" defaultCommandChild="/Create"
	onSubmit="return checkRequiredFields();">

    <!-- set 10 pixel right margin for everything below -->
    <div class="sub-body-margin">

       <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <!-- Begin Select option Block -->
          <jato:content name="SelectOptionBlock">
   	    <tr>	
              <td width="1"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
              <td nowrap><!-- Select option -->
                <div class="properties-label-text">
                  <jato:text name="SelectOptionLabel"/>:
                </div>
              </td>
              <td width="1"><img alt="" border="0" height="1" width="20" src="../console/images/spacer.gif"></td>
              <td width="99%">
                <jato:radioButtons name="SelectOption" elementId="AddChannel.SelectOption"/>
              </td>
            </tr>
            <!-- begin spacer row -->
            <tr><td nowrap colspan="4"><img alt="" border="0" height="10" width="1" 
                    src="../console/images/spacer.gif"></td></tr>
            <!-- end spacer row -->
          </jato:content>
          <!-- End Select option Block -->
	  <tr>
            <td width="1"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
	    <td nowrap><!-- Channel name -->
              <div class="properties-label-text">
                <jato:text name="ChannelNameLabel" />:<console:required name="NameRequired" />
              </div>
            </td>
            <td width="1"><img alt="" border="0" height="1" width="20" src="../console/images/spacer.gif"></td>
	    <td width="99%">
               <jato:textField name="ChannelName" elementId="AddChannel.ChannelName" size="30" />
               <div class="help-small-text"><jato:text name="NameHelp" /></div>
            </td>
	  </tr>
          <!-- begin spacer row -->
          <tr><td nowrap colspan="4"><img alt="" border="0" height="10" width="1" 
                  src="../console/images/spacer.gif"></td></tr>
          <!-- end spacer row -->
	  <tr>
            <td width="1"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
            <td nowrap><!-- Provider -->
              <div class="properties-label-text">
                <jato:text name="ProviderListLabel" />:
              </div>
            </td>
            <td width="1"><img alt="" border="0" height="1" width="20" src="../console/images/spacer.gif"></td>
            <td width="99%">
              <jato:combobox name="ProviderList" elementId="AddChannel.ProviderList"/>
            </td>
          </tr>
          <!-- begin spacer row -->
          <tr><td nowrap colspan="4"><img alt="" border="0" height="15" width="1" 
                  src="../console/images/spacer.gif"></td></tr>
          <!-- end spacer row -->
      </table>
       <!-- Buttons -->
       <!-- Begin table containing Create and Cancel Buttons -->
       <table border="0" cellpadding="0" cellspacing="0" width="100%">
         <tr>
           <td width="1"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
           <td colspan="2" bgcolor="000000"><img alt="" border="0" height="1" width="1" 
               src="../console/images/spacer.gif"></td>
         </tr>
          <!-- begin spacer row -->
          <tr><td nowrap colspan="3"><img alt="" border="0" height="10" width="1" 
                  src="../console/images/spacer.gif"></td></tr>
          <!-- end spacer row -->
         <tr>
           <td width="1"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
           <td nowrap>
             <span class="properties-required" size="+1"><b>* </b></span><jato:text name="ReqFieldLabel"/>
           </td>
           <td align="right"> 
             <table border="0" cellpadding="0" cellspacing="0">
               <tr>
                 <td>
                   <console:button name="Create" />
                 </td>
                 <td width="1"><img alt="" border="0" height="1" width="5" 
                        src="../console/images/spacer.gif"></td>
                 <td>
                   <console:button name="Cancel" />
                 </td>
               </tr>
             </table>
           </td>
         </tr>
       </table>
       <!-- End table containing Create and Cancel Buttons -->

    <!-- end 10 pixel right margin -->
    </div>

</console:form>

</body>
<script language="javascript">
pageLoaded = 1;
</script>
</html>
</jato:useViewBean>
