File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes To render a dynamic panel on button click in the same page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "To render a dynamic panel on button click in the same page" Watch "To render a dynamic panel on button click in the same page" New topic
Author

To render a dynamic panel on button click in the same page

N Deepu
Greenhorn

Joined: Jul 28, 2011
Posts: 25

Hi all,
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
 
Consider Paul's rocket mass heater.
 
subject: To render a dynamic panel on button click in the same page