[portal-commits] JBoss Portal SVN: r11940 - in branches/JBoss_Portal_Branch_2_7: core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers and 2 other directories.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Fri Sep 19 15:36:43 EDT 2008


Author: prabhat.jha at jboss.com
Date: 2008-09-19 15:36:43 -0400 (Fri, 19 Sep 2008)
New Revision: 11940

Modified:
   branches/JBoss_Portal_Branch_2_7/core-identity/src/resources/portal-identity-war/jsf/admin/user/deleteUser.xhtml
   branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/confirmDeleteConsumer.xhtml
   branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/confirmEraseRegistration.xhtml
   branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/consumerTemplate.xhtml
   branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/consumers.xhtml
   branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/editConsumer.xhtml
   branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/management/managementTemplate.xhtml
   branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/confirmPropDeletion.xhtml
   branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/producer.xhtml
   branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/producerTemplate.xhtml
Log:
[JBPORTAL-2101] adding ids to identity admin ui
[JBPORTAL-2103] adding ids to wsrp admin ui

Modified: branches/JBoss_Portal_Branch_2_7/core-identity/src/resources/portal-identity-war/jsf/admin/user/deleteUser.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-identity/src/resources/portal-identity-war/jsf/admin/user/deleteUser.xhtml	2008-09-19 18:15:48 UTC (rev 11939)
+++ branches/JBoss_Portal_Branch_2_7/core-identity/src/resources/portal-identity-war/jsf/admin/user/deleteUser.xhtml	2008-09-19 19:36:43 UTC (rev 11940)
@@ -34,7 +34,7 @@
             	#{bundle.IDENTITY_WARNING_CONFIRM_DELETE_USER} 
             	'#{useradministrationbean.uiUser.username}'
             </p>
-	<h:form>
+	<h:form id="delete-user-form">
 		<h:commandButton id="cancel" value="#{bundle.IDENTITY_BUTTON_CANCEL}" action="searchUsers"
 							styleClass="portlet-form-button portlet-section-buttonrow" />
 							

Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/confirmDeleteConsumer.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/confirmDeleteConsumer.xhtml	2008-09-19 18:15:48 UTC (rev 11939)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/confirmDeleteConsumer.xhtml	2008-09-19 19:36:43 UTC (rev 11940)
@@ -25,12 +25,12 @@
 
             <p class="portlet-class">#{i18n.confirm_detete_consumer_proceed}</p>
 
-            <h:form>
-               <h:commandLink value="#{i18n.confirm_delete_consumer_submit}" action="#{consumersMgr.destroyConsumer}"
+            <h:form id="confirm-delete-form">
+               <h:commandLink id="destroy-link" value="#{i18n.confirm_delete_consumer_submit}" action="#{consumersMgr.destroyConsumer}"
                               styleClass="portlet-form-button portlet-section-buttonrow">
                   <f:param name="id" value="#{consumersMgr.selectedConsumer.producerId}"/>
                </h:commandLink>
-               <h:commandButton value="#{i18n.confirm_delete_consumer_cancel}" action="#{consumersMgr.listConsumers}"
+               <h:commandButton id="cancel-link" value="#{i18n.confirm_delete_consumer_cancel}" action="#{consumersMgr.listConsumers}"
                                 styleClass="portlet-form-button portlet-section-buttonrow"/>
             </h:form>
          </div>

Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/confirmEraseRegistration.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/confirmEraseRegistration.xhtml	2008-09-19 18:15:48 UTC (rev 11939)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/confirmEraseRegistration.xhtml	2008-09-19 19:36:43 UTC (rev 11940)
@@ -25,11 +25,11 @@
 
             <p class="portlet-class">#{i18n.confirm_delete_registration_proceed}</p>
 
-            <h:form>
-               <h:commandButton value="#{i18n.confirm_delete_registration_submit}"
+            <h:form id="confirm-erase-form">
+               <h:commandButton id="submit" value="#{i18n.confirm_delete_registration_submit}"
                                 action="#{consumer.eraseLocalRegistration}"
                                 styleClass="portlet-form-button portlet-section-buttonrow"/>
