#1182 closed enhancement (fixed)
Need way to disable auto-namespacing feature
Reported by: | morris | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Tutika said:
I am using DOJO for XHRs and tree node . I built custom dojo.js and my jsp page is having some unresolved tags like <test:XXXX > Hello </test:XXXX> surprisingly , as soon as the page loads , dojo is making some XHRs to these following URIs.. GET http://localhost:9080/portal/dojo/src/namespaces/test.js
By default dojo currently treats all xml style tags as dojo widgets and attempts to autoload them.
However to play nicely with other xml namespaces within the document, other libraries, and frameworks, there should be:
- a djConfig flag to disable the widget autoloading feature (i.e. needed widgets would need to loaded using dojo.require(), or by script tags, or included in the build).
- and/or maybe a djConfig list of namespaces which are to be autoloaded.
Note: See
TracTickets for help on using
tickets.
see changeset [5295]
you have your choice: djConfig.includeNamespace djConfig.excludeNamespace
either one can contain a string or an array of strings. I need to document this in the wiki...