Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Could a datatable has two footer rows? how to do that?

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wanna a datatable has two footer rows, I tried the way as following, but it doesn't work.

<rich:dataTable......
><rich:columns>
<f:facet name="footer">
<h:outputText value="#{a.A}" />
</f:facet>

<h:outputText value="#{a.B}" />
</rich:columns>

<rich:column>
<f:facet name="footer">
<h:outputText value="#{a.X}" />
</f:facet>
<f:facet name="footer">
<h:outputText value="#{a.Y}" />
</f:facet>
</rich:column>
</rich:dataTable>

Do you have any thoughts? thanks in advance.
 
reply
    Bookmark Topic Watch Topic
  • New Topic