Files
alfresco-community-repo/source/web/jsp/admin/node-browser.jsp
Derek Hulley 651cad53fc Merged V3.1 to HEAD
Merged DEV/LIVECYCLE-3.1 to V3.1
      12665: Merged V2.1-A to DEV\LIVECYCLE-3.1
         8615: Cluster startup and property setting enhancements
         8657: Fixed shutdown procedure for JGroups
         8676: Enable system property overriding of more JGroups TCP stack properties
               -  ${alfresco.tcp.start_port:7800}
               -  ${alfresco.tcp.port_range:3}
         8678: More logging of cluster view changes and channel factory config during startup
      12667: Merged V2.1-A to DEV/LIVECYCLE-3.1
         9188: Index recovery job only calls through if property 'alfresco.cluster.name' has been set
         9197: Fixed unit test after bean property name change
      12793: Merged V2.1-A to DEV/LIVECYCLE-3.1
         7765: Requested mimetypes
         8526: Updated Mimetypes
         8610: Mimetype changes
         Many branding and other non-core changes were omitted
      12848: Fixed JAWS-223: Adobe LC Hibernate Dialect Loading
             - Hibernate dialect can be null or empty and will be autodetected from the database metadata
             - Property 'hibernate.dialect' is set on the System
             - iBatis loading (activities) checks for 'hibernate.dialect'
             - SchemaBootstrap checks for 'hibernate.dialect'
      12854: Merged V2.1-A to DEV/LIVECYCLE-3.1
         8681: Fixed mimetype 'application/photoshop'
      12856: Merged V2.1-A to DEV/LIVECYCLE-3.1
         9008: Fixed ADB-64: NPE when applying aspect cm:mlDocument
      12857: Merged V2.1-A to DEV/LIVECYCLE-3.1
         9032: ACT-2303: "Namespace is displayed in the Node browser is www.alfresco.org ...
   ___________________________________________________________________
   Modified: svn:mergeinfo
      Merged /alfresco/BRANCHES/V2.1-A:r7765,8526,8610,8615,8657,8676,8678,9188,9197
      Merged /alfresco/BRANCHES/V3.1:r12894
      Merged /alfresco/BRANCHES/DEV/LIVECYCLE-3.1:r12665,12667,12793,12848,12854,12856-12857


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13518 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-10 13:29:24 +00:00

341 lines
14 KiB
Plaintext

