[portal-commits] JBoss Portal SVN: r9062 - branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Wed Nov 21 08:12:19 EST 2007


Author: emuckenhuber
Date: 2007-11-21 08:12:19 -0500 (Wed, 21 Nov 2007)
New Revision: 9062

Modified:
   branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectNavigation.xhtml
Log:
disable edit window for contentType widget for now

Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectNavigation.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectNavigation.xhtml	2007-11-21 12:57:02 UTC (rev 9061)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectNavigation.xhtml	2007-11-21 13:12:19 UTC (rev 9062)
@@ -3,6 +3,7 @@
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:fn="http://java.sun.com/jsp/jstl/functions"
    xmlns:pfc="http://www.jboss.com/portal/facelet/common"
    xmlns:c="http://java.sun.com/jstl/core">
 
@@ -144,10 +145,18 @@
             styleClass="windowStateIcon"
             alt=""/>
 
-         <h:commandLink action="#{portalobjectmgr.selectObject}">#{object.name}
-            <f:param name="id" value="#{object.id}"/>
-         </h:commandLink>
+			
+			<!-- disable edit window for content type widget until JBPORTAL-1561  is fixed -->
+			<h:outputText value="#{object.name}"
+					rendered="#{fn:startsWith(object.declaredProperties['portal.windowContentType'], 'widget/')}" />
 
+			<h:commandLink action="#{portalobjectmgr.selectObject}"
+					rendered="#{! fn:startsWith(object.declaredProperties['portal.windowContentType'], 'widget/')}">
+				<h:outputText value="#{object.name}" />
+				<f:param name="id" value="#{object.id}"/>
+			</h:commandLink>
+
+
       </h:column>
       <h:column>
          <f:facet name="header">




More information about the portal-commits mailing list