wood burning stoves 2.0
The moose likes JSF and the fly likes Simple expandable table with RichFaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Simple expandable table with RichFaces " Watch "Simple expandable table with RichFaces " New topic

Simple expandable table with RichFaces

Jennifer Bells

Joined: Jul 24, 2010
Posts: 2
<rich:dataTable value="#{wonderBean.wonders}" var="wonder">
<rich:column colspan="3">
<f:facet name="header">Wonder</f:facet>
<h:outputText value="#{wonder.name}" />
<a4j:commandLink id="link" value="#{!wonderBean.show?'[+]':'[-]'}"
<a4j:actionparam name="val" value="#{!wonderBean.show}"
assignTo="#{wonderBean.show}" />
<a4j:outputPanel ajaxRendered="true">
<rich:dataTable value="#{wonder.details}" var="detail"
rendered="#{wonderBean.show}" style="border: 0px">
<f:facet name="header">Location</f:facet>
<h:outputText value="#{detail.location}" />
<f:facet name="header">Image</f:facet>
<h:graphicImage value="#{detail.imageUrl}" />

[Download 1.bmp] Download

I agree. Here's the link: http://aspose.com/file-tools
subject: Simple expandable table with RichFaces
It's not a secret anymore!