Closed Bug 12446 Opened 25 years ago Closed 25 years ago

[rfe] make sorting work on other templates; not just trees

Categories

(Core :: XUL, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: waterson, Assigned: mozilla)

References

Details

Attachments

(1 file)

Current XULSortService implementation is hard-coded to only deal with trees.
Can we extend to deal with any kind of template-generated content?
Add shaver to cc list; I know he wanted this for a calendar demo.
Depends on: 11413
The sorting code is tight fairly tightly to trees... for example, it has
intimate knowledge of the DOM layout of trees, needs the tree's column nodes to
determine what to sort on, etc.

Nisheeth is helping complete work on getting XSL in.  That might be a better
answer for Shaver, depending on what he's doing, if/when XSL lands, and the
phase of the moon.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
QA Contact: ckritzer → waterson
Assigning to originator per new organizational structure.
QA Contact: waterson → ckritzer
Changing QA Contact back to ckritzer@netscape.com
Status: RESOLVED → REOPENED
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: WONTFIX → FIXED
The XULSortService can now sort any content, not just trees, so I'm changing
this from WONTFIX to FIXED.
Robert, is there a specific test case for this?
Attached file QA test case
Chris, my friend, just for you:  I've attached a simple test case which will put
all the non-container nodes in your personal toolbar into a HTML:SELECT widget
and impose a descending sort on it.
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL.  XUL 
component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Massive QA Contact update.
QA Contact: ckritzer → jrgm
[RFE] is deprecated in favor of severity: enhancement.  They have the same meaning.
Severity: normal → enhancement
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: