Login Register

declarative

How do I get a ref to a store I declaratively instantiated??? byJsId, byId, byFunction, byMagic???


function init()
{	
    // how do you get a ref to the paletteStore here?
}

dojo.addOnLoad(init);





Is it possible to use declarative markup in a template made of just dojo widgets and get it parsed?

Is it possible to use declarative markup in a template that is just constructed of dojo widgets. I've found dojo.parse.parser(element); that will scan all the child contents of the that domNode and create the widgets but it doesn't work if the element passed is itself a widget? Any suggestions? Trying to use just dojo widgets and not apply anything but positioning to them to take advantage of all the support built into them.


// template file source

Syndicate content