Opened 14 years ago
Closed 14 years ago
#1185 closed enhancement (worksforme)
Widget creation - linked to constructor's namespace
Reported by: | Owned by: | bill | |
---|---|---|---|
Priority: | low | Milestone: | 1.0 |
Component: | Widgets | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When replicating a Dojo widget, the new Widget may still have some lines that create sub-widgets, like for instance FloatingPane? creates a ResizeHandle?.
But when creating a new FloatingPane? in a different namespace, it still creates a ResizeHandle? from the Dojo namespace.
There should be some widget property that states the type of the sub-widgets. Something like: subwidgets: {resize: "dojo:ResizeHandle", ...}, so that in the code there will be dojo.widget.createWidget(this.subwidgets.resize, ...);
Change History (3)
comment:1 Changed 14 years ago by
Milestone: | 0.4 → 0.6 |
---|
comment:2 Changed 14 years ago by
Priority: | high → low |
---|
comment:3 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
We've gotten rid of namespaces in 0.9 altogether; no longer an issue.
Note: See
TracTickets for help on using
tickets.
If you want floating pane to use another widget rather than resize handle, you can subclass floating pane and change the behavior. Not sure what the issue is. It's inconvenient because it's hard to override just that one part?