Clear Selected Values of shuttle component (Reset shuttle) programmatically-Oracle ADF

Sharing is Caring

Hello All,
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
 public BindingContainer getBindings() {
  return BindingContext.getCurrent().getCurrentBindingsEntry();

/**Method to Clear selected value of shuttle (Reset Shuttle)
 * @param actionEvent
public void resetShuttleAction(ActionEvent actionEvent) {
BindingContainer bc = this.getBindings();
JUCtrlListBinding listBindings = (JUCtrlListBinding)bc.get("DepartmentsView1");



  • Now see how it works- when user click on this link, it will clear all selected indices of the shuttle component
shuttle component

And see values are cleared


Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *