Win a copy of Functional Reactive Programming this week in the Other Languages 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
Posts: 18303
56
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