This content has been marked as final.
Show 2 replies
-
1. Re: rich:listShuttle > getting selected items using javascri
rhancke Feb 28, 2008 8:01 AM (in response to rhancke)Looking for some forum's posts, I've found one alternative, instead of using javascript.
Adding the following instruction inside listShuttle:
<a4j:support event="onlistchanged" reRender="someField"/>"rhancke" wrote:
Hi RichFaces Users.
A) I'd like to know if there is a way to get all selected items on the selected list items, using a javascript function.
B) I'd like to know if there is a way to get the select item on the available list items, when you click on 'Copy or Remove' buttons.
For a better explain of item B, imagine the following case:1. You select one item on the available list items 2. You click on 'Copy' button. 2.1 There is 'oncopyclick' property, calling a javascript function passing the selected item object. 2.2 The javascript called shows for example, the selected item's value. 3. The selected item is moved to the selected list items.
-
2. Re: rich:listShuttle > getting selected items using javascri
ilya_shaikovsky Feb 28, 2008 10:04 AM (in response to rhancke)check please developers guide - JS API described there.