subTable « RichFaces « JSF Q&A





1. Why does a subTable break a4j:commandLink's reRender?    stackoverflow.com

Here is a minimal rich:dataTable example with an a4j:commandLink inside. When clicked, it sends an AJAX request to my bean and reRenders the dataTable.

<rich:dataTable id="dataTable" value="#{carManager.all}" var="item">
    <rich:column>
 ...

2. Richfaces: rich:datatable rowspan using rich:subtable    stackoverflow.com

I use Richfaces, Seam and JSF, and I want something like the following: alt text and I have managed it to a degree using a rich:subtable like this:

<rich:dataTable
value="#{backingBean.companyList}"
rows="100"
var="company">
<f:facet name="header">
   ...

3. Expand/Collapse Subtable in Datatable    stackoverflow.com

Is it possible to expand/collapse a subtable in a datatable? My subtable contains info relating to the row above it and I would like to show/hide onclick of an image. Just ...

4. richfaces datatable and subtable    stackoverflow.com

I have the following datable:

<rich:dataTable id="grid1" value="#{monitorForm.customerList}" var="custRow">
 <rich:column width="5">
  <h:selectBooleanCheckbox value="#{custRow.selected}">
   <a:support event="onclick" action="#{monitorForm.selectOrderLines(custRow)}" 
      reRender="custTable_#{custRow.id}"/>
  </h:selectBooleanCheckbox>
 </rich:column>

 <rich:subTable id="custTable_#{custRow.id}"
  ...

5. how to sort rich:subtable externaly?    stackoverflow.com

I have a datatable with 3 different subtables.I want to sort the datatable based on header. code:

        <rich:subTable ...

6. Get parent index of rich:subTable    stackoverflow.com

In my application I use a rich:subTable inside a rich:dataTable. I want to get the index of the rich:subTable inside the rich:dataTable when I click on a row of the rich:subTable. ...

7. For-each loop in rich:subTable    stackoverflow.com

Is it possible to use a forEach loop in the subTable component or columns, in Richfaces 3.3? I need to render dynamic number of columns, but without success. Example: