Opened 10 years ago

Closed 10 years ago

#14830 closed defect (invalid)

TabContainer doesn't load in BorderContainer

Reported by: EyeCode Owned by: EyeCode
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:


I have a dijit.layout.BorderContainer? and i'm trying to load a dijit.layout.TabContainer? but thats doesn't work.

I receive this javascript error when the dojo.parser try to parse the HTML :

info: "dijit.layout.TabContainer?" message: "undefinedModule"

here is the code:

<!-- code start -->
<div data-dojo-type="dijit.layout.BorderContainer" style="width:100%; height: 100%">
    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'left'">
            <!-- will contain some data -->
    <div data-dojo-type="dijit.layout.TabContainer" data-dojo-props="region:'center'">
            <!-- will contain some more ContenPane -->
<!-- code end -->

I call the parser after the domReady

TabContainer?.js is present under his folder dijit/layout but it doesn't want to load at all

I'm running from the version 1.7.2 from the github folder directly

Can someone help with that bug or telling me what im doing wrong

Thx in advance

Change History (2)

comment:1 Changed 10 years ago by ben hockey

Owner: set to EyeCode
Status: newpending

you're almost certainly missing a require for dijit.layout.TabContainer?

if that doesn't fix it can you provide a test page?

comment:2 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.