Opened 11 years ago

Closed 6 years ago

#7314 closed enhancement (wontfix)

[patch][cla] DataTabContainer widget

Reported by: maulin Owned by: dante
Priority: low Milestone: future
Component: DojoX Widgets Version: 1.1.1
Keywords: needsreview Cc:
Blocked By: Blocking:

Description

I've built a widget that allows you to specify an array of tabs (or use a store to specify the tabs) in the container. It automatically creates each tab, and when the tab is selected, instantiates the template (the child of the container), replacing ${foo} style variables in the template with values from the array/store items.

I think this is broadly useful for a number of use cases. The most common is to provide a seperate tab for varying "filters" on a DataGrid?, but there could be *many* other uses.

Attachments (4)

DataTabContainer.js (8.0 KB) - added by maulin 11 years ago.
DataTabContainerTest.html (3.8 KB) - added by maulin 11 years ago.
DynamicStackContainer.js (6.5 KB) - added by maulin 11 years ago.
test_DynamicStackContainer.html (4.0 KB) - added by maulin 11 years ago.

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by maulin

Attachment: DataTabContainer.js added

Changed 11 years ago by maulin

Attachment: DataTabContainerTest.html added

comment:1 Changed 11 years ago by maulin

I've also written blog entry and provided a working example at http://blog.medryx.org/2008/07/29/a-dynamic-tab-container/

comment:2 Changed 11 years ago by maulin

I've already revised this -- now as a mixin so it can be mxed into any stack container. I've attached the newest files here.

Changed 11 years ago by maulin

Attachment: DynamicStackContainer.js added

Changed 11 years ago by maulin

comment:3 Changed 11 years ago by dante

Milestone: tbd1.3
Summary: DataTabContainer widget[patch][cla] DataTabContainer widget

comment:4 Changed 11 years ago by dante

Milestone: 1.3future

this seems cool, but needs a style guide pass, and documentation in the wiki and comments shifted around inline to become documentation. Won't have time myself before 1.3.

comment:5 Changed 7 years ago by ben hockey

Keywords: needsreview added
Priority: highlow

i'm trying to identify stale tickets. if there is a need to keep this ticket open, please replace the "needsreview" keyword with "reviewed". if there is no need to keep this ticket open then please close it.

comment:6 Changed 6 years ago by Kitson Kelly

Resolution: wontfix
Status: newclosed

I am afraid that additional components such as this won't be considered for DojoX at this point and in Dojo 2.0 they will need to be a community package.

Packages can be submitted at http://packages.dojofoundation.org/ or please view where we are headed for packages in Dojo 2.0: https://docs.google.com/a/kitsonkelly.com/document/d/17B7A0eGbBAYsuZTQCnMnQ-xNiuB5NVc4vKYJqp3a_CE/edit

Note: See TracTickets for help on using tickets.