Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#518 closed defect (wontfix)

Unable to change widget ID on the fly

Reported by: [email protected] Owned by: anonymous
Priority: high Milestone:
Component: Widgets Version: 0.2
Keywords: Cc:
Blocked By: Blocking:


Widget id is not properly renamed using dojo.widget.byId('widgetId').widgetId or .id. The following function needs to be added to dojo.js to enable proper renaming on the fly.

this.renameWidgetId = function(strOldId, strNewId) {

var objWidget = this.widgetIds[strOldId]; delete this.widgetIds[strOldId]; this.widgetIds[strNewId] = objWidget; = strNewId; objWidget.widgetId = strNewId;


Change History (3)

comment:1 Changed 16 years ago by alex

Milestone: 0.2.2release0.3release

moving to correct milestone

Also: why would you be changing the widget ID? What's the benefit?

comment:2 Changed 16 years ago by Dustin Machi

Resolution: wontfix
Status: newclosed

We're not opposed to adding something like this if someone can give a use case or scenario for it. For now we're closing as won't fix

comment:3 Changed 15 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.