Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#5125 closed defect (invalid)

Can't programmaticly create a dropdownbutton to a tooltipdialog

Reported by: gregwilkins Owned by:
Priority: high Milestone:
Component: Dijit - Form Version: 1.0
Keywords: tooltipdialog dropdownbutton Cc:
Blocked By: Blocking:


Try to create a dropdownbutton to a tooltipdialog does not work and it appears something is not being mixed in. With the following code:

                        var node = document.createElement('div');
                        var instr = document.createElement('div');
                        var instrDD = document.createElement('div');
                        instrDD.innerHTML="<b>select instrument</b>";
                        var tmp = new dojox.layout.FloatingPane({
                                id: "win"+wid,
                                class: "livePrice",
                                title:"Spot AUD/USD",
                                dockable: true,
                                maxable: false,
                                closable: true,
                                resizable: false
                        var instrDDTtD = new dijit.TooltipDialog({
                                id: "instrDD"+wid,
                                title: "Select instrument"
                        }, instrDD);
                        var instrB = new dijit.form.DropDownButton({
                                id: "instr"+wid,
                                label: "AUD/USD"
                        }, instr);

the tooltipdialog is not correctly created and an explicit call to fails with no show method.

clicking the dropdown does nothing.

Dylan had a glance at this code and could not see anything immediately wrong.

Change History (2)

comment:1 Changed 14 years ago by gregwilkins

Resolution: invalid
Status: newclosed

it was just that startup was not being called.

comment:2 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.