Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

N Deepu
Posts: 28
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic