you must have heard about shuttle component in ADF, it works for multiple selections. Sometimes we need to reset shuttle (clear selected values) through our code (managed bean).
So in this post, I’m going to explain how to do this with a simple piece of code
- I have created a simple jspx page and placed Departments (HR Schema) view-object on this page as an af:selectManyShuttle
- Created managed bean for a link to clear selected indices of shuttle, see code
- Now see how it works- when user click on this link, it will clear all selected indices of the shuttle component
And see values are cleared
I’m an Oracle ACE, Blogger, Reviewer,
Technical Lead working on Oracle ADF