Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Validation for textbox

713926Sep 1 2009 — edited Sep 3 2009
Hi,

I am new to ADF. I have seven rows each for a day in a week on the page. In the page, there is a "comments field" which user will enter his comments for a particular day. Table is being rendered using <af:table> and <af:tableSelectOne>. I want to make sure that user won;t submit the form with empty comment.

I added required="#{bindings.myView.mandatory}" in the <af:inputText> properties. But, once selected and click on "Submit" button, it is displaying message "A value must be entered." in all seven dates since initially all "Comments" value must be empty.

I would like to display error message just for selected date not all dates.

I would appreciate if somebody give me some idea. ANy response will be appreciated.

Thanks,
user7954680
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 1 2009
Added on Sep 1 2009
7 comments
869 views