message for a component iside dataTable
Hello!
I have another issue. I am using a dataTable for dynamic form. The problem is that when user enters an invalid value I have no means of displaying which field is invalid because I do not know how to assign an id to components that are within the dataTable.
I would like to do something similar to:
<h:dataTable id="attrs" value="#{bean.attributes}" var="attr">
<h:inputText id="attr#{attr.id}" value="#{attr.value}" converter="javax.faces.Double" />
<h:message for="attr#{attr.id}" showDetail="false" showSummary="true"/>
</h:dataTable>
The code snippet above does not function of course but I would like to know if there is a way to achieve something like that.

