The internally-generated IDs for each row in a dataTable display have the display row number encoded in them automatically. Generated references to the unencoded IDs will be converted by JSF to include that row number.
As long as the ID reference is made in the same row - like the 'lt;h:message for="controlid"/> element does - there's no problem. It's all automatic and you don't have to do anything.
One of the biggest problems people have with JSF is that they keep trying to add complicated stuff to do things that JSF was designed to make simple.
Joined: Mar 04, 2009
Can we display the validation message under inputText component.
Right Now it is displaying side of inputText component