Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4935 closed defect (invalid)

LayoutContainer inside a tab container tab - only works in first tab.

Reported by: guest Owned by:
Priority: high Milestone:
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

If you put a layout container inside a tab, it will only work in the first tab. Any other tabs with a layout container will display as blank.

This behavior is the same in IE7 and FF2.0.0.8.

Attachments (4)

dojotest.htm (2.7 KB) - added by guest 12 years ago.
Test Showing Problem
tab1.png (18.2 KB) - added by guest 12 years ago.
Tab 1 Results
tab2.png (30.8 KB) - added by guest 12 years ago.
Tab 2 Results
tab3.png (34.9 KB) - added by guest 12 years ago.
Tab 3 Results

Download all attachments as: .zip

Change History (8)

comment:1 Changed 12 years ago by bill

Resolution: worksforme
Status: newclosed

This works, see the top of test_TabContainer.html which has a TabContainer? and a SplitContainer? inside a TabContainer?, neither of which is the selected tab.

Changed 12 years ago by guest

Attachment: dojotest.htm added

Test Showing Problem

Changed 12 years ago by guest

Attachment: tab1.png added

Tab 1 Results

Changed 12 years ago by guest

Attachment: tab2.png added

Tab 2 Results

Changed 12 years ago by guest

Attachment: tab3.png added

Tab 3 Results

comment:2 Changed 12 years ago by guest

Resolution: worksforme
Status: closedreopened

Thank you for looking into this ticket.

However, while the test referenced above (test_TabContainer.html) has a nested tab cotainer and a remotly nested split container, it does not contain a nested layoutContainer.

I have recreated this problem in the attached .htm file. Also, I have included screenshots of the rendering of the attached test.

I am sorry for the lack of detail when opening this ticket.

Thank you!

comment:3 Changed 12 years ago by bill

Resolution: invalid
Status: reopenedclosed

Looks like an issue with the test:

  1. need html, body { height: 100%, width: 100% } as a CSS rule
  2. whenever you have a ContentPane? that contains a LayoutContainer?, TabContainer?, etc., just get rid of the ContentPane?. A TabContainer? can be a direct child of a LayoutContaienr?. Actually the intermediate ContentPane? will work with the latest build but isn't recommended, and adds no value.

Try that and see if it fixes your problem.

comment:4 in reply to:  3 Changed 12 years ago by guest

Replying to bill:

Looks like an issue with the test:

  1. need html, body { height: 100%, width: 100% } as a CSS rule
  2. whenever you have a ContentPane? that contains a LayoutContainer?, TabContainer?, etc., just get rid of the ContentPane?. A TabContainer? can be a direct child of a LayoutContaienr?. Actually the intermediate ContentPane? will work with the latest build but isn't recommended, and adds no value.

Try that and see if it fixes your problem.

I see...I removed the tab contentpanes and made the inner layout containers direct children of the tab container and this fixed the problem.

Thank you and sorry, I was sure this was a bug.

Dan

Note: See TracTickets for help on using tickets.