[portal-commits] JBoss Portal SVN: r11985 - in branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf: common and 1 other directories.
portal-commits at lists.jboss.org
portal-commits at lists.jboss.org
Thu Sep 25 14:54:59 EDT 2008
Author: prabhat.jha at jboss.com
Date: 2008-09-25 14:54:59 -0400 (Thu, 25 Sep 2008)
New Revision: 11985
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/confirm.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPageErrorHandling.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPageLayout.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPortalErrorHandling.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPreferences.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editProperties.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editSecurity.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editTheme.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editWindowTheme.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/showPortletDetails.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/confirmDeleteInstance.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/dashboardsTemplate.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/displayNameObject.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editContext.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editPage.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editProperties.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/instances.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/objectNavigation.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/portlets.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/renameObject.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/newWindowTpl.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/newWindowWizardConfirm.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPage.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPortal.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPortlet.xhtml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectRegion.xhtml
Log:
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/confirm.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/confirm.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/confirm.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -36,12 +36,12 @@
<p class="portlet-class">#{bundle.COMMON_SURE_DELETE} #{portalobjectmgr.selectedObjectType}?</p>
- <h:form>
- <h:commandButton value="#{bundle.COMMON_DELETE}" action="objects" actionListener="#{portalobjectmgr.destroyObject}"
+ <h:form id="confirm-form">
+ <h:commandButton id="delete" value="#{bundle.COMMON_DELETE}" action="objects" actionListener="#{portalobjectmgr.destroyObject}"
styleClass="portlet-form-button portlet-section-buttonrow">
<f:attribute name="objectId" value="#{portalobjectmgr.selectedDeletingObject.id}"/>
</h:commandButton>
- <h:commandButton value="#{bundle.COMMON_CANCEL}" action="objects"
+ <h:commandButton id="cancel" value="#{bundle.COMMON_CANCEL}" action="objects"
actionListener="#{portalobjectmgr.selectParentObject}"
styleClass="portlet-form-button portlet-section-buttonrow"/>
</h:form>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPageErrorHandling.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPageErrorHandling.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPageErrorHandling.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -14,7 +14,7 @@
</tr>
<tr>
<td valign="top" class="portlet-section-body">
-<h:form>
+<h:form id="edit-page-error-form">
<table class="datatable full-width">
<thead class="portlet-section-header">
<tr>
@@ -29,13 +29,13 @@
<h:outputText value="#{properties.pageControlAccessDenied.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.pageControlAccessDenied.inheritable}"
+ <h:selectBooleanCheckbox id="page-access-check" disabled="#{!properties.pageControlAccessDenied.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.pageControlAccessDenied.inherit}"
value="#{properties.pageControlAccessDenied.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:selectOneMenu value="#{properties.pageControlAccessDenied.value}"
+ <h:selectOneMenu id="page-access-select" value="#{properties.pageControlAccessDenied.value}"
disabled="#{properties.pageControlAccessDenied.inherited}" onchange="submit();">
<f:selectItems value="#{properties.pageSelectItems}"/>
</h:selectOneMenu>
@@ -46,13 +46,13 @@
<h:outputText value="#{properties.pageControlUnavailable.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.pageControlUnavailable.inheritable}"
+ <h:selectBooleanCheckbox id="page-control-check" disabled="#{!properties.pageControlUnavailable.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.pageControlUnavailable.inherit}"
value="#{properties.pageControlUnavailable.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:selectOneMenu value="#{properties.pageControlUnavailable.value}"
+ <h:selectOneMenu id="page-control-select" value="#{properties.pageControlUnavailable.value}"
disabled="#{properties.pageControlUnavailable.inherited}" onchange="submit();">
<f:selectItems value="#{properties.pageSelectItems}"/>
</h:selectOneMenu>
@@ -63,13 +63,13 @@
<h:outputText value="#{properties.pageControlError.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.pageControlError.inheritable}"
+ <h:selectBooleanCheckbox id="page-error-check" disabled="#{!properties.pageControlError.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.pageControlError.inherit}"
value="#{properties.pageControlError.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:selectOneMenu value="#{properties.pageControlError.value}"
+ <h:selectOneMenu id="page-error-select" value="#{properties.pageControlError.value}"
disabled="#{properties.pageControlError.inherited}" onchange="submit();">
<f:selectItems value="#{properties.pageSelectItems}"/>
</h:selectOneMenu>
@@ -80,13 +80,13 @@
<h:outputText value="#{properties.pageControlInternalError.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.pageControlInternalError.inheritable}"
+ <h:selectBooleanCheckbox id="page-internal-check" disabled="#{!properties.pageControlInternalError.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.pageControlInternalError.inherit}"
value="#{properties.pageControlInternalError.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:selectOneMenu value="#{properties.pageControlInternalError.value}"
+ <h:selectOneMenu id="page-internal-select" value="#{properties.pageControlInternalError.value}"
disabled="#{properties.pageControlInternalError.inherited}" onchange="submit();">
<f:selectItems value="#{properties.pageSelectItems}"/>
</h:selectOneMenu>
@@ -97,13 +97,13 @@
<h:outputText value="#{properties.pageControlNotFound.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.pageControlNotFound.inheritable}"
+ <h:selectBooleanCheckbox id="page-not-found-check" disabled="#{!properties.pageControlNotFound.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.pageControlNotFound.inherit}"
value="#{properties.pageControlNotFound.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:selectOneMenu value="#{properties.pageControlNotFound.value}"
+ <h:selectOneMenu id="page-not-found-select" value="#{properties.pageControlNotFound.value}"
disabled="#{properties.pageControlNotFound.inherited}" onchange="submit();">
<f:selectItems value="#{properties.pageSelectItems}"/>
</h:selectOneMenu>
@@ -114,19 +114,19 @@
<h:outputText value="#{properties.pageControlResourceURI.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.pageControlResourceURI.inheritable}"
+ <h:selectBooleanCheckbox id="page-res-check" disabled="#{!properties.pageControlResourceURI.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.pageControlResourceURI.inherit}"
value="#{properties.pageControlResourceURI.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:inputText value="#{properties.pageControlResourceURI.value}" size="60"
+ <h:inputText id="page-res-select" value="#{properties.pageControlResourceURI.value}" size="60"
disabled="#{properties.pageControlResourceURI.inherited}"/>
</td>
</tr>
</tbody>
</table>
-<h:commandButton value="#{bundle.COMMON_UPDATE}" styleClass="portlet-form-button portlet-section-buttonrow"/>
+<h:commandButton id="update" value="#{bundle.COMMON_UPDATE}" styleClass="portlet-form-button portlet-section-buttonrow"/>
</h:form>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPageLayout.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPageLayout.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPageLayout.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -151,7 +151,7 @@
</div>
</td>
<td>
- <h:selectManyListbox
+ <h:selectManyListbox id="windows-select"
value="#{pageManager.assignedWindows['unknown']}"
size="7" styleClass="windowList portlet-form-field">
<f:selectItems
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPortalErrorHandling.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPortalErrorHandling.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPortalErrorHandling.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -16,7 +16,7 @@
<tr>
<td valign="top" class="portlet-section-body">
-<h:form>
+<h:form id="edit-portal-error-form">
<table class="datatable full-width">
<thead class="portlet-section-header">
<tr>
@@ -31,13 +31,13 @@
<h:outputText value="#{properties.portalControlAccessDenied.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.portalControlAccessDenied.inheritable}"
+ <h:selectBooleanCheckbox id="portal-access-check" disabled="#{!properties.portalControlAccessDenied.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.portalControlAccessDenied.inherit}"
value="#{properties.portalControlAccessDenied.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:selectOneMenu value="#{properties.portalControlAccessDenied.value}"
+ <h:selectOneMenu id="portal-access-select" value="#{properties.portalControlAccessDenied.value}"
disabled="#{properties.portalControlAccessDenied.inherited}"
onchange="submit();">
<f:selectItems value="#{properties.portalSelectItems}"/>
@@ -49,13 +49,13 @@
<h:outputText value="#{properties.portalControlUnavailable.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.portalControlUnavailable.inheritable}"
+ <h:selectBooleanCheckbox id="portal-unavail-check" disabled="#{!properties.portalControlUnavailable.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.portalControlUnavailable.inherit}"
value="#{properties.portalControlUnavailable.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:selectOneMenu value="#{properties.portalControlUnavailable.value}"
+ <h:selectOneMenu id="portal-unavail-select" value="#{properties.portalControlUnavailable.value}"
disabled="#{properties.portalControlUnavailable.inherited}"
onchange="submit();">
<f:selectItems value="#{properties.portalSelectItems}"/>
@@ -67,13 +67,13 @@
<h:outputText value="#{properties.portalControlError.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.portalControlError.inheritable}"
+ <h:selectBooleanCheckbox id="portal-error-check" disabled="#{!properties.portalControlError.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.portalControlError.inherit}"
value="#{properties.portalControlError.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:selectOneMenu value="#{properties.portalControlError.value}"
+ <h:selectOneMenu id="portal-error-select" value="#{properties.portalControlError.value}"
disabled="#{properties.portalControlError.inherited}" onchange="submit();">
<f:selectItems value="#{properties.portalSelectItems}"/>
</h:selectOneMenu>
@@ -84,13 +84,13 @@
<h:outputText value="#{properties.portalControlInternalError.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.portalControlInternalError.inheritable}"
+ <h:selectBooleanCheckbox id="portal-internal-check" disabled="#{!properties.portalControlInternalError.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.portalControlInternalError.inherit}"
value="#{properties.portalControlInternalError.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:selectOneMenu value="#{properties.portalControlInternalError.value}"
+ <h:selectOneMenu id="portal-internal-select" value="#{properties.portalControlInternalError.value}"
disabled="#{properties.portalControlInternalError.inherited}"
onchange="submit();">
<f:selectItems value="#{properties.portalSelectItems}"/>
@@ -102,13 +102,13 @@
<h:outputText value="#{properties.portalControlNotFound.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.portalControlNotFound.inheritable}"
+ <h:selectBooleanCheckbox id="portal-not-found-check" disabled="#{!properties.portalControlNotFound.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.portalControlNotFound.inherit}"
value="#{properties.portalControlNotFound.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:selectOneMenu value="#{properties.portalControlNotFound.value}"
+ <h:selectOneMenu id="portal-not-found-select" value="#{properties.portalControlNotFound.value}"
disabled="#{properties.portalControlNotFound.inherited}" onchange="submit();">
<f:selectItems value="#{properties.portalSelectItems}"/>
</h:selectOneMenu>
@@ -119,19 +119,19 @@
<h:outputText value="#{properties.portalControlResourceURI.displayName}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="#{!properties.portalControlResourceURI.inheritable}"
+ <h:selectBooleanCheckbox id="portal-res-check" disabled="#{!properties.portalControlResourceURI.inheritable}"
onclick="submit();"
valueChangeListener="#{properties.portalControlResourceURI.inherit}"
value="#{properties.portalControlResourceURI.inherited}"/>#{bundle.COMMON_INHERIT_ACTION}
</td>
<td>
- <h:inputText value="#{properties.portalControlResourceURI.value}" size="60"
+ <h:inputText id="portal-res-input" value="#{properties.portalControlResourceURI.value}" size="60"
disabled="#{properties.portalControlResourceURI.inherited}"/>
</td>
</tr>
</tbody>
</table>
-<h:commandButton value="#{bundle.COMMON_UPDATE}" styleClass="portlet-form-button portlet-section-buttonrow"/>
+<h:commandButton id="update" value="#{bundle.COMMON_UPDATE}" styleClass="portlet-form-button portlet-section-buttonrow"/>
</h:form>
</td>
</tr>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPreferences.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPreferences.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editPreferences.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -7,7 +7,7 @@
<c:choose>
<c:when test="#{not empty prefs.entries}">
- <h:form>
+ <h:form id="edit-pref-form">
<table class="full-width datatable">
<thead class="portlet-section-header" style="text-align:left;">
<tr>
@@ -25,7 +25,7 @@
<td>
<c:choose>
<c:when test="#{prefs.mutable and pref.readOnly == false}">
- <h:commandLink
+ <h:commandLink id="pref-link-#{status.index}"
rendered="#{pref.readOnly == false}"
action="#{pref.select}">#{pref.name}</h:commandLink>
</c:when>
@@ -36,7 +36,7 @@
<h:outputText value="#{pref.displayName.value}"/>
</td>
<td>
- <h:selectBooleanCheckbox disabled="true" value="#{pref.readOnly}"/>
+ <h:selectBooleanCheckbox id="pref-check-#{status.index}" disabled="true" value="#{pref.readOnly}"/>
</td>
<c:if test="#{prefs.mutable}">
<td>
@@ -55,7 +55,7 @@
</c:choose>
<c:if test="#{prefs.selectedEntry != null}">
- <h:form style="padding: 1em 0 1em 0">
+ <h:form id="edit-exisiting-form" style="padding: 1em 0 1em 0">
<fieldset style="border: 1px solid;">
<legend>#{bundle.COMMON_EDIT_EXISTING_VALUES}</legend>
<table>
@@ -68,7 +68,7 @@
</h:outputLabel>
</td>
<td>
- <h:inputText value="#{prefs.selectedEntry[index]}" styleClass="portlet-form-input-field"/>
+ <h:inputText id="pref-input-#{status.index}" value="#{prefs.selectedEntry[index]}" styleClass="portlet-form-input-field"/>
</td>
<td>
<h:commandButton
@@ -81,7 +81,7 @@
</c:forEach>
<tr>
<td colspan="3">
- <h:commandButton value="#{bundle.COMMON_UPDATE}" styleClass="portlet-form-button"/>
+ <h:commandButton id="update" value="#{bundle.COMMON_UPDATE}" styleClass="portlet-form-button"/>
</td>
</tr>
</tbody>
@@ -89,14 +89,14 @@
</fieldset>
</h:form>
- <h:form>
+ <h:form id="append-form">
<fieldset style="border: 1px solid;">
<legend>#{bundle.COMMON_APPEND_VALUE}</legend>
<h:outputLabel for="new_value">
<h:outputText value="#{bundle.COMMON_NEW_VALUE}: " styleClass="portlet-form-field-label"/>
</h:outputLabel>
<h:inputText id="new_value" value="#{prefs.selectedEntry.line}" styleClass="portlet-form-input-field"/>
- <h:commandButton action="#{prefs.selectedEntry.appendLine}" value="#{bundle.COMMON_APPEND}"
+ <h:commandButton id="append-button" action="#{prefs.selectedEntry.appendLine}" value="#{bundle.COMMON_APPEND}"
styleClass="portlet-form-button"/>
</fieldset>
</h:form>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editProperties.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editProperties.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editProperties.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -20,7 +20,7 @@
<tr>
<td class="dotted-blue-vert-rt">
- <h:form>
+ <h:form id="edit-prop-form">
<!-- defines layout of property form -->
<table>
<tbody>
@@ -57,7 +57,7 @@
</tbody>
</table>
<!-- ends layout of property form -->
- <h:commandButton value="#{bundle.COMMON_ADD_PROPERTY_BUTTON}"
+ <h:commandButton id="add-property" value="#{bundle.COMMON_ADD_PROPERTY_BUTTON}"
styleClass="portlet-form-button portlet-section-buttonrow"
action="#{properties.action.updateProperty}"/></h:form>
@@ -79,9 +79,9 @@
<tr>
<td class="portlet-section-body" valign="top">
- <h:form>
+ <h:form id="manage-prop-form">
<!-- defines layout of property table -->
- <h:dataTable value="#{properties.entries}" width="100%" headerClass="portlet-section-header"
+ <h:dataTable id="prop-data-table" value="#{properties.entries}" width="100%" headerClass="portlet-section-header"
styleClass="datatable full-width"
rowClasses="portlet-section-body, portlet-section-alternate" var="prop">
<h:column>
@@ -98,15 +98,15 @@
</h:column>
<h:column>
<f:facet name="header">#{bundle.COMMON_VALUE}</f:facet>
- <h:selectBooleanCheckbox value="#{prop.value}"
+ <h:selectBooleanCheckbox id="prop-read-check" value="#{prop.value}"
readonly="#{prop.readOnly}"
rendered="#{prop.type == 'java.lang.Boolean'}"/>
- <h:inputText styleClass="portlet-form-input-field" value="#{prop.value}"
+ <h:inputText id="prop-value-input" styleClass="portlet-form-input-field" value="#{prop.value}"
readonly="#{prop.readOnly}"
rendered="#{prop.type eq 'java.lang.String' and prop.name ne 'portal.windowInitialState'}"/>
- <h:selectOneMenu styleClass="portlet-form-input-field"
+ <h:selectOneMenu id="prop-value-select" styleClass="portlet-form-input-field"
value="#{prop.value}"
rendered="#{prop.type eq 'java.lang.String' and prop.name eq 'portal.windowInitialState' and (!portalobjectmgr.maximizedStateExists or prop.value eq 'MAXIMIZED')}">
<f:selectItem itemLabel="Choose One..." itemValue=""/>
@@ -115,7 +115,7 @@
<f:selectItem itemLabel="Normal" itemValue="NORMAL"/>
</h:selectOneMenu>
- <h:selectOneMenu styleClass="portlet-form-input-field"
+ <h:selectOneMenu id="prop-value-select1" styleClass="portlet-form-input-field"
value="#{prop.value}" disabled="true"
rendered="#{prop.type eq 'java.lang.String' and prop.name eq 'portal.windowInitialState' and (portalobjectmgr.maximizedStateExists and prop.value ne 'MAXIMIZED')}">
<f:selectItem itemLabel="Minimized" itemValue="MINIMIZED"/>
@@ -125,7 +125,7 @@
</h:column>
<h:column>
<f:facet name="header">#{bundle.COMMON_DELETE}</f:facet>
- <h:commandLink action="#{properties.action.removeProperty}"
+ <h:commandLink id="delete" action="#{properties.action.removeProperty}"
rendered="#{!prop.inherited}">
<h:outputText styleClass="actionDelete" value="#{bundle.COMMON_DELETE}"/>
<f:param name="name" value="#{prop.name}"/>
@@ -134,9 +134,8 @@
</h:dataTable>
<!-- ends property list -->
- <h:commandButton value="#{bundle.COMMON_UPDATE}"
+ <h:commandButton id="update" value="#{bundle.COMMON_UPDATE}"
styleClass="portlet-form-button portlet-section-buttonrow"/></h:form>
-
</td>
</tr>
</table>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editSecurity.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editSecurity.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editSecurity.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -5,7 +5,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core">
- <h:form>
+ <h:form id="edit-security-form">
<table class="datatable full-width">
<thead class="portlet-section-header">
<tr>
@@ -36,8 +36,8 @@
</table>
<br />
<div>
- <h:commandButton value="#{bundle.COMMON_UPDATE}" action="#{auth.submit}" styleClass="portlet-form-button"/>
- <h:commandButton value="#{bundle.COMMON_CANCEL}" action="#{auth.cancel}" styleClass="portlet-form-button" immediate="true"/>
+ <h:commandButton id="update" value="#{bundle.COMMON_UPDATE}" action="#{auth.submit}" styleClass="portlet-form-button"/>
+ <h:commandButton id="cancel" value="#{bundle.COMMON_CANCEL}" action="#{auth.cancel}" styleClass="portlet-form-button" immediate="true"/>
</div>
</h:form>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editTheme.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editTheme.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editTheme.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -1,7 +1,7 @@
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">
- <h:form>
+ <h:form id="edit-theme-form">
<table class="full-width datatable">
<thead class="portlet-section-header">
<tr>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editWindowTheme.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editWindowTheme.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/editWindowTheme.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
- <h:form>
+ <h:form id="edit-window-theme-form">
<table class="full-width datatable">
<thead class="portlet-section-header">
<tr>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/showPortletDetails.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/showPortletDetails.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/common/showPortletDetails.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -7,13 +7,13 @@
xmlns:portal="http://www.jboss.org/portal">
<div class="details-container">
-<h:form>
+<h:form id="show-portlet-detail-form">
<div class="full-width details-header">
<div class="main-header">
<br/>
<img src="#{portlet.smallIconLocation}" alt="" style="margin: 0 5px 0 5px;" class="float-left"/>
- <h:commandLink
+ <h:commandLink id="select"
action="#{portletmgr.selectPortlet}">
<f:param name="id" value="#{portlet.context.id}"/>
<f:param name="plugin" value="manager"/>
@@ -131,12 +131,12 @@
<h3 class="blue">#{bundle.COMMON_ADD_INSTANCE_DISPLAY_NAMES}</h3>
<div class="pad5">
- <h:form style="background-color:transparent;width:100%;margin:0;padding:0;display:inline;">
+ <h:form id="add-display-name-form" style="background-color:transparent;width:100%;margin:0;padding:0;display:inline;">
<h:inputText id="newName" value="#{instanceDisplayNameAction.newText}" required="true"/>
<h:selectOneMenu id="locales" value="#{instanceDisplayNameAction.newLocale}">
<f:selectItems value="#{instanceDisplayNameAction.locales}"/>
</h:selectOneMenu>
- <h:commandButton value="#{instanceDisplayNameAction.newText ne null ? 'Modify' : 'Add'} Name"
+ <h:commandButton id="addDisplay" value="#{instanceDisplayNameAction.newText ne null ? 'Modify' : 'Add'} Name"
action="#{instanceDisplayNameAction.addDisplayName}"
styleClass="portlet-form-button"/>
</h:form>
@@ -145,8 +145,8 @@
<h3 class="blue">#{bundle.COMMON_CURRENT_INSTANCE_DISPLAY_NAMES}</h3>
<div class="pad5">
- <h:form style="display:inline;width:100%;">
- <h:dataTable var="value" value="#{instanceDisplayNameAction.currentLocales}"
+ <h:form id="instance-display-form" style="display:inline;width:100%;">
+ <h:dataTable id="locale-datatable" var="value" value="#{instanceDisplayNameAction.currentLocales}"
styleClass="objectList datatable"
rowClasses="portlet-section-body,portlet-section-alternate-blue"
columnClasses="objectNameColumn, objectActionColumn"
@@ -168,7 +168,7 @@
<h:outputText value="#{bundle.COMMON_DELETE}"/>
</f:facet>
- <div style="width:150px"><h:commandLink action="#{instanceDisplayNameAction.editDisplayName}">
+ <div style="width:150px"><h:commandLink id="delete-link" action="#{instanceDisplayNameAction.editDisplayName}">
<h:outputText styleClass="actionDelete" value="#{bundle.COMMON_DELETE}"/>
<f:param name="locale" value="#{value.locale}"/>
<f:param name="editAction" value="delete"/>
@@ -180,7 +180,7 @@
</f:facet>
<div style="width:150px">
- <h:commandLink action="#{instanceDisplayNameAction.editDisplayName}">
+ <h:commandLinkid="edit-link" action="#{instanceDisplayNameAction.editDisplayName}">
<h:outputText styleClass="actionRename" value="#{bundle.RENAME}"/>
<f:param name="locale" value="#{value.locale}"/>
<f:param name="editAction" value="rename"/>
@@ -229,6 +229,4 @@
</div>
<br class="clear"/>
</div>
-
-
</div>
\ No newline at end of file
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/confirmDeleteInstance.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/confirmDeleteInstance.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/confirmDeleteInstance.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -10,10 +10,10 @@
<ui:composition template="instancesTemplate.xhtml">
<ui:define name="content">
- <h:form>
+ <h:form id="confirm-delete-form">
<ul class="objectpath">
<li class="pathItem">
- <h:commandLink action="instances">#{bundle.PORTLET_INSTANCES}</h:commandLink>
+ <h:commandLink id="instance-link" action="instances">#{bundle.PORTLET_INSTANCES}</h:commandLink>
</li>
<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
<li class="selected">
@@ -35,12 +35,12 @@
<p class="portlet-class">#{bundle.ARE_YOU_SURE_DELETE}</p>
- <h:form>
- <h:commandButton value="#{bundle.COMMON_DELETE}" action="instances" actionListener="#{instancemgr.deleteInstance}"
+ <h:form id="confirm-delete-form1">
+ <h:commandButton id="delete" value="#{bundle.COMMON_DELETE}" action="instances" actionListener="#{instancemgr.deleteInstance}"
styleClass="portlet-form-button portlet-section-buttonrow">
<f:attribute name="instanceId" value="#{instancemgr.selectedInstance.id}"/>
</h:commandButton>
- <h:commandButton value="#{bundle.COMMON_CANCEL}" action="instances" actionListener="objects"
+ <h:commandButton id="cancel" value="#{bundle.COMMON_CANCEL}" action="instances" actionListener="objects"
styleClass="portlet-form-button portlet-section-buttonrow"/>
</h:form>
</div>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/dashboardsTemplate.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/dashboardsTemplate.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/dashboardsTemplate.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -8,17 +8,17 @@
<!-- Common nav -->
<f:loadBundle basename="Resource" var="bundle" />
- <h:form>
+ <h:form id="dashboard-temp-form">
<ul class="topnav">
<li>
- <h:commandLink value="#{bundle.PORTAL_OBJECTS}" action="objects"
+ <h:commandLink id="obj-link" value="#{bundle.PORTAL_OBJECTS}" action="objects"
actionListener="#{portalobjectmgr.selectRootObject}"/>
</li>
<li>
- <h:commandLink value="#{bundle.PORTLET_INSTANCES}" action="instances"/>
+ <h:commandLink id="instance-link" value="#{bundle.PORTLET_INSTANCES}" action="instances"/>
</li>
<li>
- <h:commandLink value="#{bundle.PORTLET_DEFINITIONS}" action="#{portletmgr.selectPortlet}"/>
+ <h:commandLink id="def-link" value="#{bundle.PORTLET_DEFINITIONS}" action="#{portletmgr.selectPortlet}"/>
</li>
<li id="currentTab">#{bundle.DASHBOARDS}</li>
</ul>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/displayNameObject.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/displayNameObject.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/displayNameObject.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -10,7 +10,7 @@
<ui:define name="content">
<br/><br/>
<div class="float-left third-width-pad5">
- <h:form id="displayNameForm">
+ <h:form id="display-name-form">
<h3 class="sectionTitle zero">#{bundle.ADD_DISPLAY_NAMES}</h3>
<div class="portlet-area-body">
@@ -18,19 +18,19 @@
<h:selectOneMenu id="locales" value="#{addDisplayNameAction.newLocale}">
<f:selectItems value="#{addDisplayNameAction.locales}"/>
</h:selectOneMenu>
- <h:commandButton value="#{addDisplayNameAction.newText ne null ? 'Modify' : 'Add'} Name" action="#{addDisplayNameAction.addDisplayName}"
+ <h:commandButton id="add-display" value="#{addDisplayNameAction.newText ne null ? 'Modify' : 'Add'} Name" action="#{addDisplayNameAction.addDisplayName}"
styleClass="portlet-form-button"/>
</div>
</h:form>
</div>
<div class="float-left two-third-width-pad5">
- <h:form>
+ <h:form id="display-name-form1">
<h3 class="sectionTitle zero">#{bundle.CURRENT_DISPLAY_NAMES}</h3>
<div class="portlet-area-body">
- <h:dataTable var="value" value="#{addDisplayNameAction.currentLocales}" styleClass="objectList datatable"
+ <h:dataTable id="locale-datatable" var="value" value="#{addDisplayNameAction.currentLocales}" styleClass="objectList datatable"
rowClasses="portlet-section-body,portlet-section-alternate"
columnClasses="objectNameColumn, objectActionColumn"
headerClass="portlet-section-header">
@@ -51,7 +51,7 @@
<h:outputText value="#{bundle.COMMON_DELETE}"/>
</f:facet>
- <div style="width:150px"><h:commandLink action="#{addDisplayNameAction.editDisplayName}">
+ <div style="width:150px"><h:commandLink id="delete" action="#{addDisplayNameAction.editDisplayName}">
<h:outputText styleClass="actionDelete" value="#{bundle.COMMON_DELETE}"/>
<f:param name="locale" value="#{value.locale}"/>
<f:param name="editAction" value="delete"/>
@@ -62,7 +62,7 @@
<h:outputText value="#{bundle.RENAME}"/>
</f:facet>
- <div style="width:150px"><h:commandLink action="#{addDisplayNameAction.editDisplayName}">
+ <div style="width:150px"><h:commandLink id="rename" action="#{addDisplayNameAction.editDisplayName}">
<h:outputText styleClass="actionRename" value="#{bundle.RENAME}"/>
<f:param name="locale" value="#{value.locale}"/>
<f:param name="editAction" value="rename"/>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editContext.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editContext.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editContext.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -15,8 +15,8 @@
<c:otherwise><span class="objectName">#{portalobjectmgr.selectedObject.name}</span> #{bundle.PORTAL}</c:otherwise>
</c:choose>
</h3>
- <h:form>
- <h:commandLink action="editProperties" actionListener="#{portalobjectmgr.selectObject}"
+ <h:form id="edit-context-form">
+ <h:commandLink id="object-link" action="editProperties" actionListener="#{portalobjectmgr.selectObject}"
styleClass="actionProperties">
<f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
#{bundle.COMMON_PROPERTIES}
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editPage.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editPage.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editPage.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -12,45 +12,45 @@
#{portalobjectmgr.selectedObject.typeName}</h3>
<h:form id="admin-portal-form">
- <h:panelGrid columns="11" cellpadding="0" cellspacing="0" border="0">
- <h:commandLink rendered="#{portalobjectmgr.selectedObject.type == PortalObject.TYPE_PAGE}"
+ <h:panelGrid id="page-panel" columns="11" cellpadding="0" cellspacing="0" border="0">
+ <h:commandLink id="edit-layout-link" rendered="#{portalobjectmgr.selectedObject.type == PortalObject.TYPE_PAGE}"
action="editPageLayout" actionListener="#{portalobjectmgr.selectObject}" styleClass="actionLayout">
<f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
#{bundle.PAGE_LAYOUT}
</h:commandLink>
- <h:commandLink action="editPageSecurity" styleClass="actionSecurity"
+ <h:commandLink id="edit-security-link" action="editPageSecurity" styleClass="actionSecurity"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
#{bundle.SECURITY}
</h:commandLink>
- <h:commandLink action="editProperties" styleClass="actionProperties"
+ <h:commandLink id="edit-prop-link" action="editProperties" styleClass="actionProperties"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
#{bundle.COMMON_PROPERTIES}
</h:commandLink>
- <h:commandLink action="editPageTheme" styleClass="actionTheme"
+ <h:commandLink id="edit-theme-link" action="editPageTheme" styleClass="actionTheme"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
#{bundle.THEME}
</h:commandLink>
- <h:commandLink rendered="#{!((portalobjectmgr.selectedObject.type == PortalObject.TYPE_PORTAL) and ((portalobjectmgr.selectedObject.name == 'admin') or (portalobjectmgr.selectedObject.name == 'template')))}"
+ <h:commandLink id="rename-link" rendered="#{!((portalobjectmgr.selectedObject.type == PortalObject.TYPE_PORTAL) and ((portalobjectmgr.selectedObject.name == 'admin') or (portalobjectmgr.selectedObject.name == 'template')))}"
action="renameObject" actionListener="#{portalobjectmgr.selectObject}" styleClass="actionRename">
<f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
#{bundle.RENAME}
</h:commandLink>
- <h:commandLink
+ <h:commandLink id="rename-display-link"
action="#{addDisplayNameAction.editDisplayNames}" actionListener="#{portalobjectmgr.selectObject}" styleClass="actionDisplayNames">
<f:param name="id" value="#{portalobjectmgr.selectedObject.id}" />
#{bundle.DISPLAY_NAMES}
</h:commandLink>
- <h:commandLink action="#{coordinationManager.editCoordination}"
+ <h:commandLink id="edit-coord-link" action="#{coordinationManager.editCoordination}"
rendered="#{'page' eq portalobjectmgr.selectedObjectType}"
actionListener="#{portalobjectmgr.selectObject}"
styleClass="actionCoordination">
<f:param name="id" value="#{portalobjectmgr.selectedObject.id}" />
#{bundle.COORDINATION_COORDINATION}
</h:commandLink>
- <h:commandLink action="confirm" styleClass="actionDelete"
+ <h:commandLink id="delete-link" action="confirm" styleClass="actionDelete"
rendered="#{!((portalobjectmgr.selectedObject.type == PortalObject.TYPE_PORTAL) and ((portalobjectmgr.selectedObject.name == 'admin') or (portalobjectmgr.selectedObject.name == 'template') or (portalobjectmgr.selectedObject.default)))}"
actionListener="#{portalobjectmgr.selectDeletingObject}">
<f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editProperties.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editProperties.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/editProperties.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -15,14 +15,14 @@
<p class="portlet-area-header">#{bundle.EVENT_LISTENER_BINDING}</p>
<div class="portlet-area-body tenpx-top-bottom">
- <h:form>
+ <h:form id="edit-prop-form">
<h:outputLabel for="listener" styleClass="portlet-form-field-label">
#{bundle.CHOOSE_ID_PORTALEVENTLISTENER} #{portalobjectmgr.selectedObjectType}:
</h:outputLabel>
<h:selectOneMenu id="listener" value="#{portalobjectmgr.selectedObject.listener}">
<f:selectItems value="#{portalobjectmgr.listenerIds}"/>
</h:selectOneMenu>
- <h:commandButton value="#{bundle.COMMON_UPDATE}" styleClass="portlet-form-button"/>
+ <h:commandButton id="update" value="#{bundle.COMMON_UPDATE}" styleClass="portlet-form-button"/>
</h:form>
</div>
</div>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/instances.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/instances.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/instances.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -85,7 +85,7 @@
<c:forEach begin="0" end="#{(instancemgr.instanceCount - 1)/ instancemgr.paginationSize}" step="1"
var="index">
<li class="#{index == (instancemgr.selectedFrom / instancemgr.paginationSize)? 'selected' : ''}">
- <h:commandLink action="#{instancemgr.selectFrom}">
+ <h:commandLink id="pagination-#{index}" action="#{instancemgr.selectFrom}">
<f:param name="from" value="#{index * instancemgr.paginationSize}"/>
<h:outputText value="#{index * instancemgr.paginationSize}"/>
</h:commandLink>
@@ -99,10 +99,10 @@
<c:if test="#{instancemgr.selectedPlugin == 'info'}">
<!-- Path nav -->
- <h:form>
+ <h:form id="instance-form1">
<ul class="objectpath">
<li class="pathItem">
- <h:commandLink action="#{instancemgr.selectInstance}">#{bundle.PORTLET_INSTANCES}</h:commandLink>
+ <h:commandLink id="instance-link" action="#{instancemgr.selectInstance}">#{bundle.PORTLET_INSTANCES}</h:commandLink>
</li>
<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
<li class="selected">
@@ -127,10 +127,10 @@
<c:if test="#{instancemgr.selectedPlugin == 'preferences'}">
<!-- Path nav -->
- <h:form>
+ <h:form id="instance-form2">
<ul class="objectpath">
<li class="pathItem">
- <h:commandLink action="#{instancemgr.selectInstance}">#{bundle.PORTLET_INSTANCES}</h:commandLink>
+ <h:commandLink id="instance-link" action="#{instancemgr.selectInstance}">#{bundle.PORTLET_INSTANCES}</h:commandLink>
</li>
<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
<li class="selected">
@@ -141,23 +141,23 @@
<br/>
<div class="property-container">
- <ui:include src="common/editPreferences.xhtml">
- <ui:param name="prefs" value="#{instancemgr.selectedPrefs}"/>
- </ui:include>
- <br />
- <h:form>
- <h:commandButton value="#{bundle.SAVE}" action="#{instancemgr.updatePrefs}" styleClass="portlet-form-button"/>
- <h:commandButton value="#{bundle.COMMON_CANCEL}" action="#{instancemgr.cancelPrefs}" styleClass="portlet-form-button"/>
- </h:form>
+ <ui:include src="common/editPreferences.xhtml">
+ <ui:param name="prefs" value="#{instancemgr.selectedPrefs}"/>
+ </ui:include>
+ <br />
+ <h:form>
+ <h:commandButton id="save" value="#{bundle.SAVE}" action="#{instancemgr.updatePrefs}" styleClass="portlet-form-button"/>
+ <h:commandButton id="cancel" value="#{bundle.COMMON_CANCEL}" action="#{instancemgr.cancelPrefs}" styleClass="portlet-form-button"/>
+ </h:form>
</div>
</c:if>
<c:if test="#{instancemgr.selectedPlugin == 'security'}">
<!-- Path nav -->
- <h:form>
+ <h:form id="instance-form3">
<ul class="objectpath">
<li class="pathItem">
- <h:commandLink action="#{instancemgr.selectInstance}">#{bundle.PORTLET_INSTANCES}</h:commandLink>
+ <h:commandLink id="instance-link" action="#{instancemgr.selectInstance}">#{bundle.PORTLET_INSTANCES}</h:commandLink>
</li>
<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
<li class="selected">
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/objectNavigation.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/objectNavigation.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/objectNavigation.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -7,10 +7,10 @@
xmlns:pfc="http://www.jboss.com/portal/facelet/common"
xmlns:c="http://java.sun.com/jstl/core">
-<h:form>
+<h:form id="obj-nav-form">>
<c:if test="#{not empty portalobjectmgr.selectedObject.portals}">
- <h:dataTable var="object" value="#{portalobjectmgr.selectedObject.portals}" styleClass="objectList datatable"
+ <h:dataTable id="portal-datatable" var="object" value="#{portalobjectmgr.selectedObject.portals}" styleClass="objectList datatable"
rowClasses="portlet-section-body,portlet-section-alternate"
columnClasses="objectNameColumn, objectActionColumn"
headerClass="portlet-section-header">
@@ -18,7 +18,7 @@
<f:facet name="header">
<h:outputText value="#{bundle.WIZARD_PORTAL}"/>
</f:facet>
- <h:commandLink action="#{portalobjectmgr.selectObject}" styleClass="actionSelectPortal">#{object.name}
+ <h:commandLink id="object-iid-link" action="#{portalobjectmgr.selectObject}" styleClass="actionSelectPortal">#{object.name}
<f:param name="id" value="#{object.id}"/>
</h:commandLink>
</h:column>
@@ -27,20 +27,20 @@
<h:outputText value="#{bundle.ACTIONS}"/>
</f:facet>
<h:panelGrid columns="7" cellpadding="0" cellspacing="0" border="0">
- <h:commandLink action="editPortalSecurity" actionListener="#{portalobjectmgr.selectObject}"
+ <h:commandLink id="security-link" action="editPortalSecurity" actionListener="#{portalobjectmgr.selectObject}"
styleClass="actionSecurity">
<f:param name="id" value="#{object.id}"/>#{bundle.SECURITY}
</h:commandLink>
- <h:commandLink action="editProperties" styleClass="actionProperties"
+ <h:commandLink id="prop-link" action="editProperties" styleClass="actionProperties"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{object.id}"/>#{bundle.COMMON_PROPERTIES}
</h:commandLink>
- <h:commandLink action="editPortalTheme" styleClass="actionTheme"
+ <h:commandLink id="theme-link" action="editPortalTheme" styleClass="actionTheme"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{object.id}"/>
#{bundle.THEME}
</h:commandLink>
- <h:commandLink action="renameObject" actionListener="#{portalobjectmgr.selectObject}"
+ <h:commandLink id="rename" action="renameObject" actionListener="#{portalobjectmgr.selectObject}"
rendered="#{(object.name != 'admin') and (object.name != 'template')}"
styleClass="actionRename">
<h:outputText value="#{bundle.RENAME}"/>
@@ -48,13 +48,13 @@
</h:commandLink>
- <h:commandLink action="confirm" styleClass="actionDelete" rendered="#{(object.name != 'admin') and (object.name != 'template') and (not object.default)}"
+ <h:commandLink id="delete" action="confirm" styleClass="actionDelete" rendered="#{(object.name != 'admin') and (object.name != 'template') and (not object.default)}"
actionListener="#{portalobjectmgr.selectDeletingObject}">
<f:param name="id" value="#{object.id}"/>
#{bundle.COMMON_DELETE}
</h:commandLink>
- <h:commandLink styleClass="actionMakeDefault" rendered="#{not object.default}"
+ <h:commandLink id="default-link" styleClass="actionMakeDefault" rendered="#{not object.default}"
action="#{portalobjectmgr.makeObjectDefault}">
<f:param name="id" value="#{object.id}"/>
#{bundle.MAKE_DEFAULT}
@@ -67,7 +67,7 @@
</c:if>
<c:if test="#{not empty portalobjectmgr.selectedObject.pages}">
- <h:dataTable var="object" value="#{portalobjectmgr.selectedObject.pages}" styleClass="objectList datatable"
+ <h:dataTable id="pages-datatable" var="object" value="#{portalobjectmgr.selectedObject.pages}" styleClass="objectList datatable"
columnClasses="objectNameColumn, objectActionColumn"
rowClasses="portlet-section-body,portlet-section-alternate"
headerClass="portlet-section-header">
@@ -75,7 +75,7 @@
<f:facet name="header">
<h:outputText value="#{bundle.WIZARD_PAGE}"/>
</f:facet>
- <h:commandLink action="#{portalobjectmgr.selectObject}">#{object.name}
+ <h:commandLink id="object-link" action="#{portalobjectmgr.selectObject}">#{object.name}
<f:param name="id" value="#{object.id}"/>
</h:commandLink>
</h:column>
@@ -84,45 +84,45 @@
<h:outputText value="#{bundle.ACTIONS}"/>
</f:facet>
- <h:commandLink action="editPageLayout" actionListener="#{portalobjectmgr.selectObject}"
+ <h:commandLink id="edit-page-layout" action="editPageLayout" actionListener="#{portalobjectmgr.selectObject}"
styleClass="actionLayout float-left">
<f:param name="id" value="#{object.id}"/>
#{bundle.PAGE_LAYOUT}
</h:commandLink>
- <h:commandLink action="editPageSecurity" styleClass="actionSecurity float-left"
+ <h:commandLink id="security-link action="editPageSecurity" styleClass="actionSecurity float-left"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{object.id}"/>#{bundle.SECURITY}
</h:commandLink>
- <h:commandLink action="editProperties" styleClass="actionProperties float-left"
+ <h:commandLink id="prop-link" action="editProperties" styleClass="actionProperties float-left"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{object.id}"/>#{bundle.COMMON_PROPERTIES}
</h:commandLink>
- <h:commandLink action="editPageTheme" styleClass="actionTheme float-left"
+ <h:commandLink id="theme-link" action="editPageTheme" styleClass="actionTheme float-left"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{object.id}"/>
#{bundle.THEME}
</h:commandLink>
- <h:commandLink action="renameObject" styleClass="actionRename float-left"
+ <h:commandLink id="rename-link" action="renameObject" styleClass="actionRename float-left"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{object.id}"/>
#{bundle.RENAME}
</h:commandLink>
- <h:commandLink action="#{addDisplayNameAction.editDisplayNames}" styleClass="actionDisplayNames float-left"
+ <h:commandLink id="rename-display" action="#{addDisplayNameAction.editDisplayNames}" styleClass="actionDisplayNames float-left"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{object.id}"/>
#{bundle.DISPLAY_NAMES}
</h:commandLink>
- <h:commandLink action="#{coordinationManager.editCoordination}" styleClass="actionCoordination float-left"
+ <h:commandLink id="edit-coord" action="#{coordinationManager.editCoordination}" styleClass="actionCoordination float-left"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{object.id}"/>
#{bundle.COORDINATION_COORDINATION}
</h:commandLink>
- <h:commandLink rendered="#{not object.default}" action="confirm" styleClass="actionDelete float-left"
+ <h:commandLink id="delete-link" rendered="#{not object.default}" action="confirm" styleClass="actionDelete float-left"
actionListener="#{portalobjectmgr.selectDeletingObject}">
<f:param name="id" value="#{object.id}"/>
#{bundle.COMMON_DELETE}
</h:commandLink>
- <h:commandLink styleClass="actionMakeDefault float-left" rendered="#{not object.default}"
+ <h:commandLink id="default-link" styleClass="actionMakeDefault float-left" rendered="#{not object.default}"
action="#{portalobjectmgr.makeObjectDefault}">
<f:param name="id" value="#{object.id}"/>
#{bundle.MAKE_DEFAULT}
@@ -141,7 +141,7 @@
<ui:param name="maximizedStateExists" value="#{portalobjectmgr.selectedObject.maximizedStateExists}"/>
- <h:dataTable var="object" value="#{portalobjectmgr.selectedObject.windows}" styleClass="objectList datatable"
+ <h:dataTable id="windows-datatable" var="object" value="#{portalobjectmgr.selectedObject.windows}" styleClass="objectList datatable"
rowClasses="portlet-section-body,portlet-section-alternate"
columnClasses="objectNameColumn, objectActionColumn"
headerClass="portlet-section-header">
@@ -169,7 +169,7 @@
<h:outputText value="#{object.name}"
rendered="#{fn:startsWith(object.declaredProperties['portal.windowContentType'], 'widget/')}"/>
- <h:commandLink action="#{portalobjectmgr.selectObject}"
+ <h:commandLink id="window-name-link" action="#{portalobjectmgr.selectObject}"
rendered="#{! fn:startsWith(object.declaredProperties['portal.windowContentType'], 'widget/')}">
<h:outputText value="#{object.name}"/>
<f:param name="id" value="#{object.id}"/>
@@ -182,19 +182,19 @@
<h:outputText value="#{bundle.ACTIONS}"/>
</f:facet>
<h:panelGrid columns="7" cellpadding="0" cellspacing="0" border="0">
- <h:commandLink action="editWindowTheme" actionListener="#{portalobjectmgr.selectObject}"
+ <h:commandLink id="theme-link" action="editWindowTheme" actionListener="#{portalobjectmgr.selectObject}"
styleClass="actionTheme">
<f:param name="id" value="#{object.id}"/>
#{bundle.THEME}
- </h:commandLink> <h:commandLink action="editProperties" styleClass="actionProperties"
+ </h:commandLink> <h:commandLink id="edit-prop-link" action="editProperties" styleClass="actionProperties"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{object.id}"/>
<f:param name="maximizedStateExists" value="#{portalobjectmgr.selectedObject.maximizedStateExists}"/>#{bundle.COMMON_PROPERTIES}
- </h:commandLink> <h:commandLink action="renameObject" styleClass="actionRename"
+ </h:commandLink> <h:commandLink id="rename-link" action="renameObject" styleClass="actionRename"
actionListener="#{portalobjectmgr.selectObject}">
<f:param name="id" value="#{object.id}"/>
#{bundle.RENAME}
- </h:commandLink> <h:commandLink action="confirm" actionListener="#{portalobjectmgr.selectDeletingObject}"
+ </h:commandLink> <h:commandLink id="delete-link" action="confirm" actionListener="#{portalobjectmgr.selectDeletingObject}"
styleClass="actionDelete">
<f:param name="id" value="#{object.id}"/>
#{bundle.COMMON_DELETE}
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/portlets.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/portlets.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/portlets.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -113,10 +113,10 @@
<c:if test="#{portletmgr.selectedPlugin == 'manager'}">
<!-- Path nav -->
- <h:form>
+ <h:form id="man-form">
<ul class="objectpath">
<li class="pathItem">
- <h:commandLink action="#{portletmgr.selectPortlet}">#{bundle.PORTLET_DEFINITIONS}</h:commandLink>
+ <h:commandLink id="def-link" action="#{portletmgr.selectPortlet}">#{bundle.PORTLET_DEFINITIONS}</h:commandLink>
</li>
<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
<li class="selected">
@@ -133,10 +133,10 @@
<c:if test="#{portletmgr.selectedPlugin == 'preferences'}">
<!-- Path nav -->
- <h:form>
+ <h:form id="pref-form">
<ul class="objectpath">
<li class="pathItem">
- <h:commandLink action="#{portletmgr.selectPortlet}">#{bundle.PORTLET_DEFINITIONS}</h:commandLink>
+ <h:commandLink id="def-link" action="#{portletmgr.selectPortlet}">#{bundle.PORTLET_DEFINITIONS}</h:commandLink>
</li>
<li class="pathSeparator"><h:graphicImage url="/img/pathSeparator.png" alt=">"/></li>
<li class="selected">
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/renameObject.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/renameObject.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/renameObject.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -14,9 +14,9 @@
<p>#{bundle.RENAME_THE} <span class="objectName">#{portalobjectmgr.selectedObject.name}</span>
#{portalobjectmgr.selectedObjectType} #{bundle.TO}:
<h:inputText id="newName" value="#{renameAction.newName}"/>
- <h:commandButton value="#{bundle.RENAME}" action="#{renameAction.execute}"
+ <h:commandButton id="rename" value="#{bundle.RENAME}" action="#{renameAction.execute}"
styleClass="portlet-form-button portlet-section-buttonrow"/>
- <h:commandButton value="#{bundle.CANCEL}" action="objects"
+ <h:commandButton id="cancel" value="#{bundle.CANCEL}" action="objects"
styleClass="portlet-form-button portlet-section-buttonrow"/>
</p>
</h:form>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/newWindowTpl.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/newWindowTpl.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/newWindowTpl.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -26,7 +26,7 @@
<c:otherwise>
<c:choose>
<c:when test="#{newWindowWizard.enabled[0]}">
- <h:form><h:commandLink action="#{newWindowWizard.goTo}">
+ <h:form id="new-window-wiz-form"><h:commandLink id="goto-link" action="#{newWindowWizard.goTo}">
<f:param name="step" value="0"/>
<div class="wizardStepBox">
@@ -58,7 +58,7 @@
<c:otherwise>
<c:choose>
<c:when test="#{newWindowWizard.enabled[1]}">
- <h:form><h:commandLink action="#{newWindowWizard.goTo}">
+ <h:form id="new-window-wiz-form"><h:commandLink id="goto-link" action="#{newWindowWizard.goTo}">
<f:param name="step" value="1"/>
<div class="wizardStepBox">
@@ -90,7 +90,7 @@
<c:otherwise>
<c:choose>
<c:when test="#{newWindowWizard.enabled[2]}">
- <h:form><h:commandLink action="#{newWindowWizard.goTo}">
+ <h:form id="new-window-wiz-form"><h:commandLink id="goto-link" action="#{newWindowWizard.goTo}">
<f:param name="step" value="2"/>
<div class="wizardStepBox">
@@ -122,7 +122,7 @@
<c:otherwise>
<c:choose>
<c:when test="#{newWindowWizard.enabled[3]}">
- <h:form><h:commandLink action="#{newWindowWizard.goTo}">
+ <h:form id="new-window-wiz-form"><h:commandLink id="goto-link" action="#{newWindowWizard.goTo}">
<f:param name="step" value="3"/>
<div class="wizardStepBox">
@@ -154,7 +154,7 @@
<c:otherwise>
<c:choose>
<c:when test="#{newWindowWizard.enabled[4]}">
- <h:form><h:commandLink action="#{newWindowWizard.goTo}">
+ <h:form id="new-window-wiz-form"><h:commandLink id="goto-link" action="#{newWindowWizard.goTo}">
<f:param name="step" value="4"/>
<div class="wizardStepBox">
@@ -186,17 +186,17 @@
</div>
<div class="wizardButtonBox">
- <h:form>
- <h:commandButton rendered="#{newWindowWizard.currentStep gt 0}" value="#{bundle.WIZARD_PREVIOUS}"
+ <h:form id="wiz-nav-form">
+ <h:commandButton id="previous" rendered="#{newWindowWizard.currentStep gt 0}" value="#{bundle.WIZARD_PREVIOUS}"
action="#{newWindowWizard.previous}" styleClass="portlet-form-button"/>
- <h:commandButton
+ <h:commandButton id="next"
rendered="#{newWindowWizard.currentStep lt 4 and newWindowWizard.enabled[newWindowWizard.currentStep + 1]}"
value="#{bundle.WIZARD_NEXT}" action="#{newWindowWizard.next}" styleClass="portlet-form-button"/>
</h:form>
</div>
-<h:form>
- <p style="text-align: right;"><h:commandLink action="advancedMode">#{bundle.WIZARD_SWITCH_ADVANCED_MODE}</h:commandLink></p>
+<h:form id="advance-form">
+ <p style="text-align: right;"><h:commandLink id="advanced-link" action="advancedMode">#{bundle.WIZARD_SWITCH_ADVANCED_MODE}</h:commandLink></p>
</h:form>
</div>
</div>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/newWindowWizardConfirm.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/newWindowWizardConfirm.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/newWindowWizardConfirm.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -28,9 +28,9 @@
</tr>
</table>
- <h:form>
- <h:commandButton value="#{bundle.WIZARD_CONFIRM}" action="#{newWindowWizard.createWindow}" styleClass="portlet-form-button"/>
- <h:commandButton value="#{bundle.COMMON_CANCEL}" action="#{newWindowWizard.cancel}" styleClass="portlet-form-button"/>
+ <h:form id="wiz-conf-form">
+ <h:commandButton id="confirm" value="#{bundle.WIZARD_CONFIRM}" action="#{newWindowWizard.createWindow}" styleClass="portlet-form-button"/>
+ <h:commandButton id="cancel" value="#{bundle.COMMON_CANCEL}" action="#{newWindowWizard.cancel}" styleClass="portlet-form-button"/>
</h:form>
</ui:define>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPage.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPage.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPage.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -17,8 +17,8 @@
</tr>
</tbody>
<tbody>
- <h:form>
- <h:commandLink action="#{newWindowWizard.up}"
+ <h:form id="wiz-page-form">
+ <h:commandLink id="parent-link" action="#{newWindowWizard.up}"
rendered="#{newWindowWizard.selectedParentPage.type != PortalObject.TYPE_PORTAL}">
<h:outputText value="#{bundle.COMMON_UP}"/>
<f:param name="id" value="#{newWindowWizard.selectedParentPageId}"/>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPortal.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPortal.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPortal.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -16,12 +16,12 @@
</tr>
</tbody>
<tbody>
- <h:form>
+ <h:form id="portal-wiz-form">
<c:forEach items="#{newWindowWizard.portals}" var="object" varStatus="status">
<tr
class="#{object.id == newWindowWizard.selectedPortalId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
<td>
- <h:commandLink action="#{newWindowWizard.selectPortal}">
+ <h:commandLink id="portal-link-#{status.index}" action="#{newWindowWizard.selectPortal}">
<h:outputText value="#{object.name}"/>
<f:param name="id" value="#{object.id}"/>
</h:commandLink>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPortlet.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPortlet.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectPortlet.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -7,17 +7,17 @@
<f:loadBundle basename="Resource" var="bundle" />
<ui:composition template="newWindowTpl.xhtml">
<ui:define name="content">
- <h:form>
+ <h:form id="portlet-wiz-form">
<h:outputLabel for="menu">
<h:outputText value="#{bundle.WIZARD_PORTLET_PROVIDER}: " styleClass="portlet-form-field-label"/>
</h:outputLabel>
<h:selectOneMenu id="menu" styleClass="portlet-form-field" value="#{portletmgr.selectedPortletInvokerId}">
<f:selectItems value="#{portletmgr.portletInvokerItems}"/>
</h:selectOneMenu>
- <h:commandButton value="#{bundle.WIZARD_CHANGE}" styleClass="portlet-form-button"/>
+ <h:commandButton id="wiz-change" value="#{bundle.WIZARD_CHANGE}" styleClass="portlet-form-button"/>
</h:form>
- <h:form>
+ <h:form id="portlet-wiz-form1">
<ul class="pagination property-container">
<c:forEach begin="0" end="#{(portletmgr.portletCount - 1)/portletmgr.paginationSize}" step="1"
var="index">
@@ -40,7 +40,7 @@
<tr
class="#{portlet.context.id == newWindowWizard.selectedPortletId ? 'portlet-section-selected' : (status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate')}">
<td title="#{portlet.description.value}">
- <h:commandLink action="#{newWindowWizard.selectPortlet}">
+ <h:commandLink id="portlet-link-#{status.index}" action="#{newWindowWizard.selectPortlet}">
<h:outputText>#{portlet.name}</h:outputText>
<f:param name="id" value="#{portlet.context.id}"/>
<f:param name="portletInvokerId" value="#{portletmgr.selectedPortletInvokerId}"/>
@@ -58,7 +58,7 @@
<c:forEach begin="0" end="#{(portletmgr.portletCount - 1)/portletmgr.paginationSize}" step="1"
var="index">
<li class="#{index == portletmgr.selectedFrom ? 'selected' : ''}">
- <h:commandLink action="#{portletmgr.selectFrom}">
+ <h:commandLink id="pagination-#{index}" action="#{portletmgr.selectFrom}">
<f:param name="from" value="#{index * portletmgr.paginationSize}"/>
<h:outputText value="#{index * portletmgr.paginationSize}"/>
</h:commandLink>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectRegion.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectRegion.xhtml 2008-09-25 15:47:41 UTC (rev 11984)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/wizard/selectRegion.xhtml 2008-09-25 18:54:59 UTC (rev 11985)
@@ -17,12 +17,12 @@
</tr>
</tbody>
<tbody>
- <h:form>
+ <h:form id="region-wiz-form">
<c:forEach items="#{newWindowWizard.regions}" var="object" varStatus="status">
<tr
class="#{object == newWindowWizard.selectedRegionId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
<td>
- <h:commandLink action="#{newWindowWizard.selectRegion}">
+ <h:commandLink id="region-#{status.index}" action="#{newWindowWizard.selectRegion}">
<h:outputText value="#{object}"/>
<f:param name="name" value="#{object}"/>
</h:commandLink>
More information about the portal-commits
mailing list