Malintha
unread,Aug 29, 2012, 2:51:23 AM8/29/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
})