Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#9271 closed defect (fixed)

dojox.layout.GridContainer need to call startup before you can call addService

Reported by: ben hockey Owned by: dante
Priority: high Milestone: 1.4
Component: DojoX Layout Version: 1.3.0
Keywords: gridcontainer startup Cc:
Blocked By: Blocking:

Description

when you create a GridContainer? programmatically, you need to call startup before you can call addService (which will likely be renamed addChild at some point). The normal behavior for layout widgets is to be able to call addChild and then call startup on the layout widget which will then startup the children.

i've attached a test that fails. the gc.startup() line that is commented out is where startup would need to be called to make it work. the one that is uncommented is where it should be to follow the behavior of other layout widgets but currently fails.

Attachments (1)

9271.html (2.3 KB) - added by ben hockey 11 years ago.
programmatic dojox.layout.GridContainer?

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by ben hockey

Attachment: 9271.html added

programmatic dojox.layout.GridContainer?

comment:1 Changed 11 years ago by Adam Peller

Owner: changed from Adam Peller to dante

comment:2 Changed 11 years ago by Karl Tiedt

(In [17508]) refs #9271 adding programatic copy of BC test

comment:3 Changed 10 years ago by dante

Milestone: tbdfuture

punting for now, unless you have a fix handy ben.

comment:4 Changed 10 years ago by dante

Resolution: fixed
Status: newclosed

(In [20733]) fixes #10241, #10244, #7469, #9271 - addCHild/startup regression fix from moogle w/slight style modifictions. other bugs/issues need new tickets and patches, and prefereably additional test cases \!strict

comment:5 Changed 10 years ago by dante

Milestone: future1.4

comment:6 Changed 9 years ago by bill

Component: DojoxDojoX Layout
Note: See TracTickets for help on using tickets.