• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Make Disable h:inputText on click of check box  RSS feed

 
Yahya Arshad
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am in a situation

i have an h:inputText and an <h:selectBooleanCheckbox> i want that if i click check box a particular h:inputText field become disabled....

i am trying to do this by associating javascript with <h:selectBooleanCheckbox> but eclipse give error that <h:selectBooleanCheckbox > dont have any onClick attribute

please any help what way i go to do this
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JSF, it's not "onClick", it's "onclick".

Stupid case-sensitive programming.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!