Class: Netzke::Basepack::Wrapper

Inherits:
Netzke::Base
  • Object
show all
Defined in:
lib/netzke/basepack/wrapper.rb

Overview

Wrapper

Simple Ext.Panel with layout ‘fit’ that wraps up another Netzke component. Can be useful in HTML pages where a component should be dynamically configured, to not reload the entire page after configuration (Wrapper will reload the component automatically).

Configuration

  • :item - configuration hash for wrapped component

Example:

netzke :wrapper, :item => {
  :class_name => "FormPanel",
  :model => "User"
}