Login Register

Problem loading a form into an accordion pane...

I having a problem loading a form into an accordion pane. The form is defined in an external html document that I am loading via the href attribute on the accordion pane. I can open the panel1.html document directly and no errors are reported by by firebug. However, when I embed the form in an accordion pane, I get the following error from firebug and the form doesn't render correctly. I've noticed that if I include the dojo.require()'s that are declared in panel1.html directly in accordion.html then things seem go better. It's like the accordion document does not pick up the require()s declared in the panel1 document. Is this expected behavior?

Could not load class 'dijit.form.Form'.

accordion.html






	dojo.require("dijit.dijit");
	dojo.require("dojo.parser");
	dojo.require("dijit.layout.AccordionContainer");



Panel 2 Content
Panel 3 Content
Panel 4 Content
Panel 5 Content

panel1.html






	dojo.require("dijit.form.Form");
	dojo.require("dijit.form.Button");
	dojo.require("dijit.form.ComboBox");




Select

	Option 1
	Option 2
	Option 3
	Option 4
 
Retrieve