module Netzke # The following methods are used when a component is generated stand-alone (as a part of a HTML page) module Embedding # Instantiating def js_component_instance %Q{Netzke.page.#{name.jsonify} = Ext.create(#{js_config.to_nifty_json});} end # Rendering def js_component_render %Q{Netzke.page.#{name.jsonify}.render("#{name.to_s.split('_').join('-')}-netzke");} unless self.class.js_xtype == "netzkewindow" end # Container for rendering def js_component_html %Q{
} end end end