-               <h:commandButton value="#{i18n.confirm_delete_registration_cancel}" action="configureConsumer"
+               <h:commandButton id="cancel" value="#{i18n.confirm_delete_registration_cancel}" action="configureConsumer"
                                 styleClass="portlet-form-button portlet-section-buttonrow"/>
             </h:form>
          </div>

Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/consumerTemplate.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/consumerTemplate.xhtml	2008-09-19 18:15:48 UTC (rev 11939)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/consumerTemplate.xhtml	2008-09-19 19:36:43 UTC (rev 11940)
@@ -5,22 +5,22 @@
              xmlns:c="http://java.sun.com/jstl/core">
 
    <ui:define name="topnav">
-      <h:form>
+      <h:form id="cons-temp-form">
          <ul class="topnav">
             <li id="currentTab">#{i18n.nav_tabs_consumers}</li>
-            <li><h:commandLink id="producerTab" value="#{i18n.nav_tabs_producer_config}" action="producer"/></li>
+            <li><h:commandLink id="producer-link" value="#{i18n.nav_tabs_producer_config}" action="producer"/></li>
             <ui:remove>
-               <li><h:commandLink value="#{i18n.nav_tabs_producer_management}" action="management"/></li>
+               <li><h:commandLink id="management-link" value="#{i18n.nav_tabs_producer_management}" action="management"/></li>
             </ui:remove>
          </ul>
       </h:form>
    </ui:define>
 
    <ui:define name="objectpath">
-      <h:form>
+      <h:form id="cons-temp-form1">
          <ul class="objectpath">
             <li class="#{!empty title ? 'selected' : 'pathItem'}">
-               <h:commandLink action="#{consumersMgr.listConsumers}" value="#{i18n.path_consumers_root}"/>
+               <h:commandLink id="list-cons-link" action="#{consumersMgr.listConsumers}" value="#{i18n.path_consumers_root}"/>
             </li>
             <c:if test="#{empty title}">
                <li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>

Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/consumers.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/consumers.xhtml	2008-09-19 18:15:48 UTC (rev 11939)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/consumers.xhtml	2008-09-19 19:36:43 UTC (rev 11940)
@@ -19,7 +19,7 @@
       </h:form>
 
       <!-- Consumers list -->
-      <h:form>
+      <h:form id="consumer-list-form">
          <h:dataTable id="consumersList" value="#{consumersMgr.consumers}" var="cons" rendered="#{!empty consumersMgr.consumers}"
                       rowClasses="portlet-section-body,portlet-section-alternate" headerClass="portlet-section-header"
                       styleClass="datatable objectList" width="100%">

Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/editConsumer.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/editConsumer.xhtml	2008-09-19 18:15:48 UTC (rev 11939)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/consumers/editConsumer.xhtml	2008-09-19 19:36:43 UTC (rev 11940)
@@ -9,7 +9,7 @@
 
 <hr/>
 
-<h:form>
+<h:form id="edit-cons-form">
 <table width="100%" class="portlet-table-body #{consumer.active ? 'active' : 'inactive'}">
 <tr>
    <th>#{i18n.edit_consumer_producer}</th>
@@ -105,7 +105,7 @@
                            </tr>
                         </c:forEach>
                      </table>
-                     <h:commandLink action="#{consumer.update}"
+                      <h:commandLink id="cons-update-link" action="#{consumer.update}"
                                     value="#{i18n.edit_consumer_registration_update_props}"
                                     rendered="#{consumer.registered}"
                                     styleClass="portlet-form-button portlet-section-buttonrow"/>
@@ -114,7 +114,7 @@
                      #{i18n.edit_consumer_registration_no_props}
                   </c:otherwise>
                </c:choose>
-               <h:commandLink action="#{consumer.modifyRegistration}"
+                <h:commandLink id="modify-reg-link" action="#{consumer.modifyRegistration}"
                               value="#{i18n.edit_consumer_registration_modify}"
                               rendered="#{consumer.registrationLocallyModified}"
                               title="#{i18n.edit_consumer_registration_modify_title}"
@@ -154,7 +154,7 @@
                         #{i18n.edit_consumer_registration_no_props}
                      </c:otherwise>
                   </c:choose>
