Re: [5.1.0.5] Firing javascript from page class from mixin handler method

2010-09-22 Thread LLTYK
My favorite reply, a mixin on a component in a zone will get it's javascript run again on zone update. So you make a mixin that handles both disabling and enabling, it will run on page render, and run again whenever you update the zone. Oh, and use renderSupport.addScript, like in here: http://j

Re: [5.1.0.5] Firing javascript from page class from mixin handler method

2010-09-21 Thread Rich M
*sigh* Pretty disappointed I didn't consider this, since it's exactly how I update the TextField's value.. but disabled="${disabled}" and then set the disabled value in the mixin handler method. Although, I am still interested in learning how to get a call to some javascript from within a m

[5.1.0.5] Firing javascript from page class from mixin handler method

2010-09-21 Thread Rich M
Hi, I have a new requirement that came up and I've been considering how to handle accordingly. The issue at hand is to use an AJAX mixin to read a change to a Select input, update the value bound to a TextField, and conditionally set the "disabled" attribute of the same TextField. I implemen