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 error if value change event failed

user11976105Jul 26 2011 — edited Jul 28 2011
Hi,

F form which edits records for a particular table let's say TableA. I would like to add the following behavior to the form: On lose focus of a particular field (let's say Field1), I will retrieve from a different table TableB to check if there are records which have the same Field1 value. If yes, I'll use some of the fields from TableB to populate some of the fields of TableA. If not, I would like the field to be marked with a validation error.

I've already done the populating the fields from TableB in a valueChangeListener, but I'm not sure how to apply the validation error to the Field1.

Any advice on how to do this?

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 25 2011
Added on Jul 26 2011
6 comments
149 views