<%@page info="Root Onepane" language="java"%>
<%@page contentType="text/html;charset=UTF-8"%>
<%--
 ******************************************************************************* 
 * $RCSfile: Login.jsp,v $
 *
 * Description: This file contains the plain version of the root view
 *                in the APOC Manager
 *
 * 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/Login.jsp,v 1.5 2006/03/03 15:24:52 slewis Exp $
 *******************************************************************************
--%> 
<%@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"%>

<jato:useViewBean className="com.sun.apoc.manager.SelectContextViewBean">

<%-- Header --%>
<cc:header  pageTitle="Configuration Repository Selection" copyrightYear="2003"
            baseName="com.sun.apoc.manager.resource.apoc_manager"
            bundleID="apocBundle"
            isPopup="true">

 <script type="text/javascript">
 <!-- 
    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_CopyMoveContextLoginWindow= top;
    }
    
    function handleMenuChange() {
        var form=document.ReposSelectForm;
        if (form != null) {
            form.action='/apoc/manager/SelectContext?ContextChange=true&ContextName=';
            form.submit();
        }
    }

 -->
</script>
        
<a name="top" id="top"/>

<cc:secondarymasthead name="Masthead" bundleID="apocBundle"/>

<cc:form name="ReposSelectForm" method="post" defaultCommandChild="LoginButton">

    <jato:content name="DisplayAlert">
        <div class="content-layout">
            <BR>
            <cc:alertinline name="Alert" bundleID="apocBundle"/>
            <BR>
            <!-- 
                <cc:text name="StackTrace"/>
            -->
        </div>
    </jato:content>
    
    <cc:pagetitle name="ContextLoginTitle" 
        pageTitleText="APOC.contexts.login.title"
        pageTitleHelpMessage="APOC.select.contexts.login.help"
        showPageTitleSeparator="true"
        showPageButtonsTop="false"
        showPageButtonsBottom="true"
        bundleID="apocBundle">

        <cc:propertysheet name="ContextLoginSheet" 
            bundleID="apocBundle" 
            showJumpLinks="false"/>

    </cc:pagetitle> 

    <cc:hidden name="SelectedContext"/>

</cc:form>

</cc:header>

</jato:useViewBean> 

