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

  Tags in the form

    <jato:text name="addproperty.label.
    <jato:text name="generic.

  are localized via the ssoadapteradminmsgs properties file


 --%><%

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

%><jato:useViewBean
    className="com.sun.ssoadapter.admin.AddPropertyViewBean"><%
%>
<html>
<head>
  <title><jato:text name="addproperty.label.pagetitle" /></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('AddProperty',
                            'AddProperty.PropertyName',
                            '<jato:text name="addproperty.label.warning.missing.name" />');
    pageLoaded = 0;
    parent.headerFrame.helpDocURL = '<jato:text name="helpDocURL"/>';
    parent.headerFrame.helpPage   = '<jato:text name="helpAnchorTag"/>';
  </script>
</head>


<body bgcolor="#ffffff"
      leftMargin=0
      rightMargin=0
      topMargin=0
      marginheight="0"
      marginwidth="0">

<!-- page header -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr class="breadcrumb-row">
    <td nowrap><div class="breadcrumb-text">
        <img alt="" border="0" height="1" width="2" src="../console/images/spacer.gif">
          <jato:text name="addproperty.label.servicetitle"/>
          <jato:text name="addproperty.label.pageheader"/> </div></td>
  </tr>
</table>

<br>
<console:messagebox name="MessageBox" imageURI="../console/images" />
<br>
<!-- description -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td><div class="properties-label-text">
        <img alt="" border="0" height="1" width="2" src="../console/images/spacer.gif">
        <jato:text name="addproperty.label.description"/> </div></td>
  </tr>
</table>
<br>
<br>

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

<jato:hidden name="HiddenConfigurationTemplateName"/>
<jato:hidden name="HiddenOriginalConfigTemplate"/></td>
<jato:hidden name="HiddenPropertyType"/></td>



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

  <table border="0" cellpadding="0" cellspacing="0" width="100%">


  <!-- property name block -->
  <jato:content name="PropertyNameBlock">
    <tr>
      <!-- property name -->
      <td width="1"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
      <td nowrap><div class="properties-label-text">
          <jato:text name="addproperty.label.propertyname" />:<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="PropertyName" elementId="AddProperty.PropertyName" size="30" /></td>
    </tr>
    <tr>
      <!-- spacer -->
      <td nowrap colspan="4"><img alt="" border="0" height="10" width="1"
          src="../console/images/spacer.gif"></td>
    </tr>
  </jato:content>
  <!-- end property name block -->



  <!-- property name block -->
  <jato:content name="PropertyValueBlock">
    <tr>
      <!-- property value -->
      <td width="1"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
      <td nowrap><div class="properties-label-text">
          <jato:text name="addproperty.label.propertyvalue" />: </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="PropertyValue" elementId="AddProperty.PropertyValue" size="30" /></td>
    </tr>
  </jato:content>
  <!-- end property name block -->



  <!-- encoded block -->
  <jato:content name="PropertyEncodeBlock">
    <tr>
      <!-- property value -->
      <td width="1"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
      <td nowrap><div class="properties-label-text">
          <jato:text name="addproperty.label.encode" />: </div></td>
      <td width="1"><img alt="" border="0" height="1" width="20" src="../console/images/spacer.gif"></td>
      <td width="99%" nowrap><jato:listbox name="PropertyList" size="10" multiple="true"/></td>
  </tr>
  </jato:content>
  <!-- end encoded block -->


  <!-- begin spacer row -->
  <tr>
    <td nowrap colspan="4"><img alt="" border="0" height="10" width="1"
        src="../console/images/spacer.gif"></td>
  </tr>
</table>



<!-- 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>

  <tr>
    <td width="1"><img alt="" border="0" height="1" width="10" src="../console/images/spacer.gif"></td>
    <td nowrap>

      <!-- required -->
      <jato:content name="PropertyNameBlock">
        <span class="properties-required" size="+1"><b>*</b></span>
        <jato:text name="addproperty.label.required"/></td>
    </jato:content>

    <td align="right">
      <table border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><console:button name="ButtonCreate" /></td>
          <td width="1"><img alt="" border="0" height="1" width="5"
            src="../console/images/spacer.gif"></td>
          <td><console:button name="ButtonCancel" /> </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>
