I have a requirement to render a panel on click of the button after selecting the option.
If I've selected Person, I should render a panel which has to be displayed in the same page, which wil have fields like age (text box), Gender(drop down), City(text box),date of birth (Calendar) and so on. The panel with required controls should be seen based on th type of the object selected. How can this be achieved with Jsf 2.0 and facelets with primefaces?
Thanks in advance
subject: To render a dynamic panel on button click in the same page