Hi
I have created many custom widgets on my page.
Now, I need to create a object (not a widget) which will contain all the data that will be displayed, and have my widgets interact with the data.
The question is after creating the dojo class and instantiating the class is there a way that I can register the instantiated object so that every custom widget can have access to it.
My dojo class is declared as follows
dojo.provide("ProductData");
dojo.declare("ProductData",
[],
{ data: somedata;
