I drag and drop a view object as Single selection -> ADF select one choice. In the Edit List Binding Wizard, I select many attributes in the Display attribute section. So the drop down list in the page will have smiler values to the following:
day A
day B
day C
night X
night Y
night Z
these sample is showing in one drop down list in JSF page.
Question is how to get all attribute for the user selected option. I tried two ways, but both of them did not give me all attributes.
Way 1:
I added a valueChangeListener for the list. But when I use the valueChangeEvent it gives me only the first attribute in the selected option. So, it gives me night or day
Way 2:
I used Binding Iterator to get the current row. But it is give two row only ( day A ) and ( night X ) no idea why. I am achieving that by the following code:
DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry() ;
CIteratorBinding someIterator =dcBindings.findIteratorBinding("SomeIteratorID");