I'm new to JSF, I read the JSF life cycle but couldn't understand how to achieve this?
I've a controller say "Cities" and other controller "Countries". Now I'm going to create a new page, where I will provide search functionality. I showed two dropdowns on that page (One for countries and other for cities), I want the first drop down to be populated on page load. Please tell me which controller to use? Cities/Countries? or create a new one? and How to load data on page load?
Thanks!