Namespace adfdijit
Defined in: core.js.
Constructor Attributes | Constructor Name and Description |
---|---|
The ADF JavaScript library is built on and includes the Dojo 1.3.0 library The adfdijit namespace is a re-scope of Dojo's dijit namespace to prevent potential conflicts with other Dojo libraries that may be added to the web application
This namespace contains the JavaScript API typically found in Dojo's dijit namespace See dijit API Reference for more informaton.
|
Namespace Detail
adfdijit
The ADF JavaScript library is built on and includes the Dojo 1.3.0 library The adfdijit namespace is a re-scope of Dojo's dijit namespace to prevent potential conflicts with other Dojo libraries that may be added to the web application
This namespace contains the JavaScript API typically found in Dojo's dijit namespace See dijit API Reference for more informaton.
For Example:
1. Programmatic Dijit Creation.var button = new adfdijit.form.Button({ label: "Click me!", onClick: function() { // Do something: adfdojo.byId("result1").innerHTML += "Thank you! "; } }, "progButtonNode");
2. Declarative Dijit Creation.<script type="text/javascript"> adfdojo.require("dijit.form.Button"); adfdojo.parser.parse(); // To render declarative dijits </script> <button adfdojoType="adfdijit.form.Button" type="button" > <script type="dojo/method" event="onClick" args="evt"> // Do something: adfdojo.byId("result2").innerHTML += "Thank you! "; </script> </button> <div id="result2"></div>