[Dojo-interest] How do I debug a widget?
ktiedt at gmail.com
Wed Dec 13 17:37:46 MST 2006
Do you have your namespace defined anywhere? part of the new Namespacing
change required a little bit more do be done for NS's to work I believe....
look at the example in tests/widget/test_Button*.html I believe it includes
an acme.* namespace that you can use as an example.
On 12/13/06, garey <garey.mills at gmail.com> wrote:
> I have some more information. After putting some debug statements on
> html page, I get this
> DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not
> locate widget implementation for "godisplayboard" in "ngn.widget"
> to namespace "ngn". Developers must specify correct namespaces for all
> non-Dojo widgets -- will be removed in version: 0.5
> I have dojo unpacked into a web-accessible directory called 'dojo'.
> have a directory next to it, also web-accessible, called 'ngn'. Inside ngn
> have the directories 'widget' and 'widget/templates'. I reference the
> in my web page by the statement 'dojo.require("ngn.widget.GoDisplayBoard
> since the widget is named exactly that (the file being
> 'ngn/widget/GoDisplayBoard.js'). This seems to me to follow exactly the
> advice on the Dojo book on namespaces. What am I doing wrong?
> garey wrote:
> > Hello -
> > I am trying to write a widget that displays some SVG on Firefox2.0.
> > This is a first step to making it more general. No matter what I do,
> > nothing
> > this?
> > Is there some way to see what Dojo.js is doing as it tries to load the
> > widget?
> > _______________________________________________
> > Dojo FAQ: http://dojo.jot.com/FAQ
> > Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> > Dojo-interest at dojotoolkit.org
> > http://dojotoolkit.org/mailman/listinfo/dojo-interest
> View this message in context:
> Sent from the Dojo mailing list archive at Nabble.com.
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dojo-interest