RDF/menupopup Template not working in Firefox 3.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RDF/menupopup Template not working in Firefox 3.0

Chris-500
Versions: Firefox 3.0b2 & Firefox 3.0 CVS HEAD

I am trying to bind a RDF to a menupopup in FF3.  The code works find
in
FF2.  But in FF3, none of the menu items appear.  I know that the
datasource
loads, because I can traverse through it via Javascript.

I have looked through the FF3 changes, and I didn't see anything
changes that
would effect the code.

RDF File:

<?xml version="1.0" encoding="UTF-8"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:SITE="http://www.test.com/rdf#">

  <RDF:Seq RDF:about="http://www.test.com/root">
    <RDF:li RDF:resource="http://www.test.com/107478"/>
    <RDF:li RDF:resource="http://www.test.com/107479"/>
  </RDF:Seq>

  <RDF:Description RDF:about="http://www.test.com/107478">
    <SITE:type>entry</SITE:type>
    <SITE:id>1</SITE:id>
    <SITE:name>Item one</SITE:name>
  </RDF:Description>
  <RDF:Description RDF:about="http://www.test.com/107479">
    <SITE:type>entry</SITE:type>
    <SITE:id>2</SITE:id>
    <SITE:name>Item two</SITE:name>
  </RDF:Description>
</RDF:RDF>

XUL:

<toolbox>
  <toolbar>
    <toolbarbutton
      datasources="rdf:null"
      xmlns:SITE="http://www.test.com/rdf#"
      ref="http://www.test.com/root"
      name="testMenu"
      type="menu"
      id="testMenu"
      label="TheMenu">

      <template>
        <rule SITE:type="entry">
          <menupopup>
            <menuitem uri="rdf:*"
                      class="menuitem-iconic bookmark-item"
                      id="rdf:http://www.test.com/rdf#id"
                      label="rdf:http://www.test.com/rdf#name"/>
            </menupopup>
        </rule>
      </template>
    </toolbarbutton>
  </toolbar>
</toolbox>


Many thanks,
Chris.
_______________________________________________
dev-tech-rdf mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-rdf
Reply | Threaded
Open this post in threaded view
|

Re: RDF/menupopup Template not working in Firefox 3.0

Neil Deakin
Chris wrote:

> Versions: Firefox 3.0b2 & Firefox 3.0 CVS HEAD
>
> I am trying to bind a RDF to a menupopup in FF3.  The code works find
> in
> FF2.  But in FF3, none of the menu items appear.  I know that the
> datasource
> loads, because I can traverse through it via Javascript.
>
> I have looked through the FF3 changes, and I didn't see anything
> changes that
> would effect the code.
>

This is a bug 405719.
_______________________________________________
dev-tech-rdf mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-rdf