This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 17033
    
  26

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


An IDE is no substitute for an Intelligent Developer.
 
Have you checked out Aspose?
 
subject: JSF hide form or disable command buttons
 
jQuery in Action, 3rd edition