<%@ page info="Navigator" language="java" %> 
<%@page contentType="text/html;charset=UTF-8"%>
<%--
 ******************************************************************************* 
 * $RCSfile: SearchResult.jsp,v $
 *
 * Description: This file contains the left frame of the APOC Manager, the 
 *              navigation frame.
 *
 * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
 * Use of this product is subject to license terms.
 *
 *******************************************************************************
 --%>

<%@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.EntitiesSearchResultViewBean">

    <cc:header pageTitle="APOC.search.results" copyrightYear="2003"
        baseName="com.sun.apoc.manager.resource.apoc_manager"
        bundleID="apocBundle"
        onLoad="javascript:resetTarget()"
        isPopup="true">
        
        <script type="text/javascript" src="/apoc/js/MainWindow.js"></script> 
        <script type="text/javascript">
        <!--
            var SearchTargetAlert = "<cc:text name="SearchTargetAlert"/>";
            function resetTarget() {
                if ( (parent.parameters.document!=null) && (parent.parameters.document.SearchForm!=null)) {
                    parent.parameters.document.SearchForm.target="";
                }
            }

        // -->
        </script> 
    
        <cc:form name="ResultForm" method="post" defaultCommandChild="SearchButton">

            <cc:pagetitle name="SearchResultTitle" 
                pageTitleText="APOC.search.results"
                pageTitleHelpMessage="APOC.search.result.help"
                showPageTitleSeparator="false"
                showPageButtonsTop="false"
                showPageButtonsBottom="false"
                bundleID="apocBundle">

                <br>

                <jato:content name="Help">

                    <div class="content-layout">
                        <BR>
                        <cc:text name="HelpText1" defaultValue="APOC.search.help.text1" bundleID="apocBundle"/>
                        <BR><BR>
                        <cc:text name="HelpText2" defaultValue="APOC.search.help.text2" bundleID="apocBundle"/>
                        <BR><BR>
                        <cc:text name="HelpText3" defaultValue="APOC.search.help.text3" bundleID="apocBundle"/>
                    </div>

                </jato:content>

                <jato:containerView name="EntitiesSearchTableView">

                    <cc:actiontable
                        name="EntityTable"
                        bundleID="apocBundle"
                        title="APOC.search.entitiesFound"
                        summary="APOC.search.tableSummary"
                        empty="APOC.navigation.empty"
                        selectionType="no select"
                        showAdvancedSortIcon="false"
                        showLowerActions="false"
                        showPaginationControls="true"
                        showPaginationIcon="false"
                        showSelectionIcons="false"
                        maxRows="10"
                        page="1" />

                </jato:containerView>

            </cc:pagetitle>

            <cc:hidden name="EntityId" />
            <cc:hidden name="EntityTypeMenu" />
            <cc:hidden name="SearchText" />
            <cc:hidden name="RestrictCheckbox" />
            <cc:hidden name="ResultsMenu" />
            <cc:hidden name="ContextId" />
        
        </cc:form>

    </cc:header>

</jato:useViewBean> 
