try:
in the jsp:
<h:commandButton . . . disabled="#{backingBean.pressed}">
in the backing bean:
public boolean isPressed() {
return /* true/false if the button has been pressed */;
}
-----Original Message-----
From: Legolas Woodland [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 04, 2006 1:10 AM
To: MyFaces Discussion
Subject: Topic: How i can have a button which become disable after user
pressed it
How i can have a button which become disable after user pressed it something
like Sun java Application server Admin console login.
it disable just after user press it (via Enter or mouse click) can some one
give me some lights ?
Thank you for reading my post