How to do validataion in JDNC?
JDNC currently supports both field and form-level validation, such that values entered into GUI components can be validated BEFORE being pushed to the client's local data model.
The general idea is that you describe validation constraints in the MetaData for your data model (e.g. for each column in your tabular data model) and then JDNC's default form and data-binding support will ensure that validation logic gets run (and implements appropriate user feedback) at the right time.
The MetaData object supports configuring validation in a number of ways - with specific properties (isRequired, minimum, maximum, etc), as well as being able to add general Validator objects that can execute custom application logic.
If you describe more precisely what functionality you are looking for, I can dredge up a code example.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.