Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#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 14 years ago by dylan

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.

comment:2 Changed 14 years ago by dylan

Resolution: invalid
Status: newclosed

xml was not serving with xhtml mimetype... there are still other issues, but this isn't one of them.

comment:3 Changed 12 years ago by (none)

Milestone: 0.2.2release

Milestone 0.2.2release deleted

Note: See TracTickets for help on using tickets.