| Author |
Problems highlightning cell in <t:dataTable
|
Carlos Bonzilla
Greenhorn
Joined: May 03, 2011
Posts: 17
|
|
I have a <t:dataTable with several rows and columns. Each cell in the table consists of a <h:inputText. The value entered in that <h:inputText is then validated by a Validator.
If the cell fails validation, I want it to have red background color. This is the part that does not work. The validation fails, but the cell is not getting red background.
BUT, if a have the same t:column definition outside the table, the validation works fine and the cell is getting red background.
Ex
To make the cell red I have made a custom PhaseListener with the following pseudocode
So the question is : Why is the component inside the datatable considered as valid, if it has failed validation ?
|
 |
 |
|
|
subject: Problems highlightning cell in <t:dataTable
|
|
|