Validation for selected row in JSF h:datatable
Posted
by Barun
on Stack Overflow
See other posts from Stack Overflow
or by Barun
Published on 2009-07-19T19:26:56Z
Indexed on
2010/04/09
11:23 UTC
Read the original article
Hit count: 216
Hi all,
I am having a tough time trying to find a solution to the following design related to h:dataTable.
I have certain number of rows predisplayed. The first column is only checkboxes. The rest of the columns are disabled by default. On selecting a checkbox the elements in the corresponding rows get enabled. On submit of the for the values in the enabled row have to be validated on the server side. I am able to validate for invalid inputs but am not finding a method to use required="true" conditionally. Or any other method. Could anyone please help me on this.
Thanks Barun
© Stack Overflow or respective owner