<%@page contentType="text/html;charset=UTF-8"%>
<%--
 ******************************************************************************* 
 * $RCSfile: CopyMoveWizard4.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/CopyMoveWizard4.jsp,v 1.3 2006/01/20 11:46:47 slewis 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" />

<%-- For now assume we're still presenting the components in a table
     which is output by the framework and components are
     in rows and cells
--%>


<tr>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <script type="text/javascript">
          function wizardPageInit() {
              WizardWindow_Wizard.setFocusElementName(
                "WizardWindow.Wizard.CopyMoveWizard4.SourceContextLabel");
          }
          WizardWindow_Wizard.pageInit = wizardPageInit;
        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>
        <cc:label name="SourceContextLabel" styleLevel="2"
            elementName="SourceContextLabel"
            defaultValue="APOC.wiz.copy.source.context"
            bundleID="apocBundle"/>
    </td>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:text name ="SourceContext" bundleID="apocBundle" />
    </td>
</tr>
<tr>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:label name="SourceProfileLabel" styleLevel="2"
            elementName="SourceProfileLabel"
            defaultValue="APOC.wiz.copy.source.profile"
            bundleID="apocBundle"/>
    </td>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:text name ="SourceProfile" bundleID="apocBundle" />
    </td>
</tr>
<tr>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:label name="SelectActionLabel" styleLevel="2"
            elementName="SelectActionLabel"
            defaultValue="APOC.wiz.copy.action"
            bundleID="apocBundle"/>
    </td>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:text name ="ActionSelected" bundleID="apocBundle" />
    </td>
</tr>
<tr>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:label name="AssignmentsLabel" styleLevel="2"
            elementName="AssignmentsLabel"
            defaultValue="APOC.wiz.copy.assignments.assignments"
            bundleID="apocBundle"/>  
    </td>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:text name ="AssignmentsYesNo" bundleID="apocBundle" />
    </td>
</tr>
<tr>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:label name="TargetContextLabel" styleLevel="2"
            elementName="TargetContextLabel"
            defaultValue="APOC.wiz.copy.target.context"
            bundleID="apocBundle"/>
    </td>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:text name ="TargetContext" bundleID="apocBundle" />
    </td>
</tr>
<tr>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:label name="TargetEntityLabel" styleLevel="2"
            elementName="TargetEntityLabel"
            defaultValue="APOC.wiz.copy.target.entity"
            bundleID="apocBundle"/>
    </td>
    <td valign="top" align="left" rowspan="1" colspan="1">
        <cc:text name ="TargetEntity" bundleID="apocBundle" />
    </td>
</tr>
</jato:pagelet>
