Call to domplate in side a domplate (In side Panel)

14 views
Skip to first unread message

Malintha

unread,
Aug 29, 2012, 2:51:23 AM8/29/12
to fir...@googlegroups.com
Hi,

I m inside a side panel. In that panel I have a domplate and it has a button. When the button click I want to render a another dmoplate to a given node (to my table cell). It  looks like this.

define([
    "firebug/lib/lib",
    "firebug/lib/trace",
],
function(FBL, FBTrace) {

///////////////////
///////////////////

    MainSidePanel.prototype = FBL.extend(Firebug.Panel,


 initialize: function()
    {

    } 
 destroy: function(state)
    {
        Firebug.Panel.destroy.apply(this, arguments);
    },
   
    refresh: function()
    {
       
        this.MyTemplateSide.render(this.panelNode,myPageArray);
      
    }

with (FBL) {
MainSidePanel.prototype.MyTemplateSide = domplate(
{

// my domplate1 stuff

render: function(parentNode,nam2)
    {
       
        this.table.replace({array:nam2}, parentNode);
    }

}),

MainSidePanel.prototype.supportPlate = domplate(

{

// my domplate2 stuff

})

Malintha

unread,
Aug 29, 2012, 2:52:41 AM8/29/12
to fir...@googlegroups.com

Malintha

unread,
Aug 29, 2012, 3:03:09 AM8/29/12
to fir...@googlegroups.com
I made an error when asking the question. My corrected question has been posted after this


On Wednesday, August 29, 2012 12:21:23 PM UTC+5:30, Malintha wrote:

Jan Honza Odvarko

unread,
Aug 29, 2012, 5:21:46 AM8/29/12
to Firebug
Reply all
Reply to author
Forward
0 new messages