[jsr-314-open] <h:dataTable> binding vs. ui:repeat

Martin Marinschek mmarinschek at apache.org
Fri Aug 7 02:31:51 EDT 2009


Hi Lincoln,

> Unless I'm mistaken, ui:repeat is not a component and therefore cannot
> be bound to a backing bean,

I thought it was - and just checked, it derives from UIComponentBase.
Does the binding attribute not work for you?

> EL2 helps with this, but... now what if I have a ValueChangeEvent for an
> input field on each <li> row? Now I can no longer use EL2 to pass the
> row into the ValueChangeListener

why not? <h:inputText
valueChangeListener="#{myBean.valueChangeListener(listItem)}"/> should
work in the next EL version respectively the JBoss EL, right?

regards,

Martin




More information about the jsr-314-open-mirror mailing list