<%--
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>
<%@page info="EditDisplayProfile" 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.EditDisplayProfileViewBean"
    fireChildDisplayEvents="true"> 
<jsp:useBean id="viewBean" 
    type="com.sun.portal.desktop.admin.EditDisplayProfileViewBean" />

<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>
</head>

<script language="JavaScript">
<!-- 
//This function increases the number of columns for the text area
//if the browser is not Netscape to render the same looks in IE.
function setTextAreaCols(){
  if(navigator.appName != 'Netscape'){
    var nElements = document.forms[0].elements.length;
    for(i = 0; i < nElements; i++){
        var obj = document.forms[0].elements[i];
        if(obj.name = 'EditDisplayProfile.Profile'){
            obj.cols = 92;
        }
    }
  }
}
-->
</script>

<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"/>&nbsp;<jato:text name="GlobalLabel"/>
        </div>
      </td>
    </tr>
  </table>
<console:form name="EditDisplayProfile">

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

  <!--  Buttons -->
  <table border="0" cellpadding="0" cellspacing="10" width="100%">
    <tr>
      <td align="right"> 
        <table border="0" cellpadding="1" cellspacing="0">
          <tr>
            <td>
              <console:button name="Save" />
            </td>
            <td><img src="../console/images/spacer.gif" width="5" 
                  height="1" alt=""></td>
            <td>
              <console:button name="Cancel" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <!-- End Buttons -->
    <!-- Begin text area for display profile -->
    <tr>
      <td>
        <jato:textArea name="Profile" cols="80" rows="35"
            elementId="EditDisplayProfile.Profile" wrap="soft"/>
      </td>
    </tr>
    <!-- End text area for display profile -->
    <!-- Buttons -->
    <tr>
      <td align="right"> 
        <table border="0" cellpadding="1" cellspacing="0">
          <tr>
            <td>
              <console:button name="Save" />
            </td>
            <td><img src="../console/images/spacer.gif" 
                width="5" height="1" alt=""></td>
            <td>
              <console:button name="Cancel" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <!-- End Buttons -->
  </table>
<jato:hidden name="LastRead" defaultValue="-1"/>
<jato:hidden name="ForceSave" defaultValue="false"/>
</console:form>

<!-- script language="JavaScript" -->
<!-- 
setTextAreaCols();
-->
<!-- /script -->

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