Hi
I need to create a XUL splitter element in my Firebug side panel. As per my understanding, you cannot directly put XUL element tags in Domplate. So I did some workarounds which are not working. Any help on how to resolve this would be appreciated.
My DOMPlate code is
with (Domplate) {
//xtends DOMReps (via require "firebug/dom/domReps")
aPanel.prototype.panelReps= domplate(DOMReps.DirTablePlate, {
VIZ:IFRAME({src:"chrome://xxx/content/panels/viz.xul",
width:"100%",
height:"50%",
frameborder:"0"
}),
//Would ideally like a xul splitter tag here
DATA({width:"100%", height:"50%"})
});
}
In my Firebug side panel initialize, I do this
this.panelReps.VIZ.replace({}, this.panelNode);
//Even something like this does not work
//panelNode.innerHTML += "<splitter/>
this.timeline.DATA.append({}, this.panelNode);
//tag template is from the extended DOMReps
this.timeline.tag.append({object:data}, this.panelNode.lastChild);
Can you give me a way forward? Thanks!
Dhruva Ray