-                  <h:commandLink action="#{consumer.modifyRegistration}"
+                    <h:commandLink id="edit-reg-link" action="#{consumer.modifyRegistration}"
                                  value="#{i18n.edit_consumer_registration_modify}"
                                  title="#{i18n.edit_consumer_registration_modify_title}"
                                  styleClass="portlet-form-button portlet-section-buttonrow"/>
@@ -174,7 +174,7 @@
       <td id="handle">
          #{i18n.edit_consumer_registration_context_handle} <h:outputText
               value="#{consumer.producerInfo.registrationInfo.registrationHandle}"/>
-         <h:commandLink action="confirmEraseRegistration" value="#{i18n.edit_consumer_registration_context_erase}"
+         <h:commandLink id="erase-cons-link" action="confirmEraseRegistration" value="#{i18n.edit_consumer_registration_context_erase}"
                         title="#{i18n.edit_consumer_registration_context_erase_title}"
                         styleClass="portlet-form-button"/>
       </td>
@@ -184,10 +184,10 @@
 <tr>
    <th/>
    <td class="portlet-section-buttonrow">
-      <h:commandButton action="#{consumer.refreshConsumer}" value="#{i18n.edit_consumer_refresh}"
+       <h:commandButton id="refresh-cons-link" action="#{consumer.refreshConsumer}" value="#{i18n.edit_consumer_refresh}"
                        title="#{i18n.edit_consumer_refresh_title}"
                        styleClass="portlet-form-button"/>
-      <h:commandLink action="#{consumersMgr.listConsumers}" value="#{i18n.edit_consumer_cancel}" immediate="true"
+       <h:commandLink id="list-cons-link" action="#{consumersMgr.listConsumers}" value="#{i18n.edit_consumer_cancel}" immediate="true"
                      styleClass="portlet-form-button"/>
    </td>
 </tr>

Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/management/managementTemplate.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/management/managementTemplate.xhtml	2008-09-19 18:15:48 UTC (rev 11939)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/management/managementTemplate.xhtml	2008-09-19 19:36:43 UTC (rev 11940)
@@ -5,10 +5,10 @@
              xmlns:c="http://java.sun.com/jstl/core">
 
    <ui:define name="topnav">
-      <h:form>
+      <h:form id="management-temp-link">
          <ul class="topnav">
-            <li><h:commandLink action="consumers" value="#{i18n.nav_tabs_consumers}"/></li>
-            <li><h:commandLink action="producer" value="#{i18n.nav_tabs_producer_config}"/></li>
+            <li><h:commandLink id="consumers" action="consumers" value="#{i18n.nav_tabs_consumers}"/></li>
+            <li><h:commandLink id="producer"  action="producer" value="#{i18n.nav_tabs_producer_config}"/></li>
             <li id="currentTab">#{i18n.nav_tabs_producer_management}</li>
          </ul>
       </h:form>

Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/confirmPropDeletion.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/confirmPropDeletion.xhtml	2008-09-19 18:15:48 UTC (rev 11939)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/confirmPropDeletion.xhtml	2008-09-19 19:36:43 UTC (rev 11940)
@@ -25,10 +25,11 @@
 
             <p class="portlet-class">#{i18n.confirm_delete_reg_property_proceed}</p>
 
-            <h:form>
-               <h:commandButton value="#{i18n.confirm_delete_reg_property_submit}" action="#{producer.deleteRegistrationProperty}"
+            <h:form id="confirm-prop-del-form">
+               <h:commandButton id="confirm-delete" value="#{i18n.confirm_delete_reg_property_submit}"
+                                action="#{producer.deleteRegistrationProperty}"
                                 styleClass="portlet-form-button portlet-section-buttonrow"/>
-               <h:commandButton value="#{i18n.confirm_delete_reg_property_cancel}" action="producer"
+               <h:commandButton id="cancel-delete" value="#{i18n.confirm_delete_reg_property_cancel}" action="producer"
                                 styleClass="portlet-form-button portlet-section-buttonrow"/>
             </h:form>          
          </div>

Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/producer.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/producer.xhtml	2008-09-19 18:15:48 UTC (rev 11939)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/producer.xhtml	2008-09-19 19:36:43 UTC (rev 11940)
@@ -7,7 +7,7 @@
    <ui:param name="title" value="#{i18n.producer_config_title}"/>
 
    <ui:define name="content">
