Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#3251 closed defect (fixed)

PageContainer: selectedChild ignored as parameter

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

Description

Should remove selectedChild parameter definition and usage in the tests, or make it work.

Change History (3)

comment:1 Changed 12 years ago by guest

I discovered, by looking at the source code of the test at http://download.dojotoolkit.org/release-0.9.0beta/dojo-0.9.0beta/dijit/tests/layout/test_TabContainer.html that on the nested tabs in the "SubTabContainer?" tab that "SubTab2" had an attribute of selected = "true".

I put that on my tab that I wanted to see first, and it worked.

You may want to change the tests to reflect that instead. That seems to be a better solution than bothering with selectedChild. The only issue may be with backwards-compatibility, but it's a small change anyway. The patch that was issued with a previous bug did not work for me.

Thanks, Chris Coppenbarger cjcommunications@…

comment:2 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [9581]) Change to use "selected" parameter on child rather than "selectedChild" parameter on parent. Fixes #3251.

comment:3 Changed 12 years ago by bill

(In [9712]) Don't use desupported selectedChild parameter. Refs #3251.

Note: See TracTickets for help on using tickets.