Sha256: f22d57ce843ac0242884b7429971a41560e8f34f112cd5b4cf4f0af235f0162a

Contents?: true

Size: 514 Bytes

Versions: 3

Compression:

Stored size: 514 Bytes

Contents

class SimpleTabPanel < Netzke::Base
  js_configure do |c|
    c.extend = "Ext.tab.Panel"
    c.active_tab = 0
  end

  component :endpoints

  component :hello_world do |c|
    c.excluded = true
  end

  component :endpoints_extended

  component :simple_panel_one do |c|
    c.klass = SimplePanel
  end

  component :simple_panel_two do |c|
    c.klass = SimplePanel
  end

  def configure(c)
    c.items = [:endpoints, :hello_world, :endpoints_extended, :simple_panel_one, :simple_panel_two]
    super
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
netzke-core-0.8.4 test/core_test_app/app/components/simple_tab_panel.rb
netzke-core-0.8.3 test/core_test_app/app/components/simple_tab_panel.rb
netzke-core-0.8.2 test/core_test_app/app/components/simple_tab_panel.rb