function init()
{
// how do you get a ref to the paletteStore here?
}
dojo.addOnLoad(init);
markup
How do I get a ref to a store I declaratively instantiated??? byJsId, byId, byFunction, byMagic???
Submitted by 2dor on Fri, 02/01/2008 - 00:50.
How do I use markup to create my custom widget and put a dojo widget as its contents also using markup using dojoTypes
Submitted by 2dor on Wed, 01/23/2008 - 23:22.
I wanted to load a container widget in my custom widget but do it all in markup. How would you do that? I figured seeing this isn't specific on a dijit that this would be the right place to post this. If it's not, I'm sorry.
Event handlers via markup: shorthand way to get onClick="dijit.byId('${id}')....
Submitted by gkasparek on Wed, 12/12/2007 - 21:00.
When I use a templatePath to an HTML document that instantiates widgets in the markup, I find myself constantly using event handlers to call methods within that widget. If I was doing this programatically I would just refer to the method as this.methodName(). But when the event is fired, "this" refers to the scope of the HTML element (tag) not the widget.
I've been doing this:
