Opened 12 years ago

Last modified 12 years ago

#10172 closed defect

TabContainer doesnt work in Dialog when using templateString — at Version 1

Reported by: vorun Owned by: bill
Priority: high Milestone: 1.4
Component: Dijit Version: 1.4.0b
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

below is the example:

dojo.declare("dijit.TestWidget",
			[dijit._Widget, dijit._Templated], 
		{
			templateString: dojo.cache("dijit", "tests/TemplateTest.html"),
			widgetsInTemplate : true
		});	
<div dojoType="dijit.Dialog" id="tabDialog" title="TabContainer Dialog">
		<div dojotype="dijit.TestWidget" style="width:400px; height:400px;"></div>
	</div>

TemplateTest?.html /

<div>    
    <div dojoType="dijit.layout.TabContainer" style="width:400px; height:400px;">
        <div dojoType="dijit.layout.ContentPane" title="tab 1">
        </div>
        <div dojoType="dijit.layout.ContentPane" title="tab 2">
        </div>
    </div>
</div>

Change History (3)

Changed 12 years ago by bill

Attachment: TemplateTest.html added

template file

Changed 12 years ago by bill

Attachment: DialogTab.html added

main file

comment:1 Changed 12 years ago by bill

Description: modified (diff)
Milestone: tbd1.4
Owner: set to bill
Status: newassigned

OK I'll take a look. For the future please attach testcases using the "attach file" button.

Note: See TracTickets for help on using tickets.