Opened 12 years ago
Closed 12 years ago
#8586 closed defect (duplicate)
html can be loaded directly, but not by dialog with href
Reported by: | helloworld | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit | Version: | 1.2.2 |
Keywords: | dialog href | Cc: | |
Blocked By: | Blocking: |
Description
A test case here:
dlg.html can be loaded directly without any problem.
but if you load it in a dialog by clicking the add button in home.html, then error msg is:
Error parsing in _ContentSetter#Setter_DIV_0 Error: Could not load class 'dijit.layout.AccordionContainer?'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?
then if you include: dojo.require("dijit.layout.AccordionContainer?"); in home.html instead of dlg.html,
then no error msg for this dijit, but the latter dijit: SimpleTextarea? coming. :-(
dojo ver is 1.2.2, also test for trunk dojo-2009-02-04.tar.gzip
browsers are FF3 & IE6.
Attachments (2)
Change History (3)
Changed 12 years ago by
Changed 12 years ago by
comment:1 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
That's correct, you need to specify all the dojo.require() calls on the main page. This is working according to spec.
What you are talking about is having a Dialog widget that extends dojox.layout.ContentPane instead of dijit.layout.ContentPane, which is an enhancement covered in #4657.