Author: ilya_shaikovsky
Date: 2010-11-04 04:07:55 -0400 (Thu, 04 Nov 2010)
New Revision: 19921
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml
Log:
layout minor corrections.
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml 2010-11-04
07:48:25 UTC (rev 19920)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml 2010-11-04
08:07:55 UTC (rev 19921)
@@ -6,27 +6,29 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:form>
- <a4j:outputPanel id="panel" layout="block">
- <a4j:repeat value="#{capitalsBean.capitals}" var="cap"
rows="20"
- id="repeat">
- <rich:panel style="float:left; width:200px; padding:5px;">
- <f:facet name="header">
- <h:panelGroup>
- <h:graphicImage value="#{cap.stateFlag}" />
- <h:outputText value="#{cap.state}" style="font-weight:bold"
/>
- </h:panelGroup>
- </f:facet>
- <h:panelGrid columns="2">
- <h:outputText value="State Capital" style="font-weight:bold"
/>
- <h:outputText value="#{cap.name}" />
- <h:outputText value="State TimeZone"
style="font-weight:bold" />
- <h:outputText value="#{cap.timeZone}" />
- </h:panelGrid>
- </rich:panel>
- </a4j:repeat>
- </a4j:outputPanel>
- <a4j:outputPanel layout="block">
- <rich:dataScroller for="repeat" render="panel" />
- </a4j:outputPanel>
+ <h:panelGrid columns="1">
+ <a4j:outputPanel id="panel" layout="block">
+ <a4j:repeat value="#{capitalsBean.capitals}" var="cap"
rows="20"
+ id="repeat">
+ <rich:panel style="float:left; width:200px; padding:5px;">
+ <f:facet name="header">
+ <h:panelGroup>
+ <h:graphicImage value="#{cap.stateFlag}" />
+ <h:outputText value="#{cap.state}"
style="font-weight:bold" />
+ </h:panelGroup>
+ </f:facet>
+ <h:panelGrid columns="2">
+ <h:outputText value="State Capital"
style="font-weight:bold" />
+ <h:outputText value="#{cap.name}" />
+ <h:outputText value="State TimeZone"
style="font-weight:bold" />
+ <h:outputText value="#{cap.timeZone}" />
+ </h:panelGrid>
+ </rich:panel>
+ </a4j:repeat>
+ </a4j:outputPanel>
+ <a4j:outputPanel layout="block">
+ <rich:dataScroller for="repeat" render="panel" />
+ </a4j:outputPanel>
+ </h:panelGrid>
</h:form>
</ui:composition>
\ No newline at end of file