[jboss-svn-commits] JBoss Portal SVN: r5693 - in trunk/core/src: main/org/jboss/portal/core/portlet/dashboard resources/portal-core-war/WEB-INF/jsp/dashboard

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Nov 20 17:13:39 EST 2006


Author: roy.russo at jboss.com
Date: 2006-11-20 17:13:37 -0500 (Mon, 20 Nov 2006)
New Revision: 5693

Modified:
   trunk/core/src/main/org/jboss/portal/core/portlet/dashboard/Configurator.java
   trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/editpage.jsp
Log:
stub dashboard ui

Modified: trunk/core/src/main/org/jboss/portal/core/portlet/dashboard/Configurator.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/portlet/dashboard/Configurator.java	2006-11-20 21:47:08 UTC (rev 5692)
+++ trunk/core/src/main/org/jboss/portal/core/portlet/dashboard/Configurator.java	2006-11-20 22:13:37 UTC (rev 5693)
@@ -40,7 +40,7 @@
       throws PortletException, PortletSecurityException, IOException
    {
       resp.setContentType("text/html");
-      PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/dashboard/editPage.jsp");
+      PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/dashboard/editpage.jsp");
       rd.include(req, resp);
    }
 }

Modified: trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/editpage.jsp
===================================================================
--- trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/editpage.jsp	2006-11-20 21:47:08 UTC (rev 5692)
+++ trunk/core/src/resources/portal-core-war/WEB-INF/jsp/dashboard/editpage.jsp	2006-11-20 22:13:37 UTC (rev 5693)
@@ -37,64 +37,77 @@
    </tr>
    <tr>
       <td>
-         <form action="editpage" method="POST">
-            <table>
-               <tr>
-                  <td>title/layout table</td>
-                  <td>
-                     <table>
-                        <tr>
-                           <td class="portlet-section-body" valign="top"><b>Available Content</b><br/>
-                              <select name="available_instances" multiple="true" size="20">
-                                 <option value="">Instance 1</option>
-                                 <option value="">Instance 2</option>
-                                 <option value="">Instance 3</option>
-                                 <option value="">Instance 4</option>
-                                 <option value="">Instance 5</option>
-                              </select>
-                           </td>
-                           <td>arrows</td>
-                           <td class="portlet-section-body" valign="top">
-                              <b>Left Column</b><br/>
-                              <select name="instances_left" multiple="true">
-                                 <option value="">Instance 1</option>
-                                 <option value="">Instance 2</option>
-                                 <option value="">Instance 3</option>
-                                 <option value="">Instance 4</option>
-                                 <option value="">Instance 5</option>
-                              </select>
-                              <br/><br/>
-                              <b>Middle Column</b><br/>
-                              <select name="instances_middle" multiple="true">
-                                 <option value="">Instance 1</option>
-                                 <option value="">Instance 2</option>
-                                 <option value="">Instance 3</option>
-                                 <option value="">Instance 4</option>
-                                 <option value="">Instance 5</option>
-                              </select>
-                              <br/><br/>
-                              <b>Right Column</b><br/>
-                              <select name="instances_right" multiple="true">
-                                 <option value="">Instance 1</option>
-                                 <option value="">Instance 2</option>
-                                 <option value="">Instance 3</option>
-                                 <option value="">Instance 4</option>
-                                 <option value="">Instance 5</option>
-                              </select>
-                           </td>
-                           <td>arrows</td>
-                        </tr>
-                     </table>
-                  </td>
-               </tr>
-               <tr>
-                  <td class="portlet-section-alternate" width="100%" colspan="4" align="center">
-                     <input type="submit" name="save" value="Save" class="portlet-form-button"/>
-                     <input type="submit" name="delete" value="Delete" class="portlet-form-button"/>
-                  </td>
-               </tr>
-            </table>
-         </form>
+         <table width="100%">
+            <tr>
+               <td>
+                  <table>
+                     <tr>
+                        <td>title/layout table</td>
+                     </tr>
+                  </table>
+               </td>
+               <td class="portlet-section-body" valign="top"><b>Available Content</b><br/>
+                  <select name="available_instances" multiple="true" size="20">
+                     <option value="">Instance 1</option>
+                     <option value="">Instance 2</option>
+                     <option value="">Instance 3</option>
+                     <option value="">Instance 4</option>
+                     <option value="">Instance 5</option>
+                  </select>
+               </td>
+               <td>
+                  <table>
+                     <tr>
+                        <td>&gt;<br/>&lt;</td>
+                        <td class="portlet-section-body" valign="top">
+                           <b>Left Column</b><br/>
+                           <select name="instances_left" multiple="true" size="6">
+                              <option value="">Instance 1</option>
+                              <option value="">Instance 2</option>
+                              <option value="">Instance 3</option>
+                              <option value="">Instance 4</option>
+                              <option value="">Instance 5</option>
+                           </select>
+                        </td>
+                        <td>up<br/>dwn</td>
+                     </tr>
+                     <tr>
+                        <td>&gt;<br/>&lt;</td>
+                        <td class="portlet-section-body" valign="top"><b>Middle Column</b><br/>
+                           <select name="instances_middle" multiple="true" size="6">
+                              <option value="">Instance 1</option>
+                              <option value="">Instance 2</option>
+                              <option value="">Instance 3</option>
+                              <option value="">Instance 4</option>
+                              <option value="">Instance 5</option>
+                           </select></td>
+                        <td>up<br/>dwn</td>
+                     </tr>
+                     <tr>
+                        <td>&gt;<br/>&lt;</td>
+                        <td class="portlet-section-body" valign="top"><b>Right Column</b><br/>
+                           <select name="instances_right" multiple="true" size="6">
+                              <option value="">Instance 1</option>
+                              <option value="">Instance 2</option>
+                              <option value="">Instance 3</option>
+                              <option value="">Instance 4</option>
+                              <option value="">Instance 5</option>
+                           </select></td>
+                        <td>up<br/>dwn</td>
+                     </tr>
+                  </table>
+               </td>
+            </tr>
+         </table>
       </td>
    </tr>
+   <tr>
+      <td class="portlet-section-alternate" width="100%" colspan="4" align="center">
+         <input type="submit" name="save" value="Save" class="portlet-form-button"/>
+         <input type="submit" name="delete" value="Delete" class="portlet-form-button"/>
+      </td>
+   </tr>
+</table>
+</td>
+</tr>
 </table>
\ No newline at end of file




More information about the jboss-svn-commits mailing list