public ChooserSelectionSource _chooserSelectionSource;
public List<Continent> _continentSelections;
private boolean _invalidateContinentSelections = true;
public void init () {
AWPage page = page();
AWChangeNotifier changeNotifier =
page.getChangeNotifier();
PostService.registerChangeListener(changeNotifier);
page.setPollingInitiated(true);
page.setPollInterval(5);
List continents = ListUtil.arrayToList(Continent.values());
_chooserSelectionSource =
new ChooserSelectionSource.ListSource(continents, "name");
_chooserState = new ChooserState(this);
}