-      <h:form>
+      <h:form id="producer-form">
          <h:panelGrid columns="2" width="100%">
             <h:selectBooleanCheckbox value="#{producer.registrationRequiredForFullDescription}"/>
             <h:outputText value="#{i18n.producer_config_sd_requires_reg}"/>
@@ -40,7 +40,7 @@
                <h:panelGroup styleClass="portlet-area-body">
                   <c:choose>
                      <c:when test="#{!empty producer.registrationProperties}">
-                        <h:dataTable var="property" id="registrationProperties" width="100%"
+                        <h:dataTable id="producer-data-table" var="property" id="registrationProperties" width="100%"
                                      value="#{producer.registrationProperties}"
                                      rendered="#{producer.registrationRequired}"
                                      headerClass="portlet-section-header">
@@ -50,7 +50,7 @@
                            </h:column>
                            <h:column>
                               <f:facet name="header">#{i18n.producer_config_reg_prop_type}</f:facet>
-                              <h:selectOneListbox disabled="true">
+                              <h:selectOneListbox id="producer-list" disabled="true">
                                  <f:selectItems value="#{producer.supportedPropertyTypes}"/>
                               </h:selectOneListbox>
                            </h:column>
@@ -64,7 +64,8 @@
                            </h:column>
                            <h:column>
                               <f:facet name="header">#{i18n.producer_config_reg_prop_action}</f:facet>
-                              <h:commandLink action="confirmPropDeletion" value="#{i18n.producer_config_reg_prop_remove}"
+                              <h:commandLink id="confirm-delete" action="confirmPropDeletion"
+                                             value="#{i18n.producer_config_reg_prop_remove}"
                                              styleClass="portlet-form-button"
                                              actionListener="#{producer.selectProperty}">
                                  <f:param name="propName" value="#{property.nameAsString}"/>
@@ -76,16 +77,19 @@
                         <h:outputText value="#{i18n.producer_config_no_reg_props}"/>
                      </c:otherwise>
                   </c:choose>
-                  <h:commandLink action="#{producer.addRegistrationProperty}" value="#{i18n.producer_config_add_reg_prop}"
+
+                  <h:commandLink id="add-reg-prop" action="#{producer.addRegistrationProperty}"
+                                 value="#{i18n.producer_config_add_reg_prop}"
                                  styleClass="portlet-form-button"/>
                </h:panelGroup>
             </h:panelGroup>
 
             <h:outputText value="  "/>
             <h:panelGroup styleClass="portlet-section-buttonrow">
-               <h:commandButton action="#{producer.save}" value="#{i18n.producer_config_save}" styleClass="portlet-form-button"/>
-               <h:commandButton action="#{producer.reloadConfiguration}" value="#{i18n.producer_config_cancel}"
+               <h:commandButton id="save-producer" action="#{producer.save}" value="#{i18n.producer_config_save}"
                                 styleClass="portlet-form-button"/>
+               <h:commandButton id="reload-producer" action="#{producer.reloadConfiguration}" value="#{i18n.producer_config_cancel}"
+                                styleClass="portlet-form-button"/>
             </h:panelGroup>
          </h:panelGrid>
       </h:form>

Modified: branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/producerTemplate.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/producerTemplate.xhtml	2008-09-19 18:15:48 UTC (rev 11939)
+++ branches/JBoss_Portal_Branch_2_7/core-wsrp/src/resources/portal-wsrp-admin-war/jsf/producer/producerTemplate.xhtml	2008-09-19 19:36:43 UTC (rev 11940)
@@ -5,12 +5,12 @@
              xmlns:c="http://java.sun.com/jstl/core">
 
    <ui:define name="topnav">
-      <h:form>
+      <h:form id="producer-temp-form">
          <ul class="topnav">
             <li><h:commandLink id="consumersTab" action="consumers" value="#{i18n.nav_tabs_consumers}"/></li>
             <li id="currentTab">#{i18n.nav_tabs_producer_config}</li>
             <ui:remove>
-               <li><h:commandLink value="#{i18n.nav_tabs_producer_management}" action="management"/></li>
+               <li><h:commandLink id="prod-manag-link" value="#{i18n.nav_tabs_producer_management}" action="management"/></li>
             </ui:remove>
          </ul>
       </h:form>




More information about the portal-commits mailing list