<%--
 The contents of this file are subject to the terms 
 of the Common Development and Distribution License 
 (the License).  You may not use this file except in
 compliance with the License.
 
 You can obtain a copy of the license at 
 https://glassfish.dev.java.net/public/CDDLv1.0.html or
 glassfish/bootstrap/legal/CDDLv1.0.txt.
 See the License for the specific language governing 
 permissions and limitations under the License.
 
 When distributing Covered Code, include this CDDL 
 Header Notice in each file and include the License file 
 at glassfish/bootstrap/legal/CDDLv1.0.txt.  
 If applicable, add the following below the CDDL Header, 
 with the fields enclosed by brackets [] replaced by
 you own identifying information: 
 "Portions Copyrighted [year] [name of copyright owner]"
 
 Copyright 2006 Sun Microsystems, Inc. All rights reserved.
--%>
<html>
 
<%@ page info="Index" language="java" contentType="text/html; charset=UTF-8" %>
<%@ page import = "com.sun.enterprise.tools.admingui.ConfigProperties" %>
<%@taglib uri="/jato.tld" prefix="jato"%>
<%@taglib uri="/cc.tld" prefix="cc"%>
<jato:useViewBean type="com.iplanet.jato.view.ViewBean" className="Index" fireChildDisplayEvents="true"> 

<!-- Header -->
<cc:header pageTitle="index.PageTitle" copyrightYear="2004"
 baseName="com.sun.enterprise.tools.admingui.resources.Resources" 
 bundleID="testBundle" name="treeHtmlHeader"
 styleClass="TreBdy" >

<script language="JavaScript" src="../js/iasadmin.js"></script> 
<script language="JavaScript">
<!--
function getMessage(name) {
    var form = document.forms[0];
    if (! form) {
        return name;
    }
    hidden = form.elements[name];
    if (! hidden) {
        return name;
    }
    return hidden.value;
}
// -->
</script>
<!-- <% /*
<jato:form name="testForm" method="post">
<table border="0" cellpadding="0" cellspacing="0">
    <tr height="30" class="TreRotRow" >
        <td nowrap="nowrap">
<img src="/com_sun_web_ui/images/other/dot.gif" border="0" width="5" height="25" alt="">
</td><td nowrap="nowrap" valign="center">
<cc:dropdownmenu name="JumpMenu"
 bundleID="testBundle"
 commandChild="JumpMenuHref"
 type="jump"
 dynamic="true"
 title="selectView" /></td>
<td nowrap="nowrap" width="99%">&nbsp;</td>
</tr></table>
</jato:form>
<div style="margin:-12px 0px" >
*/ %> -->
<form name="treeForm" method="get" action="../admingui/Index">
<jato:content name="resourceStrings">
collapseBranch
expandBranch
tree.tasks
</jato:content>

<% if (ConfigProperties.getInstance().isHCIAdmin22()) {%>
    <input type="hidden" name="isLH21" value="false" />
<% } %>

<!-- <% /*
<A href="javascript:skipOverTree()" style="text-decoration:none">
<img src="../images/spacer.gif" alt="Skip content frame navigation button links"  
     width="1" height="3" border="0"></A>
*/ %> -->



<table border="0" cellpadding="0" cellspacing="0">
<tr height="30" class="TreRotRow" >
<td nowrap="nowrap" valign="center">
    <img src="/com_sun_web_ui/images/other/dot.gif" border="0" width="4" height="1" alt="">
    <img src="../images/common_tasks.gif" border="0" alt="">
    <img src="/com_sun_web_ui/images/other/dot.gif" border="0" width="5" height="1" alt="">
</td><td nowrap="nowrap" valign="center">
    <cc:href name="tasksLink" bundleID="testBundle"
            onMouseOver="javascript: window.status=getMessage('tree.tasks'); return true" 
            onFocus="javascript: window.status=getMessage('tree.tasks'); return true" 
            onMouseOut="window.status=''; return true" 
            onBlur="window.status=''; return true" 
            target="main">
        <b><cc:text name="tasksText" bundleID="testBundle" defaultValue="tree.tasks" /></b>
    </cc:href>
</td>
<td nowrap="nowrap" width="99%">&nbsp;</td>
</tr>
</table>

