<%@ 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"%>

<jato:useViewBean className="com.sun.netstorage.mgmt.fm.storade.ui.viewbeans.admin.PreTestPatchProViewBean">
<sa:secondarymasthead name="SecondaryMasthead">

<div class="content-layout">
<form name="preForm"  method="post" action="../admin/TestPatchPro" >
<cc:spacer name="spacer" height="15" newline="true"/>
<cc:text name="Result" bundleID="appBundle" defaultValue="note.startingPatchProTest"/>
</form>
</div>

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

<script language="javascript">

    var pf = window.opener.document.generalSetupForm;
    var tf = document.preForm;	
    var source = pf.elements['GeneralSetup.patchDatabaseLocationValue'];
    var proxy = pf.elements['GeneralSetup.patchDatabaseProxyAddressValue']; 
    var proxyUser = pf.elements['GeneralSetup.patchDatabaseProxyLoginNameValue'];
    var proxyPassword = pf.elements['GeneralSetup.patchDatabaseProxyPasswordValue'];

    tf.action = tf.action + "?source=" + escape(source.value) + "&proxy=" + escape(proxy.value)
	+ "&proxyUser=" + escape(proxyUser.value) + "&proxyPassword=" + escape(proxyPassword.value);
    tf.submit();

</script>
