Data Binding in ADF
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