Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

how to hide the form using jsf primefaces

 
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.
 
Saloon Keeper
Posts: 22257
151
Android Eclipse IDE Tomcat Server Redhat Java 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.
 
    Bookmark Topic Watch Topic
  • New Topic