<%@page contentType="text/html;charset=UTF-8"%>
<%--
 ******************************************************************************* 
 * $RCSfile: CopyMoveWizardOverview.jsp,v $
 *
 * Description: 
 *
 * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
 * Use of this product is subject to license terms.
 *
 *******************************************************************************
 * Source Code Control System - Header
 *
 * $Header: /sgnome/cvsroots/jds/apoc/web/manager/jsp/profiles/CopyMoveWizardOverview.jsp,v 1.3 2006/06/27 09:09:35 cm122549 Exp $
 *******************************************************************************
--%> 
<%@ page language="java" %> 
<%@ page import="com.iplanet.jato.view.ViewBean" %>
<%@taglib uri="/jato.tld" prefix="jato"%> 
<%@taglib uri="/cc.tld" prefix="cc"%>

<!--
  // The wizard framework provides a javascript object instance
  // called WizardWindow_Wizard. This object has methods that
  // allow the pagelet to disable/enable buttons and set the
  // page's initial focus.
  //
  // References to the methods of WizardWindow_Wizard if not conditional
  // during runtime, that must result in effects when the page is displayed
  // must be placed in a Javascript function and that function name
  // must be assigned to WizardWindow_Wizard.pageInit.
  // The framework will call WizardWindow_Wizard.pageInit() after the
  // wizard tag has been rendered.
  //
  // script statements must appear within at least the first
  // <td> element since HTML validation objects to the appearance
  // of <script> betwee the <table> element and the first <tr>
  // element.
-->
<jato:pagelet>
<cc:i18nbundle id="apocBundle"
 baseName="com.sun.apoc.manager.resource" />
<cc:hidden name="SelectedProfile" />  
<script type="text/javascript">
    var hiddenProfileField = document.wizWinForm['WizardWindow.Wizard.CopyMoveWizardOverviewView.SelectedProfile'];    
    var hiddenOpenerProfileField = self.opener.document.getElementById('SelectedProfileCopyMoveWizard');
    if (hiddenOpenerProfileField != null) {
        if (hiddenProfileField.value == null || hiddenProfileField.value == "") {
            hiddenProfileField.value = hiddenOpenerProfileField.value;
        } 
    }
    var m_OpenerTop = top.opener;
    while (m_OpenerTop.top.opener!=null) {
        m_OpenerTop = m_OpenerTop.top.opener;
    }
    m_OpenerTop = m_OpenerTop.top;

    setInterval("setWindowHandle()", 1000);
    function setWindowHandle() {
        m_OpenerTop.m_CopyMoveWindow= top;
    }
</script>
<table width="99%" border="0" cellspacing="10" cellpadding="0">
<tr>
     <td valign="top" align="left">
        <cc:label name="OverviewTitle" styleLevel="2"
                elementName="OverviewTitle"
                bundleID="apocBundle"
        />
    </td>
</tr>
<tr>
    <td valign="top" align="left">
        <cc:label name="OverviewText" styleLevel="3"
                elementName="OverviewText"
                bundleID="apocBundle"
        />
</tr>
<table>
</jato:pagelet>

