Create new RichFaces Documentation Jira issue

This will launch the RichFaces Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.orgCommunity Documentation

6.6.11.  < rich:subTable > available since 3.0.0

expand all Description Key Features Details of Usage Reference Data

The component is used for inserting subtables into tables with opportunity to choose data from a model and built-in Ajax updates support.

The <rich:subTable> component is similar to the <h:dataTable> one, except Ajax support and skinnability. One more difference is that the component doesn't add the wrapping <table> and <tbody> tags. Ajax support is possible, because the component was created basing on the <a4j:repeat> component and as a result it could be partially updated with Ajax. The "ajaxKeys" attribute allows to define row keys which are updated after an Ajax request. You can find an example which demonstrate the usage of the "ajaxKeys" attributes for data iteration components in the RichFaces Cookbook article.

The component allows to use "header" and "footer" facets for output. See an example for <rich:dataTable> component.

Table of <rich:subTable> attributes.

You can find all necessary information about style classes redefinition in Definition of Custom Style Classes section.