Jorge Vásquez wrote:

I have another question, why doesn´t panelGrid have a value attribute? I think that it would be ideal for these kinds of situations where you want to map many panelgrids to different instances of HTmlPanelGrid, and probably embed them inside another container.


All "value bindings" on components ("value" is the most common name for such an attribute) reference a *model* object, not a component.

In the case of an h:dataTable for example the "value" attribute refers to a list of model objects to be rendered within the table, not a list of child components of the table.

An h:panelGrid may have child components, but it has no meaningful *model* object to refer to, so there is no "value" attribute on that component.

Regards,

Simon


Reply via email to