Parent

Netzke::Basepack::SimpleApp

Basis for a Ext.Viewport-based one-page application

Features:

Public Instance Methods

configuration() click to toggle source
    # File lib/netzke/basepack/simple_app.rb, line 19
19:       def configuration
20:         super.merge(
21:           :items => [{
22:             :id => 'main-panel',
23:             :region => 'center',
24:             :layout => 'fit'
25:           },{
26:             :id => 'main-toolbar',
27:             :xtype => 'toolbar',
28:             :region => 'north',
29:             :height => 28,
30:             :items => menu
31:           },{
32:             :id => 'main-statusbar',
33:             :xtype => 'statusbar',
34:             :region => 'south',
35:             :height => 22,
36:             :statusAlign => 'right',
37:             :busyText => 'Busy...',
38:             :default_text => "Ready",
39:             :default_icon_cls => ""
40:           }]
41:         )
42:       end
js_component_html() click to toggle source

Html required for Ext.History to work

    # File lib/netzke/basepack/simple_app.rb, line 50
50:       def js_component_html
51:         super << %{
52:   <form id="history-form" class="x-hidden">
53:       <input type="hidden" id="x-history-field" />
54:       <iframe id="x-history-frame"></iframe>
55:   </form>
56:         }
57:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.