aspose file tools*
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: 15641
    
  15

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
JSF 2.0 Login
multiple form in xhtml page nad update different controlls on two different forms
SelectListener for DataTable populated with ActionListener - infact if the initial size = 0
Updating a form in primefaces when a selection is made in the datatable
synchronization validation and display of dialog in a primeface JSF2.0 form