Without info re: falling flat, my guess is you're not accommodating the real ID of the control on the HTML side.  Your _javascript_ will probably work just fine if you a) pass the real id (effectively the client id on the JSF side), or b) iterate through the controls looking for a control with the id that ends with your logically-assigned id.  Obviously there would be other ways to skin this cat, but it should all work just fine...
-----Original Message-----
From: Fraley, Taylor [mailto:[EMAIL PROTECTED]
Sent: Friday, November 10, 2006 2:01 PM
To: MyFaces Discussion
Subject: JSF + _javascript_ question

Does anyone know a quick and dirty way to disable a set of JSF form elements based on the checked status of a h:selectBooleanCheckbox?  I have some _javascript_ that works great when using normal HTML elements, but falls flat when I'm using faces.
 
Thanks,
Taylor
 

Reply via email to