Class Index | File Index

Classes


Namespace adfdijit


Defined in: core.js.

Namespace Summary
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>

Documentation generated by JsDoc Toolkit 2.1.0 on Mon May 17 2010 13:45:44 GMT-0700 (PDT)