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); //this is my main template
}
with (FBL) {
MainSidePanel.prototype.MyTemplateSide = domplate(
{
// my domplate1 stuff
onclick:function(MYnewNODE){
this.supportPlate.render(MYnewNODE); //this is my main template
}
render: function(parentNode,nam2)
{
this.table.replace({array:nam2}, parentNode); //here i render my main domplate
}
}),
MainSidePanel.prototype.supportPlate = domplate(
{
// my domplate2 stuff
render: function(parentNode)
{
////////////
}
});
But this not working...... Second domplate is not rendering