Closed Bug 20795 Opened 26 years ago Closed 25 years ago

We need a way to specify order of the template generated vs. XUL menu items

Categories

(Core :: XUL, defect, P2)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: cata, Assigned: waterson)

References

Details

I have the following menu. I need to get the <More>, submenu to be the last item (after the generated items) as opposed to the first one. <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/tasksOverlay.css" type="text/css"?> <!DOCTYPE window SYSTEM "chrome://global/locale/charsetOverlay.dtd"> <overlay id="charsetOverlay" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <html:script language="JavaScript" src="chrome://global/content/charsetOverlay.js"/> <!-- Charset Menu --> <menu id="charsetMenu" value="&charsetMenu.label;" datasources="rdf:charset-menu" ref="NC:BSCharsetMenuRoot"> <template> <rule> <menupopup> <menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="SetDefaultCharacterSet(event.target)"/> </menupopup> </rule> </template> <menupopup> <menu value="More" datasources="rdf:charset-menu" ref="NC:BMCharsetMenuRoot"> <template> <rule> <menupopup> <menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="SetDefaultCharacterSet(event.target)"/> </menupopup> </rule> </template> <menupopup> </menupopup> </menu> </menupopup> </menu> </overlay>
*** Bug 20796 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
OS: Windows NT → All
Priority: P3 → P2
Target Milestone: M13
Component: XP Toolkit/Widgets → XUL
Target Milestone: M13 → M15
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL. XUL component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Target Milestone: M15 → M20
Fixed. You can put: sortStaticsLast="true" on the parent node for who's static XUL contents you want to appear AFTER template generated content.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
QA Contact: claudius → jrgm
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.