<%@ page language="java" %> 
<%@taglib uri="/WEB-INF/tld/com_iplanet_jato/jato.tld" prefix="jato"%> 
<%@taglib uri="/WEB-INF/tld/com_sun_web_ui/cc.tld" prefix="cc"%>
<%@taglib uri="/WEB-INF/lib/sa.tld" prefix="sa"%>

<script language="javascript">

function initValues() {
    // Form names.
    var tf = document.testEmailForm;
    var pf = window.opener.document.notificationSetupForm;

    var SMTPServer = pf.elements['NotificationSetup.SMTPServerValue'];
    tf.elements['TestEmail.sendmailServerValue'].value = SMTPServer.value;   
}

</script>

<jato:useViewBean className="com.sun.netstorage.mgmt.fm.storade.ui.viewbeans.admin.TestEmailViewBean">

<sa:secondarymasthead name="SecondaryMasthead">

<cc:form name="testEmailForm" method="post">

<!-- Page Title --> 
<cc:pagetitle 
  name="PageTitle" 
  bundleID="appBundle"
  pageTitleText="page.title.testEmail" 
  showPageTitleSeparator="true"
  showPageButtonsTop="false"
  showPageButtonsBottom="true">

<!-- PropertySheet -->
  <cc:propertysheet 
   name="TestEmailPropertySheet" 
   bundleID="appBundle" 
   showJumpLinks="false"
   addJavaScript="true" />

</cc:pagetitle>

</cc:form>

<script language="javascript">
  initValues();
</script>

</sa:secondarymasthead>
</jato:useViewBean>


