[portal-commits] JBoss Portal SVN: r11986 - in branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf: common and 1 other directory.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Thu Sep 25 15:50:52 EDT 2008


Author: prabhat.jha at jboss.com
Date: 2008-09-25 15:50:52 -0400 (Thu, 25 Sep 2008)
New Revision: 11986

Modified:
   branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/common/confirm.xhtml
   branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml
Log:
[JBPORTAL-2166] adding missing ids again

Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/common/confirm.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/common/confirm.xhtml	2008-09-25 18:54:59 UTC (rev 11985)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/common/confirm.xhtml	2008-09-25 19:50:52 UTC (rev 11986)
@@ -13,11 +13,11 @@
       <ui:param name="portalObjectScreen" value="#{bundle.COMMON_DELETE}"/>
       <ui:define name="content">
 
-      <f:subview rendered="#{empty portalobjectmgr.selectedDeletingObject}">
+      <f:subview  rendered="#{empty portalobjectmgr.selectedDeletingObject}">
          <p class="portlet-msg-error">#{bundle.COMMON_INCONSISTENT_STATE}</p>
       </f:subview>
 
-      <f:subview rendered="#{not empty portalobjectmgr.selectedDeletingObject}">
+      <f:subview id="delete-view" rendered="#{not empty portalobjectmgr.selectedDeletingObject}">
 
 
          <div class="portlet-msg">

Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml	2008-09-25 18:54:59 UTC (rev 11985)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml	2008-09-25 19:50:52 UTC (rev 11986)
@@ -26,9 +26,9 @@
    <ui:decorate template="common/tabContainer.xhtml">
       <ui:define name="tab-container-content">
          <!-- Path nav -->
-         <h:form>
+         <h:form id="obj-temp-form">
             <ul class="objectpath">
-               <c:forEach items="#{portalobjectmgr.selectedObjectPath}" var="node">
+               <c:forEach items="#{portalobjectmgr.selectedObjectPath}" var="node" varStatus="status">
                   <c:if test="#{node.type != PortalObject.TYPE_CONTEXT}">
                      <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
                   </c:if>
@@ -41,7 +41,7 @@
                      </h:panelGroup>				  	
 				  	</c:when>
 				  	<c:otherwise>
-                     <h:commandLink action="#{portalobjectmgr.selectObject}">
+                     <h:commandLink id="object-link-#{status.index}" action="#{portalobjectmgr.selectObject}">
                         <f:param name="id" value="#{node.id}"/>
                         <c:choose>
                            <c:when test="#{node.type == PortalObject.TYPE_CONTEXT}">#{bundle.PORTALS}</c:when>




More information about the portal-commits mailing list