GwtChosen: UiBinder, ChosenListBox and events...

This example shows you how to use ChosenListBox widget. you can use in collaboration with UiBinder:

<chzn:ChosenListBox ui:field="countriesChosen"
    <g:item value=""></g:item>
    <g:item value="United States">United States</g:item>
    <g:item value="United Kingdom">United Kingdom</g:item>

or directly in your java class:

ChosenListBox teamChosen = new ChosenListBox(true); //multiple
// init options for teamchosen
for (String team : teams) {

teamChosen.setPlaceholderText("Choose your favourite teams");