Closed Bug 20796 Opened 21 years ago Closed 21 years ago

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

Categories

(Core :: XUL, defect, P3)

All
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 20795

People

(Reporter: cata, Assigned: waterson)

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>
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 20795 ***
Status: RESOLVED → VERIFIED
verified duplicate of 20795. obvious double post.
You need to log in before you can comment on or make changes to this bug.