Author: prabhat.jha(a)jboss.com
Date: 2008-09-18 10:57:40 -0400 (Thu, 18 Sep 2008)
New Revision: 11930
Modified:
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/dashboard/dashboard.xhtml
Log:
[JBPORTAL-2104]more ids for dashboard
Modified:
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/dashboard/dashboard.xhtml
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/dashboard/dashboard.xhtml 2008-09-18
11:07:59 UTC (rev 11929)
+++
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/dashboard/dashboard.xhtml 2008-09-18
14:57:40 UTC (rev 11930)
@@ -23,10 +23,10 @@
<table class="bottombuttonbar">
<tr>
<td align="left"
valign="top"><b>#{bundle.DASHBOARD_CREATE_NEW_PAGE}:</b><br/>#{bundle.DASHBOARD_CREATE_PAGE}: 
- <h:form style="padding:0;margin:0">
+ <h:form id="dashboard-form"
style="padding:0;margin:0">
<h:inputText id="pageName"
value="#{addDashboardPageAction.pageName}"
styleClass="portlet-form-input-field"/>
- <h:commandButton value="#{bundle.SAVE}"
+ <h:commandButton value="#{bundle.SAVE}"
id="save-button"
action="#{addDashboardPageAction.execute}"
styleClass="portlet-form-button"/>
</h:form>
@@ -39,7 +39,7 @@
<h:message for="newName"/>
<h:inputText id="newName"
value="#{renameDashboardPageAction.newName}"
styleClass="portlet-form-input-field"/>
- <h:commandButton value="#{bundle.RENAME}"
+ <h:commandButton value="#{bundle.RENAME}"
id="rename-button"
action="#{renameDashboardPageAction.execute}"
styleClass="portlet-form-button"/>
</h:form>
@@ -61,7 +61,7 @@
</tr>
<tr>
<td class="portlet-section-body" align="center">
- <h:form id="page_selector_form"
style="padding:0;margin:0">
+ <h:form id="page-selector-form"
style="padding:0;margin:0">
Select: <h:selectOneMenu
id="pageNameSelector"
value="#{dashboard.selectedPageName}"
@@ -98,7 +98,7 @@
styleClass="portlet-form-field">
<f:selectItems
value="#{applicationScope.LayoutService.layoutItems}"/>
</h:selectOneMenu>
- <h:commandButton
value="#{bundle.DASHBOARD_SELECT}" styleClass="portlet-form-button"
+ <h:commandButton id="update-layout"
value="#{bundle.DASHBOARD_SELECT}" styleClass="portlet-form-button"
action="#{dashboard.updateLayout}"/>
</h:form>
</td>
@@ -116,7 +116,7 @@
styleClass="portlet-form-field">
<f:selectItems
value="#{applicationScope.ThemeService.themeItems}"/>
</h:selectOneMenu>
- <h:commandButton
value="#{bundle.DASHBOARD_SELECT}" styleClass="portlet-form-button"
+ <h:commandButton id="update-theme"
value="#{bundle.DASHBOARD_SELECT}" styleClass="portlet-form-button"
action="#{dashboard.updateTheme}"/>
</h:form>
</td>
@@ -150,7 +150,7 @@
<tr>
<td align="left">
<h:form style="padding:0;margin:0">
- <h:commandButton value="#{bundle.DASHBOARD_DELETE_THIS_PAGE}"
styleClass="portlet-form-button"
+ <h:commandButton id="destroy"
value="#{bundle.DASHBOARD_DELETE_THIS_PAGE}"
styleClass="portlet-form-button"
action="#{dashboard.destroyPage}"/>
<br/>
<font
color="red">#{bundle.DASHBOARD_CANNOT_UNDO_ACTION}!</font>