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

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/26f74549-b1b9-4a3f-9b56-b4f904a3602f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to