dojo - dijit Form - Create dijits programmatically

This code populates an empty form with a radio button input that has three options. It can be modified to work with check boxes and other dijits. This is intended to be used with Zend Framework's Zend_Dojo_Form component, the tags are created using… more »

dojo 1.6.1 Form.reset()

Code to clear a form without firing the onChange events on the inputs. /* frmDijit.reset() */ dojo.query('#frmForm input[class^=dijit]').forEach( function(item) {… more »

dojo 1.1.1 to 1.6.1 Declarative Tag Update Script

This script performs the bulk of the upgrade translation to translate declarative tags from older versions of dojo up to the 2.0 format. The script was written to work with tags in Smarty templates, so it includes a little extra logic to avoid confus… more »

dojo - Distinguishing between onChange events

During an upgrade from dojo 1.1.1 to 1.6.1, I found that dijit.byId('someWidget').set('value','someNewValue'), was causing the onChange event to fire for the input. To prevent onChange from firing when the .set method is used, a third parameter prior… more »

dojo 1.6.1 dijit.form.Button example

I've been upgrading an RIA from dojo 1.1.1 to dojo 1.6.1, and spent a lot of time trying to find the cause of this error message: t.apply is not a function After many hours, I found it was related to the way the data-dojo-props event handlers were… more »

:: Next >>