Author: julien(a)jboss.com
Date: 2007-02-27 03:40:26 -0500 (Tue, 27 Feb 2007)
New Revision: 6418
Added:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/nodeNavigation.xhtml
Log:
use an unified children navigation but keep nodes splitted by type
Added:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/nodeNavigation.xhtml
===================================================================
---
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/nodeNavigation.xhtml
(rev 0)
+++
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/nodeNavigation.xhtml 2007-02-27
08:40:26 UTC (rev 6418)
@@ -0,0 +1,94 @@
+<div
+
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core">
+
+ <h:form>
+ <h:dataTable value="#{portalobjectmgr.portalNodes}"
var="portal" style="border-spacing: 20px 7px" rendered="#{not
empty portalobjectmgr.portalNodes}">
+ <h:column>
+ <f:facet name="header"><h:outputText
value="Portal"/></f:facet>
+ <h:commandLink action="pages"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="#{portal.name}"/>
+ <f:param name="id" value="#{portal.id}"/>
+ </h:commandLink>
+ </h:column>
+ <h:column>
+ <f:facet name="header"><h:outputText
value="Actions"/></f:facet>
+ <h:commandLink action="editPortalPreferences"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="Edit"/>
+ <f:param name="id" value="#{portal.id}"/>
+ </h:commandLink> |
+ <h:commandLink action="editPortalSecurity"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="Security"/>
+ <f:param name="id" value="#{portal.id}"/>
+ </h:commandLink> |
+ <h:commandLink action="editPortalTheme"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="Theme"/>
+ <f:param name="id" value="#{portal.id}"/>
+ </h:commandLink> |
+ <h:commandLink action="portals"
actionListener="#{portalobjectmgr.destroyObject}">
+ <h:outputText value="Destroy"/>
+ <f:param name="id" value="#{portal.id}"/>
+ </h:commandLink>
+ </h:column>
+ </h:dataTable>
+
+ <h:dataTable value="#{portalobjectmgr.pageNodes}" var="page"
style="border-spacing: 20px 7px" rendered="#{not empty
portalobjectmgr.pageNodes}">
+ <h:column>
+ <f:facet name="header"><h:outputText
value="Page"/></f:facet>
+ <h:commandLink action="pages"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="#{page.name}"/>
+ <f:param name="id" value="#{page.id}"/>
+ </h:commandLink>
+ </h:column>
+ <h:column>
+ <f:facet name="header"><h:outputText
value="Actions"/></f:facet>
+ <h:commandLink action="windows"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="Edit"/>
+ <f:param name="id" value="#{page.id}"/>
+ </h:commandLink> |
+ <h:commandLink action="editPageSecurity"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="Security"/>
+ <f:param name="id" value="#{page.id}"/>
+ </h:commandLink> |
+ <h:commandLink action="editPageTheme"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="Theme"/>
+ <f:param name="id" value="#{page.id}"/>
+ </h:commandLink> |
+ <h:commandLink action="pages"
actionListener="#{portalobjectmgr.destroyObject}">
+ <h:outputText value="Destroy"/>
+ <f:param name="id" value="#{page.id}"/>
+ </h:commandLink>
+ </h:column>
+ </h:dataTable>
+
+ <h:dataTable value="#{portalobjectmgr.windowNodes}"
var="window" style="border-spacing: 20px 7px" rendered="#{not
empty portalobjectmgr.windowNodes}">
+ <h:column>
+ <f:facet name="header"><h:outputText
value="Window"/></f:facet>
+ <h:outputText value="#{window.name}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header"><h:outputText
value="Actions"/></f:facet>
+ <h:commandLink action="editWindowPreferences"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="Edit"/>
+ <f:param name="id" value="#{window.id}"/>
+ </h:commandLink> |
+ <h:commandLink action="editWindowSecurity"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="Security"/>
+ <f:param name="id" value="#{window.id}"/>
+ </h:commandLink> |
+ <h:commandLink action="editWindowTheme"
actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="Theme"/>
+ <f:param name="id" value="#{window.id}"/>
+ </h:commandLink> |
+ <h:commandLink action="windows"
actionListener="#{portalobjectmgr.destroyObject}">
+ <h:outputText value="Destroy"/>
+ <f:param name="id" value="#{window.id}"/>
+ </h:commandLink>
+ </h:column>
+ </h:dataTable>
+
+ </h:form>
+
+</div>