Author: chris.laprun(a)jboss.com
Date: 2007-09-04 22:24:28 -0400 (Tue, 04 Sep 2007)
New Revision: 8168
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml
Log:
- Do not display > before the root object.
- Fixed improper showing of operation on all objects of the path instead of just the last
one.
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml
===================================================================
---
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml 2007-09-05
02:24:20 UTC (rev 8167)
+++
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml 2007-09-05
02:24:28 UTC (rev 8168)
@@ -26,9 +26,9 @@
<h:form>
<ul class="objectpath">
<c:forEach items="#{portalobjectmgr.selectedObjectPath}"
var="node">
- <li>
- >
- </li>
+ <c:if test="#{node.type != PortalObject.TYPE_CONTEXT}">
+ <li>></li>
+ </c:if>
<li class="#{node.id == portalobjectmgr.selectedObject.id ?
'selected' : ''}">
<h:commandLink action="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{node.id}"/>
@@ -37,7 +37,8 @@
<c:otherwise><span
class="objectName">#{node.name}</span>
#{node.typeName}</c:otherwise>
</c:choose>
</h:commandLink>
- <h:outputText value=" #{portalObjectScreen}"
rendered="#{portalObjectScreen != null}"/>
+ <h:outputText value=" #{portalObjectScreen}"
+ rendered="#{portalObjectScreen != null and node.id ==
portalobjectmgr.selectedObject.id}"/>
</li>
</c:forEach>
</ul>
Show replies by date