<%--
* Copyright (C) 2005-2007 Alfresco Software Limited.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program 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 General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have recieved a copy of the text describing
* the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing"
--%>
<%@ 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_node_browser">
<f:view>
<%-- load a bundle of properties with I18N strings --%>
<f:loadBundle basename="alfresco.messages.webclient" var="msg"/>
<%@ include file="admin-title.jsp" %>
<h:form id="searchForm" styleClass="nodeBrowserForm">
<h:commandLink id="selectStores" action="#{AdminNodeBrowseBean.selectStores}">
<h:outputText styleClass="mainSubText" value="Stores"/>
</h:commandLink>
<br/>
<br/>
<h:outputText styleClass="mainTitle" value="Search"/>
<table>
<tr>
<td>
<h:selectOneMenu id="queryLanguage" value="#{AdminNodeBrowseBean.queryLanguage}">
<f:selectItems value="#{AdminNodeBrowseBean.queryLanguages}"/>
</h:selectOneMenu>
</td>
<td>
<h:inputText id="query" size="100" value="#{AdminNodeBrowseBean.query}"/>
</td>
<td>
<h:commandButton id="submitSearch" action="#{AdminNodeBrowseBean.submitSearch}" value="Search"/>
</td>
</tr>
<tr>
<td></td>
<td>
<h:message styleClass="errorMessage" id="queryError" for="query"/>
</td>
<td></td>
</tr>
</table>
<br/>
<h:outputText styleClass="mainTitle" value="Node Identifier"/>
<table cellpadding="4" cellspacing="0">
<tr>
<td><nobr><b>Primary Path:</b></nobr></td><td>
<nobr>
<h:commandLink id="selectPrimaryPath" action="#{AdminNodeBrowseBean.selectPrimaryPath}">
<h:outputText id="primaryPath" value="#{AdminNodeBrowseBean.primaryPath}"/>
</h:commandLink>
</nobr>
</td>
</tr>
<tr>
<td><b>Reference:</b></td><td><h:outputText id="nodeRef" value="#{AdminNodeBrowseBean.nodeRef}"/></td>
</tr>
<tr>
<td><b>Type:</b></td><td><h:outputText id="nodeType" value="#{AdminNodeBrowseBean.nodeType}"/></td>
</tr>
<tr>
<td><b>Parent:</b></td>
<td>
<h:commandLink id="selectPrimaryParent" action="#{AdminNodeBrowseBean.selectPrimaryParent}">
<h:outputText id="primaryParent" value="#{AdminNodeBrowseBean.primaryParent}"/>
</h:commandLink>
</td>
</tr>
</table>
<br/>
<h:outputText styleClass="mainTitle" value="Properties"/>
<h:dataTable id="properties" border="1" value="#{AdminNodeBrowseBean.properties}" var="property" styleClass="nodeBrowserTable">
<h:column>
<f:facet name="header">
<h:outputText value="Name"/>
</f:facet>
<h:outputText value="#{property.name}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Value"/>
</f:facet>
<h:outputText styleClass="errorMessage" value="--collection--" rendered="#{property.collection == true}"/>
<h:dataTable id="values" border="0" cellspacing="0" value="#{property.values}" var="value" rendered="#{property.values.rowCount > 0}">
<h:column>
<h:outputLink value="#{value.url}" target="_blank" rendered="#{value.content}">
<h:outputText value="#{value.value}" />
</h:outputLink>
<h:commandLink id="selectNodeProperty" action="#{AdminNodeBrowseBean.selectNodeProperty}" rendered="#{value.nodeRef}">
<h:outputText value="#{value.value}"/>
</h:commandLink>
<h:outputText value="#{value.value}" rendered="#{value.content == false && value.nodeRef == false && value.nullValue == false}"/>
<h:outputText styleClass="errorMessage" value="--null--" rendered="#{value.nullValue}"/>
</h:column>
</h:dataTable>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Property Type"/>
</f:facet>
<h:outputText value="#{property.dataType}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Value Type"/>
</f:facet>
<h:dataTable id="valueTypes" border="0" cellspacing="0" value="#{property.values}" var="value">
<h:column>
<h:outputText value="#{value.dataType}" rendered="#{property.dataType == null || property.any}"/>
</h:column>
</h:dataTable>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Residual"/>
</f:facet>
<h:outputText value="#{property.residual}"/>
</h:column>
</h:dataTable>
<br/>
<h:outputText styleClass="mainTitle" value="Aspects"/>
<h:dataTable id="aspects" value="#{AdminNodeBrowseBean.aspects}" var="aspect">
<h:column>
<h:outputText value="#{aspect}"/>
</h:column>
</h:dataTable>
<br/>
<h:outputText styleClass="mainTitle" value="Permissions"/>
<table>
<tr>
<td><b>Inherit:</b></td><td><h:outputText id="inheritPermissions" value="#{AdminNodeBrowseBean.inheritPermissions}"/></td>
</tr>
</table>
<h:dataTable id="permissions" border="1" value="#{AdminNodeBrowseBean.permissions}" var="permission" styleClass="nodeBrowserTable">
<h:column>
<f:facet name="header">
<h:outputText value="Assigned Permission"/>
</f:facet>
<h:outputText value="#{permission.permission}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="To Authority"/>
</f:facet>
<h:outputText value="#{permission.authority}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Access"/>
</f:facet>
<h:outputText value="#{permission.accessStatus}"/>
</h:column>
</h:dataTable>
<h:dataTable id="storePermissionMasks" border="1" value="#{AdminNodeBrowseBean.storePermissionMasks}" var="permission" styleClass="nodeBrowserTable">
<h:column>
<f:facet name="header">
<h:outputText value="Store Permission"/>
</f:facet>
<h:outputText value="#{permission.permission}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="To Authority"/>
</f:facet>
<h:outputText value="#{permission.authority}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Access"/>
</f:facet>
<h:outputText value="#{permission.accessStatus}"/>
</h:column>
</h:dataTable>
<br/>
<h:outputText styleClass="mainTitle" value="Children"/>
<h:dataTable id="children" border="1" value="#{AdminNodeBrowseBean.children}" var="child" styleClass="nodeBrowserTable">
<h:column>
<f:facet name="header">
<h:outputText value="Child Name"/>
</f:facet>
<h:outputText value="#{child.QName.prefixString}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Child Node"/>
</f:facet>
<h:commandLink id="selectChild" action="#{AdminNodeBrowseBean.selectChild}">
<h:outputText value="#{child.childRef}"/>
</h:commandLink>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Primary"/>
</f:facet>
<h:outputText value="#{child.primary}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Association Type"/>
</f:facet>
<h:outputText value="#{child.typeQName.prefixString}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Index"/>
</f:facet>
<h:outputText value="#{child.nthSibling}"/>
</h:column>
</h:dataTable>
<br/>
<h:outputText styleClass="mainTitle" value="Associations"/>
<h:dataTable id="assocs" border="1" value="#{AdminNodeBrowseBean.assocs}" var="assoc" styleClass="nodeBrowserTable">
<h:column>
<f:facet name="header">
<h:outputText value="To Node"/>
</f:facet>
<h:commandLink id="selectToNode" action="#{AdminNodeBrowseBean.selectToNode}">
<h:outputText value="#{assoc.targetRef}"/>
</h:commandLink>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Association Type"/>
</f:facet>
<h:outputText value="#{assoc.typeQName.prefixString}"/>
</h:column>
</h:dataTable>
<br/>
<h:outputText styleClass="mainTitle" value="Parents"/>
<h:dataTable id="parents" border="1" value="#{AdminNodeBrowseBean.parents}" var="parent" styleClass="nodeBrowserTable">
<h:column>
<f:facet name="header">
<h:outputText value="Child Name"/>
</f:facet>
<h:outputText value="#{parent.QName.prefixString}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Parent Node"/>
</f:facet>
<h:commandLink id="selectParent" action="#{AdminNodeBrowseBean.selectParent}">
<h:outputText value="#{parent.parentRef}"/>
</h:commandLink>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Primary"/>
</f:facet>
<h:outputText value="#{parent.primary}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Association Type"/>
</f:facet>
<h:outputText value="#{parent.typeQName.prefixString}"/>
</h:column>
</h:dataTable>
<br/>
<h:panelGroup id="storePropsPanel" rendered="#{AdminNodeBrowseBean.inAVMStore}">
<h:outputText styleClass="mainTitle" value="AVM Store Properties"/>
<h:dataTable id="storeProperties" border="1" value="#{AdminNodeBrowseBean.AVMStoreProperties}" var="storeProp"
styleClass="nodeBrowserTable">
<h:column>
<f:facet name="header">
<h:outputText value="Name"/>
</f:facet>
<h:outputText value="#{storeProp.name}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Value"/>
</f:facet>
<h:outputText value="#{storeProp.value}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Type"/>
</f:facet>
<h:outputText value="#{storeProp.type}"/>
</h:column>
</h:dataTable>
</h:panelGroup>
</h:form>
</f:view>
</r:page>