About Shuttle and its Named Children

The shuttle component provides a mechanism for moving items between two lists and reordering one of these lists. This component is not supported on the following agent types: pda, phone, voice.

Shuttle with leading list and trailing list

The most common usage of a shuttle is to allow the user to choose items by:

The leading list is also referred to as the "from" list, and the trailing list as the "to" list. You can also move items in the trailing list back to the leading list.

When choosing items you can select one more items in either list. Then by choosing the appropriate icon or link between the lists (Move or Remove), you "shuttle" the items from one list to the other. Use the Move icon or link to move selected items from the leading list to the trailing list. Use the Remove icon or link to move selected items in the trailing list back to the leading list. To move all or remove all items at once, use the Move All or Remove All icon.

By default the shuttle allows the reordering of items within the trailing list. By using the reorder icons on the side of the trailing list, you can move the selected items up to the top of the list, up one slot in the list, down to the bottom of the list, or down one slot in the list.

Upon form submission, the contents of each list (i.e., all the items, not just the selected items), which are stored as values of hidden elements in the shuttle, are passed to the application through:

where

Shuttle attributes

The attributes you can set for the shuttle component are:

Note: On the UI of the shuttle, there is a horizontal line below the items of each list. ADF UIX provides this additional item to maintain correct sizing of the lists; the line cannot be acted upon like the other items in the lists.

Shuttle named children

The named children supported by shuttle are:

Note: Use a flowLayout to contain the buttons or icons in the footer areas. The buttons or icons, which can have a maximum height of 26 pixels, are placed in only one row in either footer area. The buttons or icons can be used to perform operations on the shuttle using a ShuttleProxy.

ShuttleProxy

UIX provides a set of JavaScript utility methods, which are automatically loaded when you use the shuttle. You can use these methods on the filter options or the footer buttons or icons to manipulate the contents of the lists. See the shuttle element in the UIX Element Reference for details on how to create a ShuttleProxy instance and use its functions.


Inserting a Shuttle
Working with Form Components

 

Copyright © 1997, 2004, Oracle. All rights reserved.