Methods Summary |
---|
public java.lang.String | getComponentType()Returns "javax.faces.Data".
return "javax.faces.Data";
|
public java.lang.String | getRendererType()Returns "com.mycompany.Bar".
return "com.mycompany.Bar";
|
public void | setFirst(java.lang.String first)Sets the value of the "first" property, i.e., the index for
the first row in the component's model to process.
this.first = first;
|
protected void | setProperties(javax.faces.component.UIComponent component)Configures the component based on the tag handler property
values.
super.setProperties(component);
FacesContext context = getFacesContext();
if (first != null) {
if (isValueReference(first)) {
ValueBinding vb =
context.getApplication().createValueBinding(first);
component.setValueBinding("first", vb);
} else {
((UIData) component).setFirst(Integer.parseInt(first));
}
}
if (rows != null) {
if (isValueReference(rows)) {
ValueBinding vb =
context.getApplication().createValueBinding(rows);
component.setValueBinding("rows", vb);
} else {
((UIData) component).setRows(Integer.parseInt(rows));
}
}
if (value != null) {
ValueBinding vb =
context.getApplication().createValueBinding(value);
component.setValueBinding("value", vb);
}
if (var != null) {
((UIData) component).setVar(var);
}
|
public void | setRows(java.lang.String rows)Sets the value of the "rows" property, i.e., the number of
rows in the component's model to process.
this.rows = rows;
|
public void | setValue(java.lang.String value)Sets the component's model value, which must be a JSF value
binding expression for a "javax.faces.model.DataModel" instance
or a data type for which there is a wrapper model. See the
"javax.faces.component.UIData" class for details.
this.value = value;
|
public void | setVar(java.lang.String var)Sets the value of the "var" property, i.e., the name of
the request scope variable that holds the current row
being processed.
this.var = var;
|