The moose likes JSF and the fly likes disabling checkbox for 30 seconds Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "disabling checkbox for 30 seconds" Watch "disabling checkbox for 30 seconds" New topic
Author

disabling checkbox for 30 seconds

naresht reddyt
Greenhorn

Joined: Feb 18, 2008
Posts: 1
<tr:table summary="Periodic table"

rowSelection="multiple"
:
:
:
</tr:table>

I am getting the fields populated from database after selecting a checkbox and the user is also able to select another checkbox before the first checkbox request is completed. In this scenario the error reported will manifest.
Here i need to disable the remaining checkboxes for 30seconds.
Can someone please help me how i can acheive this.
Bob Good
Ranch Hand

Joined: Jan 09, 2008
Posts: 86
YOu can use a bit of javascript


When the server is done it should resend the components and the disabled attributes will be reset. Forget about using an arbitrary 30 seconds.
 
IntelliJ Java IDE
 
subject: disabling checkbox for 30 seconds
 
Threads others viewed
how to inform the total rows to trinidad table
table and partial triggers
Pagination in JSF
tr:table border
Problem with Trinidad Nested Table (depth 3)
IntelliJ Java IDE