SHARE
TWEET

Untitled

a guest Feb 17th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <p:ajax listener="#{dropdownView.onCountryChange}" update="city" />
  2.    
  3. public void onCountryChange() {
  4.     if(country !=null && !country.equals(""))
  5.         cities = data.get(country);
  6.     else
  7.         cities = new HashMap<String, String>();
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top