Opened 12 years ago

Last modified 12 years ago

#10172 closed defect

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

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

Description

below is the example:

dojo.declare("dijit.TestWidget?",

[dijit._Widget, dijit._Templated],

{

templateString: dojo.cache("dijit", "tests/TemplateTest.html"), widgetsInTemplate : true

});

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>

/

<div dojoType="dijit.Dialog" id="tabDialog" title="TabContainer? Dialog">

<div dojotype="dijit.TestWidget?" style="width:400px; height:400px;"></div>

</div>

Change History (2)

Changed 12 years ago by bill

Attachment: TemplateTest.html added

template file

Changed 12 years ago by bill

Attachment: DialogTab.html added

main file

Note: See TracTickets for help on using tickets.