This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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