Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <p:ajax listener="#{dropdownView.onCountryChange}" update="city" />
- public void onCountryChange() {
- if(country !=null && !country.equals(""))
- cities = data.get(country);
- else
- cities = new HashMap<String, String>();
- }
Add Comment
Please, Sign In to add comment