Sha256: c90eec72ddca2fd994b85e0cd8d271ae2b44868e0b468ab7f45c074a2d86e899

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

# Used in DynamicLoading
class WindowWithSimpleComponent < SimpleWindow
  js_configure do |c|
    c.layout = :fit
  end

  def configure(c)
    c.items = [:simple_component]
    super
  end

  component :simple_component do |c|
    c.title = "Simple Component Inside Window"
  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/window_with_simple_component.rb
netzke-core-0.8.3 test/core_test_app/app/components/window_with_simple_component.rb
netzke-core-0.8.2 test/core_test_app/app/components/window_with_simple_component.rb