To reference the Dojo Toolkit to our page usually we would do by downloading the source from Dojo web site and putting it on our own site then linking to it. We can reference the Dojo source files on the Internet without requiring us to have the source on our own web server.

AOL provides a facility it calls the Content Delivery Network (CDN), which is a
“worldwide geographic edge caching” mechanism for the Internet.This allows super fast delivery of files to web users from AOL servers that are geographically close to them.

The files are also compressed, which further improves the download speeds.AOL has
generously made this facility available to developers and end users. For more information on the AOL CDN and Dojo, visit http://dev.aol.com/dojo.

So just provide a link to the Dojo files on AOL CDN and do not need to download them to your site at all.

As I experienced ,Populating list box dynamically in HTML is not simpler than other HTML controls.However it's more complex when you use dijit FilteringSelect.FilteringSelect is like an HTML SELECT tag, but is populated dynamically. It works very nicely with very large data sets because it can load and page data as needed.

Actually,I have come up with the requirement based on the option selected in radio button drop-down should be populated from configuration document.E.g, We have radio button with three options ; A , B and C. Once you select A; country name starts with 'A' should be populated in drop down and Same as for B and C. When I visited Dojo site for some example found following,



But it was not as easy in implementation as shown. Lets see how it's done.

First, I kept three hidden look-up fields on the form to hold data from configuration document. Fields were , lkpA, lkpB and lkpC ; all three fields look-up country name starts with their corresponding initials.
Next, my JavaScript function which triggers on radio button (Where options A,B and C ) . Code actually pass the look-up field handle to another JavaScript function which actually populates the drop down. Code looks something like,



And here is populate_category function which actually loop through passed hidden field,builds JSON and populate drop down.



Would like to hear if it could be achieved more easily ;)

preload preload preload