Author: ilya_shaikovsky
Date: 2010-11-04 05:14:09 -0400 (Thu, 04 Nov 2010)
New Revision: 19924
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml
Log:
layout improvements
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml 2010-11-04
09:06:34 UTC (rev 19923)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml 2010-11-04
09:14:09 UTC (rev 19924)
@@ -5,8 +5,17 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
+<style>
+ .rf-dt{
+ width:400px;
+ }
+ .acent{
+ text-align: center;
+ }
+</style>
<h:form id="form">
- <rich:dataScroller for="table" maxPages="6" />
+ <h:panelGrid columnClasses="acent">
+ <rich:dataScroller for="table" maxPages="5" />
<rich:dataTable value="#{carsBean.allInventoryItems}" var="car"
id="table" rows="10">
<rich:column accept="#{carsFiteringBean.acceptVendor}">
@@ -40,6 +49,7 @@
<h:outputText value="#{car.vin}" />
</rich:column>
</rich:dataTable>
- <rich:dataScroller for="table" maxPages="6" />
+ <rich:dataScroller for="table" maxPages="5" />
+ </h:panelGrid>
</h:form>
</ui:composition>
\ No newline at end of file