#274 closed defect (invalid)
package system and xhtml documents
Reported by: | dylan | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.2 |
Keywords: | svg | Cc: | dylan, Tom Trenka |
Blocked By: | Blocking: |
Description
Working from source, dojo does not initialize for me when serving an xhtml document. This is needed in order to be able to properly include svg widgets from templates using the widget system.
What I see happening is 3 script elements are added to the DOM, one for each of bootstrap1, hostenv_browser.js, and boostrap2.js. However, none of the code pulled in by these three files is ever executed.
tests/widget/test_HslColorPicker.xml shows a simple example where any calls to dojo.foo fail.
Change History (3)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
xml was not serving with xhtml mimetype... there are still other issues, but this isn't one of them.
Note: See
TracTickets for help on using
tickets.
P.S. Make sure the example is served with the appropriate xhtml mimetype. One way to make sure this is the case in firefox is to renamed with a .xhtml extension.