This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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="#{}" />
<a4j:commandLink id="link" value="#{!'[+]':'[-]'}"
<a4j:actionparam name="val" value="#{!}"
assignTo="#{}" />
<a4j:outputPanel ajaxRendered="true">
<rich:dataTable value="#{wonder.details}" var="detail"
rendered="#{}" 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:
subject: Simple expandable table with RichFaces
It's not a secret anymore!