Module: Netzke::Basepack

Defined in:
lib/netzke-basepack.rb,
lib/netzke/basepack.rb,
lib/netzke/basepack/panel.rb,
lib/netzke/basepack/window.rb,
lib/netzke/basepack/version.rb,
lib/netzke/basepack/wrapper.rb,
lib/netzke/basepack/auth_app.rb,
lib/netzke/basepack/basic_app.rb,
lib/netzke/basepack/tab_panel.rb,
lib/netzke/basepack/form_panel.rb,
lib/netzke/basepack/grid_panel.rb,
lib/netzke/basepack/simple_app.rb,
lib/netzke/basepack/search_panel.rb,
lib/netzke/basepack/action_column.rb,
lib/netzke/basepack/data_accessor.rb,
lib/netzke/basepack/query_builder.rb,
lib/netzke/basepack/search_window.rb,
lib/netzke/basepack/accordion_panel.rb,
lib/netzke/basepack/wrap_lazy_loaded.rb,
lib/netzke/basepack/form_panel/fields.rb,
lib/netzke/basepack/paging_form_panel.rb,
lib/netzke/basepack/grid_panel/columns.rb,
lib/netzke/basepack/border_layout_panel.rb,
lib/netzke/basepack/form_panel/services.rb,
lib/netzke/basepack/grid_panel/services.rb,
lib/netzke/basepack/grid_panel/record_form_window.rb

Defined Under Namespace

Modules: ActionColumn, DataAccessor, DataAdapters, Version, WrapLazyLoaded Classes: AccordionPanel, AuthApp, BasicApp, BorderLayoutPanel, Engine, FormPanel, GridPanel, PagingFormPanel, Panel, QueryBuilder, SearchPanel, SearchWindow, SimpleApp, TabPanel, Window, Wrapper

Class Method Summary collapse

Class Method Details

.initObject

Called from netzke-basepack.rb



27
28
29
30
31
32
# File 'lib/netzke/basepack.rb', line 27

def init
  Netzke::Core.ext_javascripts << "#{File.dirname(__FILE__)}/../../javascripts/xdatetime.js"
  Netzke::Core.ext_javascripts << "#{File.dirname(__FILE__)}/../../javascripts/basepack.js"

  Netzke::Core.ext_stylesheets << "#{File.dirname(__FILE__)}/../../stylesheets/basepack.css"
end

.setup {|_self| ... } ⇒ Object

Use it to confirure Basepack in the initializers, e.g.:

Netzke::Basepack.setup do |config|
  config.icons_uri = "/images/famfamfam/icons"
end

Yields:

  • (_self)

Yield Parameters:



39
40
41
# File 'lib/netzke/basepack.rb', line 39

def setup
  yield self
end