[richfaces-svn-commits] JBoss Rich Faces SVN: r503 - in trunk/richfaces/panel/src/main: templates and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Apr 24 10:08:01 EDT 2007


Author: d.bulahov
Date: 2007-04-24 10:08:01 -0400 (Tue, 24 Apr 2007)
New Revision: 503

Modified:
   trunk/richfaces/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss
   trunk/richfaces/panel/src/main/templates/panel.jspx
Log:
http://jira.jboss.com/jira/browse/RF-96 fixed

Modified: trunk/richfaces/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss
===================================================================
--- trunk/richfaces/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss	2007-04-24 13:49:07 UTC (rev 502)
+++ trunk/richfaces/panel/src/main/resources/org/richfaces/renderkit/html/css/panel.xcss	2007-04-24 14:08:01 UTC (rev 503)
@@ -8,6 +8,7 @@
    border-width: 1px;
    border-style: solid;
    padding : 1px;
+   width:100%;
 }
    
 .dr-pnl-h{

Modified: trunk/richfaces/panel/src/main/templates/panel.jspx
===================================================================
--- trunk/richfaces/panel/src/main/templates/panel.jspx	2007-04-24 13:49:07 UTC (rev 502)
+++ trunk/richfaces/panel/src/main/templates/panel.jspx	2007-04-24 14:08:01 UTC (rev 503)
@@ -23,11 +23,20 @@
 		<![CDATA[}]]>
 	</jsp:scriptlet>
 
-	   <div id="#{clientId}_body" class="dr-pnl-b rich-panel-body #{component.attributes['bodyClass']}">
-		<vcp:body>
-		<f:call name="renderChildren" />
-		</vcp:body>
-           </div>
+       
+        <div id="#{clientId}_body"
+             style="overflow: auto; width: 100%;">
+           <table cellpadding="0" style="width: 100%" >
+             <tr>
+             <td class="dr-pnl-b rich-panel-body #{component.attributes['bodyClass']}">
+            <vcp:body>
+		        <f:call name="renderChildren" />
+            </vcp:body>
+             </td>
+             </tr>
+           </table>
+        </div>
+       
 	</div> 
 
 </f:root>
\ No newline at end of file




More information about the richfaces-svn-commits mailing list