Re: Disabling component again with AjaxCheckBox

2009-05-31 Thread Igor Vaynberg
is your checkbox required? any validation errors? see if onerror() is called instead of onupdate() -igor On Sun, May 31, 2009 at 11:04 AM, Rick Gruber-Riemer wrote: > Hi > > Thank you for your answer. > > Unfortunately this did not solve the problem. In the meantime I found out, > that the onUpd

Re: Disabling component again with AjaxCheckBox

2009-05-31 Thread Rick Gruber-Riemer
Hi Thank you for your answer. Unfortunately this did not solve the problem. In the meantime I found out, that the onUpdate method is only called when the checkbox is checked, but not when the checkbox is removed (i.e. check, uncheck, check, uncheck results in two invocations of onUpdate). This do

Re: Disabling component again with AjaxCheckBox

2009-05-31 Thread Steve Swinsburg
Call doUpdateConfirmButton() when the page first loads so you can set it up initially, then again when the checkbox is clicked as you already do. cheers, Steve On 31/05/2009, at 7:40 AM, Rick Gruber-Riemer wrote: Hi I have a checkbox which must be checked for the user to be able to su

Disabling component again with AjaxCheckBox

2009-05-30 Thread Rick Gruber-Riemer
Hi I have a checkbox which must be checked for the user to be able to submit (accept terms). I want the related submit button to be enabled only, when the checkbox is checked. This works fine when the button initially is disabled, then the checkbox is checked by the user (I followed http://www.nab