I have a form which has textbox,picklist and a reset button.
<h:commandButton value="Reset" type="reset" class="create"></h:commandButton>
Now on click of reset button, the textboxes gets resetted. But if I have selected any item in pickList from source to target,the picklist does not get resetted.
Can anyone help me in resetting the pickList.
Better to have the button call an action event in your backing bean, and refresh the arrayList that feeds your menu. You also may need to override part of the JSF life cycle to make sure the event fires at the right time to actually update at the right point.
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad: