*
The moose likes JSF and the fly likes JSF hide form or disable command buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "JSF hide form or disable command buttons" Watch "JSF hide form or disable command buttons" New topic
Author

JSF hide form or disable command buttons

malik ge
Ranch Hand

Joined: May 13, 2011
Posts: 69
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

Joined: Jun 25, 2001
Posts: 16103
    
  21

We just answered that question within the last month, so you might want to search this forum,


Customer surveys are for companies who didn't pay proper attention to begin with.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JSF hide form or disable command buttons