This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15947
    
  19

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF hide form or disable command buttons
 
Similar Threads
Updating a form in primefaces when a selection is made in the datatable
SelectListener for DataTable populated with ActionListener - infact if the initial size = 0
synchronization validation and display of dialog in a primeface JSF2.0 form
JSF 2.0 Login
multiple form in xhtml page nad update different controlls on two different forms