Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF hide form or disable command buttons

 
malik ge
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using primefaces and here is the code for my register.xhtml page.


Managed Bean:



What I want to know if there is a way, that after the Submit button is clicked either:
Disable the command button so that it can't be clicked again.
or
Hide the form after the form is submitted.

Thanks
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18014
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We just answered that question within the last month, so you might want to search this forum,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic