Author: julien(a)jboss.com
Date: 2007-03-01 11:23:10 -0500 (Thu, 01 Mar 2007)
New Revision: 6485
Modified:
trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml
Log:
improving the layout for page layout editor
Modified: trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml 2007-03-01
12:58:07 UTC (rev 6484)
+++ trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml 2007-03-01
16:23:10 UTC (rev 6485)
@@ -9,7 +9,8 @@
<h:selectOneListbox
value="#{contentURI}"
- styleClass="instanceList portlet-form-field">
+ styleClass="instanceList portlet-form-field"
+ size="13">
<f:selectItems value="#{registry.editors.portlet.instanceItems}"/>
</h:selectOneListbox>
<h:commandButton value="Show details"
styleClass="portlet-form-button"/>
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml
===================================================================
---
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml 2007-03-01
12:58:07 UTC (rev 6484)
+++
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml 2007-03-01
16:23:10 UTC (rev 6485)
@@ -14,38 +14,6 @@
<h:form id="layoutForm">
<div style="float:left">
- <table>
- <tr>
- <td>
- <h:selectOneMenu
- id="instanceId"
- value="#{portalobjectmgr.selectedContentType}"
- styleClass="portlet-form-field contentType">
- <f:selectItems
value="#{registry.availableTypes}"/>
- </h:selectOneMenu>
- <h:commandButton value="Change content type"
styleClass="portlet-form-button"/>
- <br/><h:message for="instanceId"
errorClass="portlet-msg-error"/>
- </td>
- </tr>
- <tr>
- <td>
- <ct:content
- contentType="#{portalobjectmgr.selectedContentType}"
- contentURI="#{portalobjectmgr.selectedContentURI}"/>
- </td>
- </tr>
- <tr>
- <td>
- <h:outputLabel for="windowName">
- <h:outputText value="Window Name: "
styleClass="portlet-form-field-label,instanceList"/>
- </h:outputLabel>
- <h:inputText id="windowName"
value="#{assignWindowsAction.windowName}"
styleClass="portlet-form-input-field"/>
- <br/><h:message for="windowName"
errorClass="portlet-msg-error"/>
- </td>
- </tr>
- </table>
- </div>
- <div style="float:left">
<c:forEach items="#{portalobjectmgr.regionNames}"
var="regionName">
<table>
<tr>
@@ -54,10 +22,10 @@
<tr>
<td>
<div>
- <h:commandButton value="<-"
id="l_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
+ <h:commandButton value="Up"
id="u_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
</div>
<div>
- <h:commandButton value="->"
id="r_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
+ <h:commandButton value="Down"
id="d_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
</div>
</td>
<td>
@@ -70,16 +38,48 @@
</td>
<td>
<div>
- <h:commandButton value="Up"
id="u_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
+ <h:commandButton value="->"
id="l_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
</div>
<div>
- <h:commandButton value="Down"
id="d_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
+ <h:commandButton value="<-"
id="r_#{regionName}" actionListener="#{assignWindowsAction.execute}"
styleClass="portlet-form-button"/>
</div>
</td>
</tr>
</table>
</c:forEach>
</div>
+ <div style="float:left">
+ <table>
+ <tr>
+ <td>
+ <h:outputLabel for="windowName">
+ <h:outputText value="Window Name: "
styleClass="portlet-form-field-label"/>
+ </h:outputLabel>
+ <h:inputText id="windowName"
value="#{assignWindowsAction.windowName}"
styleClass="portlet-form-input-field"/>
+ <br/><h:message for="windowName"
errorClass="portlet-msg-error"/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h:selectOneMenu
+ id="instanceId"
+ value="#{portalobjectmgr.selectedContentType}"
+ styleClass="portlet-form-field contentType">
+ <f:selectItems
value="#{registry.availableTypes}"/>
+ </h:selectOneMenu>
+ <h:commandButton value="Change content type"
styleClass="portlet-form-button"/>
+ <br/><h:message for="instanceId"
errorClass="portlet-msg-error"/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <ct:content
+ contentType="#{portalobjectmgr.selectedContentType}"
+ contentURI="#{portalobjectmgr.selectedContentURI}"/>
+ </td>
+ </tr>
+ </table>
+ </div>
</h:form>
</ui:define>