<jato:treeView name="TreeView1" id="treeView1" 
               type="com.sun.enterprise.tools.admingui.tree.IndexTreeView"> 
    <table border="0" cellpadding="0" cellspacing="0"><jato:content name="tableRow" />
        <td nowrap="nowrap">
            <img src="/com_sun_web_ui/images/other/dot.gif" 
                 border="0" width="5" height="22" alt="" ></td>
        <jato:treeNodeLevel offset="-1">
            <jato:content name="hasNextSibling">
                <td align="left" valign="center" nowrap="nowrap">
                    <img src="/com_sun_web_ui/images/tree/tree_linevertical.gif" 
                         border="0" width="16" height="22" alt="" ></td>
            </jato:content>
            <jato:content name="hasNoNextSibling">
                <td nowrap="nowrap">
                    <img src="/com_sun_web_ui/images/other/dot.gif" 
                         border="0" width="16" height="22" alt="" ></td>
            </jato:content>
        </jato:treeNodeLevel>

        <jato:treeNode nodeType="root">
            <jato:treeNode isExpanded="true">
                <jato:image name="Iroot" defaultValue="..." border="0" />
                <jato:href name="root" target="main" styleClass="TreLnk" 
                           onClick="return onTreeNodeClick(this)" >
                    <jato:text name="name"/>
                </jato:href>
            </jato:treeNode>
        </jato:treeNode>

        <jato:treeNode nodeType="container">
            <jato:treeNode isExpanded="false">
                <jato:content name="hasContainerKids">
                    <jato:content name="addTd">
                        <jato:treeNodeHandle 
                            onMouseOver="javascript: window.status=getMessage('expandBranch'); return true" 
                            onMouseOut="javascript: window.status=''; return true" 
                            onKeyPress="javascript: this.onClick()" 
                            onBlur="javascript: window.status=''; return true" 
                            onFocus="javascript: window.status=getMessage('expandBranch'); return true">
                            <jato:content name="hasNextSibling">
                                <cc:image name="Handle" bundleID="testBundle" 
                                    border="0" width="16" height="22" 
                                    defaultValue="handlerightmiddle" 
                                    alt="expandBranch"/>
                            </jato:content>
                            <jato:content name="hasNoNextSibling">
                                <cc:image name="Handle" bundleID="testBundle" 
                                    border="0" width="16" height="22" 
                                    defaultValue="handlerightlast" 
                                   alt="expandBranch"/>
                            </jato:content>
                        </jato:treeNodeHandle>
                    </jato:content>
                </jato:content>
                <jato:content name="hasNoContainerKids">
                    <jato:content name="addTd">
                        <jato:content name="hasNextSibling">
                            <img src="/com_sun_web_ui/images/tree/tree_linemiddlenode.gif" 
                                 border="0" width="16" height="22" alt="">
                        </jato:content>
                        <jato:content name="hasNoNextSibling">
                            <img src="/com_sun_web_ui/images/tree/tree_linelastnode.gif" 
                                 border="0" width="16" height="22" alt="">
                        </jato:content>
                    </jato:content>
                </jato:content>
                <jato:image name="IshowContainer" defaultValue="..." border="0" />
                <jato:href name="showContainer" target="main" styleClass="TreLnk" 
                           onClick="return onTreeNodeClick(this)" >
                    <jato:text name="name"/>
                </jato:href>
            </jato:treeNode>

            <jato:treeNode isExpanded="true">
                <jato:content name="addTd">
                    <jato:treeNodeHandle
                            onMouseOver="javascript: window.status=getMessage('collapseBranch'); return true" 
                            onMouseOut="javascript: window.status=''; return true" 
                            onKeyPress="javascript: this.onClick()" 
                            onBlur="javascript: window.status=''; return true" 
                            onFocus="javascript: window.status=getMessage('collapseBranch'); return true">
                        <jato:content name="hasNextSibling">
                            <cc:image name="Handle" bundleID="testBundle" 
                                border="0" width="16" height="22" 
                                defaultValue="handledownmiddle" 
                                alt="collapseBranch"/>
                        </jato:content>
                        <jato:content name="hasNoNextSibling">
                            <cc:image name="Handle" bundleID="testBundle" 
                                border="0" width="16" height="22" 
                                defaultValue="handledownlast" 
                                alt="collapseBranch"/>
                        </jato:content>
                   </jato:treeNodeHandle>
                </jato:content>
                <jato:image name="IshowContainer" defaultValue="..." border="0" />
                <jato:href name="showContainer" target="main" styleClass="TreLnk" 
                           onClick="return onTreeNodeClick(this)" >
                    <jato:text name="name"/>
                </jato:href>
            </jato:treeNode>
        </jato:treeNode>

        <jato:treeNode nodeType="leaf">
            <jato:content name="addTd">
                <jato:content name="hasNextSibling">
                    <img src="/com_sun_web_ui/images/tree/tree_linemiddlenode.gif" 
                         border="0" width="16" height="22"alt=""> 
                </jato:content>
                <jato:content name="hasNoNextSibling">
                    <img src="/com_sun_web_ui/images/tree/tree_linelastnode.gif" 
                         border="0" width="16" height="22" alt=""> 
                </jato:content>
            </jato:content>
            <jato:image name="IshowLeaf" defaultValue="..." border="0" />
            <jato:href name="showLeaf" target="main" styleClass="TreLnk" 
                       onClick="return onTreeNodeClick(this)" >
                <jato:text name="name"/>
            </jato:href>
        </jato:treeNode>
        <td nowrap="nowrap" width="99%">&nbsp;</td>
    </tr></table>
</jato:treeView>
<cc:hidden name="RightSidePage" />
</form>
<!--<% /* </div> */ %> -->
<input type="hidden" name="admingui_charset" value="UTF-8" /> 
</cc:header>
</jato:useViewBean> 
</html>
