I'm trying to create an ObjectChoiceField by passing in a String Array. It creates the drop down box and shows the first value but it doesn't drop down when you click on it. No errors. Testing on 9500 OS 5.0.
Code:
ocf = new ObjectChoiceField("", getProfessions("specialty_nurse.xml"));
profLabel = new LabelField("Please Choose a Profession");
add(new LabelField(""));
add(profLabel);
add(new SeparatorField());
ChoiceListener myChoiceListener = new ChoiceListener();
ocf.setChangeListener(myChoiceListener);
add(ocf); The getProfessions() method definitely returns a String array with 34 elements. I'm adding this to an IdDialogBox. Is there some sort of method like navigationClick() for textFields that I need to implement in my listener? Thanks.