mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31029 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
93 lines
3.4 KiB
Plaintext
93 lines
3.4 KiB
Plaintext
<%--
|
|
* Copyright (C) 2005-2010 Alfresco Software Limited.
|
|
*
|
|
* This file is part of Alfresco
|
|
*
|
|
* Alfresco is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Alfresco is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
--%>
|
|
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
|
|
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
|
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
|
|
|
|
<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
|
|
<%@ page isELIgnored="false" %>
|
|
<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
|
|
|
|
<r:page titleId="title_admin_search_results">
|
|
|
|
<f:view>
|
|
|
|
<%-- load a bundle of properties with I18N strings --%>
|
|
<r:loadBundle var="msg"/>
|
|
|
|
<%@ include file="admin-title.jsp" %>
|
|
|
|
<h:form id="searchForm" styleClass="nodeBrowserForm">
|
|
<h:commandLink action="#{AdminNodeBrowseBean.selectStores}">
|
|
<h:outputText styleClass="mainSubText" value="Stores"/>
|
|
</h:commandLink>
|
|
<span class="mainSubText"> | </span>
|
|
<h:commandLink action="nodeBrowser">
|
|
<h:outputText styleClass="mainSubText" value="Node Browser"/>
|
|
</h:commandLink>
|
|
|
|
<br/>
|
|
<br/>
|
|
<h:outputText styleClass="mainTitle" value="Search"/>
|
|
|
|
<table>
|
|
<tr>
|
|
<td><b>Search Language:</b></td><td><h:outputText value="#{AdminNodeBrowseBean.queryLanguage}"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>Search:</b></td><td><h:outputText value="#{AdminNodeBrowseBean.query}"/></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br/>
|
|
<span class="mainTitle">Results (<h:outputText value="#{AdminNodeBrowseBean.searchResults.length}"/> rows)</span>
|
|
|
|
<h:dataTable id="searchResults" border="1" value="#{AdminNodeBrowseBean.searchResults.rows}" var="row" styleClass="nodeBrowserTable">
|
|
<h:column>
|
|
<f:facet name="header">
|
|
<h:outputText value="Name"/>
|
|
</f:facet>
|
|
<h:commandLink action="#{AdminNodeBrowseBean.selectResultNode}">
|
|
<h:outputText value="#{row.QName.prefixString}"/>
|
|
</h:commandLink>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">
|
|
<h:outputText value="Node"/>
|
|
</f:facet>
|
|
<h:outputText value="#{row.childRef}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">
|
|
<h:outputText value="Parent"/>
|
|
</f:facet>
|
|
<h:commandLink action="#{AdminNodeBrowseBean.selectResultNode}">
|
|
<h:outputText value="#{row.parentRef}"/>
|
|
</h:commandLink>
|
|
</h:column>
|
|
</h:dataTable>
|
|
|
|
<p>Time ms: <h:outputText value="#{AdminNodeBrowseBean.searchElapsedTime}"/></p>
|
|
|
|
</h:form>
|
|
</f:view>
|
|
|
|
</r:page>
|