Implementing a collapsible ui:repeat rows in JSF
Here is simple implementation of a JSF <ui:repeat /> component with collapsible rows with the aid of JQuery. It is very simple, no specials tricks, except that the components inside <ui:repeat /> must have a unique ID (or class) which is handled by the backing code. Toggling the visibility of the frame (<div />) is taken cared of by the onclick event on the link, in this case <h:outputLink />