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)
Core
XUL
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>
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
OS: Windows NT → All
Priority: P3 → P2
Target Milestone: M13
| Assignee | ||
Updated•26 years ago
|
Component: XP Toolkit/Widgets → XUL
| Assignee | ||
Updated•26 years ago
|
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
| Assignee | ||
Updated•26 years ago
|
Target Milestone: M15 → M20
Comment 3•25 years ago
|
||
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
Updated•25 years ago
|
QA Contact: claudius → jrgm
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
| Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•