com.ibm.xsp.renderkit.html_basic
Interface DataExAjaxRenderer


public interface DataExAjaxRenderer

Extended DataEx renderer. This renderer provides some extra methods for rendering table content through Ajax requests.


Method Summary
 void encodeDataModelRows(javax.faces.context.FacesContext context, UIDataEx dataComponent, javax.faces.model.DataModel dataModel, int first, int rows)
          Encode some table rows from the data model.
 void encodeTabularDataModelRows(javax.faces.context.FacesContext context, UIDataEx dataComponent, TabularDataModel dataModel, int first, int rows)
          Encode some table rows from the data model.
 

Method Detail

encodeDataModelRows

void encodeDataModelRows(javax.faces.context.FacesContext context,
                         UIDataEx dataComponent,
                         javax.faces.model.DataModel dataModel,
                         int first,
                         int rows)
                         throws java.io.IOException
Encode some table rows from the data model. This is a basic encoding, not taking advantage of the tabular data model (categorization, children documents...)

Parameters:
context - The faces context in use
dataComponent - The table component
dataModel - The table data model
first - The first row to encode
rows - The number of rows to encode
Throws:
java.io.IOException - If an error occurs

encodeTabularDataModelRows

void encodeTabularDataModelRows(javax.faces.context.FacesContext context,
                                UIDataEx dataComponent,
                                TabularDataModel dataModel,
                                int first,
                                int rows)
                                throws java.io.IOException
Encode some table rows from the data model. This is an advanced encoding, taking advantage of the tabular data model (categorization, children documents...)

Parameters:
context - The faces context in use
dataComponent - The table component
dataModel - The table data model
first - The first row to encode
rows - The number of rows to encode
Throws:
java.io.IOException - If an error occurs