XUL templates and tabs
Tags:
.in-english,
firefox,
html,
programming,
xul
I had some problems using XUL templates to populate a tabbox using a RDF data source: the tabs were created, but switching tabs did not work. Avoiding the use of inline templates and moving the template outside of the tabbox element solved this. Looks like the tabbox was confused by the <tabs> and <tabpanels> elements inside the <template> node.
<template id="tabTemplate">
<tabs>
<tab uri="rdf:*" label="rdf:http://multirunner.blah/rdf#name"/>
</tabs>
<tabpanels>
<tabpanel uri="rdf:*">
<label value="rdf:http://multirunner.blah/rdf#name"/>
</tabpanel>
</tabpanels>
</template>
<tabbox id="rdftabbox"
datasources="rdftabs.rdf"
ref="http://multirunner.blah/tabs"
template="tabTemplate" />
1 comentario:
Thank You very much! You saved my day.
Michael
Publicar un comentario