[jboss-svn-commits] JBL Code SVN: r11138 - labs/jbossforums/branches/forums101P24/forums/src/resources/portal-forums-war/views/topics.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Apr 19 18:29:55 EDT 2007


Author: unibrew
Date: 2007-04-19 18:29:54 -0400 (Thu, 19 Apr 2007)
New Revision: 11138

Modified:
   labs/jbossforums/branches/forums101P24/forums/src/resources/portal-forums-war/views/topics/posting_new_body.xhtml
   labs/jbossforums/branches/forums101P24/forums/src/resources/portal-forums-war/views/topics/posting_new_preview.xhtml
Log:
[JBFORUMS-208] Finishing PostingNewTopicView. Preview added and a couple of improvements to core view.

Modified: labs/jbossforums/branches/forums101P24/forums/src/resources/portal-forums-war/views/topics/posting_new_body.xhtml
===================================================================
--- labs/jbossforums/branches/forums101P24/forums/src/resources/portal-forums-war/views/topics/posting_new_body.xhtml	2007-04-19 22:24:15 UTC (rev 11137)
+++ labs/jbossforums/branches/forums101P24/forums/src/resources/portal-forums-war/views/topics/posting_new_body.xhtml	2007-04-19 22:29:54 UTC (rev 11138)
@@ -695,6 +695,7 @@
         </td>
     </tr>
     <tr class="PostViewUnderline">
+        <td></td>
         <td>
             <h:commandButton action="#{newTopic.addAttachment}" value="${resource.Add_attachment}" styleClass="buttonMed"/>
         </td>
@@ -729,6 +730,7 @@
         </td>
     </tr>
     <tr class="PostViewUnderline">
+        <td></td>
         <td>
             <h:commandButton action="#{newTopic.updateAttachment}" value="${resource.Update_comment}"
                          styleClass="buttonMed" onclick="selectAttachment('${idx.index}');"/>

Modified: labs/jbossforums/branches/forums101P24/forums/src/resources/portal-forums-war/views/topics/posting_new_preview.xhtml
===================================================================
--- labs/jbossforums/branches/forums101P24/forums/src/resources/portal-forums-war/views/topics/posting_new_preview.xhtml	2007-04-19 22:24:15 UTC (rev 11137)
+++ labs/jbossforums/branches/forums101P24/forums/src/resources/portal-forums-war/views/topics/posting_new_preview.xhtml	2007-04-19 22:29:54 UTC (rev 11138)
@@ -22,28 +22,27 @@
 */
 -->
 
-<table xmlns="http://www.w3.org/1999/xhtml"
+<div xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:c="http://java.sun.com/jstl/core"
-       xmlns:h="http://java.sun.com/jsf/html"      
+       xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:forums="http://www.jboss.com/products/jbossportal/forums"
-       class="forumline"
-       width="100%" cellspacing="1" cellpadding="4" border="0"
->	  
+       class="PostviewStyle">
+<table border="0" cellpadding="5" cellspacing="0" width="100%" name="table" id="table" >
+    <tr>
+        <td colspan="2" class="PostViewMainHeader">
+            ${resource.Preview}
+        </td>
+    </tr>
+    <tr class="PostViewMainDescription">
+        <td colspan="2">
+            ${resource.Posted}: ${newTopic.postDate}
+            &#160;&#160;&#160; ${resource.Post_subject}: ${newTopic.subject}
+        </td>
+    </tr>
 	   <tr>
-	      <th height="25" class="thHead">${resource.Preview}</th>
-	   </tr>
-	   <tr>
 	      <td class="row1">
-	      	<img src="#{forums:contextPath()}/subSilver/images/icon_minipost.gif" alt="${resource.Post}"/>
-	      	<span class="postdetails">${resource.Posted}: ${newTopic.postDate} 
-	      		&#160;&#160;&#160; ${resource.Post_subject}: ${newTopic.subject}
-	      	</span>
-	      </td>
-	   </tr>
-	   <tr>
-	      <td class="row1">
 	         <table width="100%" border="0" cellspacing="0" cellpadding="0">
 	            <tr>
 	               <td>
@@ -55,9 +54,11 @@
 	         </table>
 	      </td>
 	   </tr>
-	   <tr>
-	      <td class="spaceRow" height="1">
-	      	<img src="#{forums:contextPath()}/subSilver/images/spacer.gif" width="1" height="1"/>
+	   <!-- <tr>
+	      <td colspan="2" class="forumthreadfooter">
+	      	<img src="#{forums:themeURL('resourceSpacerURL')}" width="1" height="1" />
 	      </td>
-	   </tr>
-</table>
+	   </tr>-->
+</table>
+<hr />
+</div>




More information about the jboss-svn-commits mailing list