OK, so I'm trying to generate a tabbed UI from an RDF datasource and find, to my displeasure, that the standard XUL "tabs" element inserts anonymous spacers before and after the generated tab elements. This causes the elements in the corresponding "tabpanels" element to be out of sync unless I manually insert a "spacer" element beforehand.

Furthermore, the "tabs" element causes my RDF template element to acquire the 'first-tab="true"' attribute, rather than the first actual (generated) tab.

Is there an elegant example of RDF-driven tabs someplace?

Gavin


Reply via email to