On Wednesday, August 29, 2012 12:21:23 PM UTC+5:30, Malintha wrote:
>
> 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
>
> })
>
>
--
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug