Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to hide the form using jsf primefaces

 
Baazi Reddy
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to hide the form using jsf primefaces

My requirment is Iam able get some data from DB and display it to user in tabalur format.
In header part there will be button ,when user clicks it another hidden form will be opened where he can update data and save it db. I want to get this hidden form in same page when he clicks button.

Can any one of you give me idea about it.

Thanks in advance.

Baazi.
 
Tim Holloway
Bartender
Posts: 18419
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can show or hide a form on a page by giving it a "rendered=" attribute value that is an EL expression referencing a boolean property on a backing bean. When that property is true, the form renders. When it is false, the form is hidden.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!