03-30-2012 12:59 AM
In my application,I listed a number of country names on a screen.If I click on a country,then I need to display state names below that country..If i agan click on some other country it shows that countries states while the old states must be deleted..How can i do this??
03-30-2012 05:22 AM
I would add two ObjectChoiceFields, the Country choice Field and the State choice Field.
Implement a FieldChangeListener for the Country choice field, and populate the choices for the State choice field in there (see method setChoices(). .
Hope this is enough.