Field highlighting in a datatable...
Hello all,
I trying to create a datatable contains lots of input and highlights the field in error. My problem is with the field highlighting.
I am using tomahawk's datatable for the rowIndexVar functionality and tomahawks inputText to force the id. My problem is when it comes to use get a message for the forced id, when the page loads i get the error:
ERROR (HtmlMessageRendererBase.java:80) - Could not render Message. Unable to find component 'deadline[0]' (calling findComponent on component '_id15:sequences:0:_id37'). If the provided id was correct, wrap the message and its component into an h:panelGroup or h:panelGrid.
My code is:
<t:dataTable id="sequences" rowIndexVar="index" rowCountVar="rowcount"
value="#{Mybean.whatever}" var="notused">
<t:column>
<f:facet name="header">
<h:outputText value="Deadline (days)"/>
</f:facet>
<h:panelGroup>
<t:inputText id="deadline" forceId="true" forceIdIndex="true" value="#{Mybean.deadlines[index]}"/>
<t:message for="deadline[#{index}]"/>
</h:panelGroup>
</t:column>
<!-- more column's here -->
</t:dataTable>
Any help would be appreciated!

