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!

Data Binding in ADF

user5108636Dec 19 2010 — edited Apr 7 2011
Hi All,
I am doing the data binding for the Oracle ADF application. I have a few question about best practices and implementation for two below cases

1) I have a business requirement to convert default boolean value ('true' or false') in the selectBooleanCheckbox component and pass the 'true' value as 'Y' and 'false' value as 'N' to the associated String domain attribute object in the model layer.
What is the best practice for such a conversion. Here I am converting String to String, which part of the application should carry out this conversion. As I am not converting the data type, should I use converters. Please suggest

2) How to do databinding for selectOneChoice component. The associated attribute in the domain model is a String object. I want to show all the unique values for that attribute to the user. Hope I am clear, how do I implement this.


Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2011
Added on Dec 19 2010
10 comments
1,073 views