File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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="#{}" />
<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!