Author: thomas.heute(a)jboss.com
Date: 2007-05-24 10:09:20 -0400 (Thu, 24 May 2007)
New Revision: 7326
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPage.xhtml
Log:
JBPORTAL-1410: The text box to create a page, and the drop-down list below it should be
left aligned in the same column.
JBPORTAL-1411: The text box for creating a nested page, and the drop-down list for the
default page should be left aligned in the same column.
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPage.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPage.xhtml 2007-05-24
13:46:12 UTC (rev 7325)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPage.xhtml 2007-05-24
14:09:20 UTC (rev 7326)
@@ -30,31 +30,46 @@
</h:commandLink>
</h:form>
+
+
<!-- Sub page addition -->
<div style="padding:1em 0 0 0">
- <h:form id="addPageForm">
- <span class="portlet-font">Create a page:</span>
- <span style="padding:1em 0 1em 0">
- <h:inputText id="pageName"
value="#{addPageAction.pageName}"
styleClass="portlet-form-input-field" required="true"/>
- <h:commandButton action="#{addPageAction.execute}"
value="Add" styleClass="portlet-form-button"/>
- <h:message for="pageName"
errorClass="portlet-msg-error"/>
- </span>
- </h:form>
+ <table>
+ <tr>
+ <h:form>
+ <td>
+ <span class="portlet-font">Create a
page:</span>
+ </td>
+ <td>
+ <h:inputText id="pageName"
value="#{addPageAction.pageName}"
styleClass="portlet-form-input-field" required="true"/>
+ </td>
+ <td>
+ <h:commandButton action="#{addPageAction.execute}"
value="Add" styleClass="portlet-form-button"/>
+ </td>
+ <td>
+ <h:message for="pageName"
errorClass="portlet-msg-error"/>
+ </td>
+ </h:form>
+ </tr>
+ <!-- Default page -->
+ <tr>
+ <h:form>
+ <td>
+ <span class="portlet-font">Default
page:</span>
+ </td>
+ <td>
+ <h:selectOneMenu id="name"
styleClass="portlet-form-field"
value="#{portalAction.defaultPageName}">
+ <f:selectItems
value="#{portalobjectmgr.portalPageItems}" />
+ </h:selectOneMenu>
+ </td>
+ <td colspan="2">
+ <h:commandButton styleClass="portlet-form-button"
value="Update" action="objects"/>
+ </td>
+ </h:form>
+ </tr>
+ </table>
</div>
- <!-- Default page -->
- <div style="padding:1em 0 0 0">
- <h:form>
- <span class="portlet-font">Default page:</span>
- <span style="padding:1em 0 1em 0">
- <h:selectOneMenu id="name"
styleClass="portlet-form-field"
value="#{portalAction.defaultPageName}">
- <f:selectItems
value="#{portalobjectmgr.portalPageItems}" />
- </h:selectOneMenu>
- <h:commandButton styleClass="portlet-form-button"
value="Update" action="objects"/>
- </span>
- </h:form>
- </div>
-
Show replies by date