Author: julien(a)jboss.com
Date: 2007-02-28 08:38:32 -0500 (Wed, 28 Feb 2007)
New Revision: 6457
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/objectTemplate.xhtml
Log:
don't make the last object a link in the portal object path navigation
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/objectTemplate.xhtml
===================================================================
---
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/objectTemplate.xhtml 2007-02-28
13:30:36 UTC (rev 6456)
+++
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/objectTemplate.xhtml 2007-02-28
13:38:32 UTC (rev 6457)
@@ -15,16 +15,19 @@
<h:form>
<c:forEach items="#{portalobjectmgr.selectedObjectPath}"
var="node">
>
- <c:if test="#{node.type != '3'}">
- <h:commandLink action="#{portalobjectmgr.selectObject}">
- <f:param name="id" value="#{node.id}"/>
- <c:if test="#{node.name == ''}">root</c:if>
- <c:if test="#{node.name !=
''}">#{node.name}</c:if>
- </h:commandLink>
- </c:if>
- <c:if test="#{node.type == '3'}">
- #{node.name}
- </c:if>
+ <c:choose>
+ <c:when test="#{node.id ==
portalobjectmgr.selectedObjectBean.id}">
+ <c:if test="#{node.name == ''}">root</c:if>
+ <c:if test="#{node.name !=
''}">#{node.name}</c:if>
+ </c:when>
+ <c:otherwise>
+ <h:commandLink action="#{portalobjectmgr.selectObject}">
+ <f:param name="id" value="#{node.id}"/>
+ <c:if test="#{node.name ==
''}">root</c:if>
+ <c:if test="#{node.name !=
''}">#{node.name}</c:if>
+ </h:commandLink>
+ </c:otherwise>
+ </c:choose>
</c:forEach>
</h:form>
Show replies by date