<%@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/contexts/Login.jsp,v 1.11 2006/03/03 15:24:51 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.ContextsLoginViewBean">

<%-- Header --%>
<cc:header  pageTitle="Configuration Repositories - Login" copyrightYear="2003"
            baseName="com.sun.apoc.manager.resource.apoc_manager"
            bundleID="apocBundle"
            onLoad="javascript:document.forms[0]['ContextsLogin.UsernameText'].focus(); return 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_ContextLoginWindow= top;
    }
// -->
</script>             

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

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

<cc:form name="ContextLoginForm" 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.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> 

