netzke-core 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. data/CHANGELOG.rdoc +9 -2
  2. data/Rakefile +10 -9
  3. data/javascripts/base.js +6 -3
  4. data/javascripts/ext.js +6 -21
  5. data/lib/netzke/core/version.rb +1 -1
  6. data/lib/netzke/javascript.rb +1 -1
  7. data/lib/netzke/railz/action_view_ext/ext.rb +1 -1
  8. data/netzke-core.gemspec +158 -152
  9. data/test/{rails_app → core_test_app}/.gitignore +0 -0
  10. data/test/core_test_app/.rvmrc +1 -0
  11. data/test/{rails_app → core_test_app}/Gemfile +1 -1
  12. data/test/{rails_app → core_test_app}/Gemfile.lock +55 -52
  13. data/test/{rails_app → core_test_app}/README +0 -0
  14. data/test/{rails_app → core_test_app}/Rakefile +0 -0
  15. data/test/{rails_app → core_test_app}/app/components/border_layout_panel.rb +0 -0
  16. data/test/core_test_app/app/components/card_component_loader.rb +25 -0
  17. data/test/{rails_app → core_test_app}/app/components/component_loader.rb +0 -0
  18. data/test/{rails_app → core_test_app}/app/components/component_with_actions.rb +0 -0
  19. data/test/{rails_app → core_test_app}/app/components/component_with_custom_css.rb +0 -0
  20. data/test/{rails_app → core_test_app}/app/components/component_with_custom_css/stylesheets/custom.css +0 -0
  21. data/test/{rails_app → core_test_app}/app/components/component_with_included_js.rb +0 -0
  22. data/test/{rails_app → core_test_app}/app/components/component_with_js_mixin.rb +0 -0
  23. data/test/{rails_app → core_test_app}/app/components/component_with_js_mixin/javascripts/component_with_js_mixin.js +0 -0
  24. data/test/{rails_app → core_test_app}/app/components/component_with_js_mixin/javascripts/extra_one.js +0 -0
  25. data/test/{rails_app → core_test_app}/app/components/component_with_js_mixin/javascripts/extra_two.js +0 -0
  26. data/test/{rails_app → core_test_app}/app/components/component_with_js_mixin/javascripts/method_set_one.js +0 -0
  27. data/test/{rails_app → core_test_app}/app/components/component_with_js_mixin/javascripts/method_set_two.js +0 -0
  28. data/test/{rails_app → core_test_app}/app/components/component_with_nested_through.rb +0 -0
  29. data/test/{rails_app → core_test_app}/app/components/component_with_session_persistence.rb +0 -0
  30. data/test/{rails_app → core_test_app}/app/components/deprecated/server_caller.rb +0 -0
  31. data/test/{rails_app → core_test_app}/app/components/dynamic_tab_panel.rb +0 -0
  32. data/test/{rails_app → core_test_app}/app/components/dynamic_tab_panel/javascripts/dynamic_tab_panel.js +0 -0
  33. data/test/{rails_app → core_test_app}/app/components/ext_direct/composite.rb +0 -0
  34. data/test/{rails_app → core_test_app}/app/components/ext_direct/details.rb +0 -0
  35. data/test/{rails_app → core_test_app}/app/components/ext_direct/selector.rb +0 -0
  36. data/test/{rails_app → core_test_app}/app/components/ext_direct/statistics.rb +0 -0
  37. data/test/{rails_app → core_test_app}/app/components/extended_component_with_actions.rb +0 -0
  38. data/test/{rails_app → core_test_app}/app/components/extended_component_with_js_mixin.rb +0 -0
  39. data/test/{rails_app → core_test_app}/app/components/extended_component_with_js_mixin/javascripts/some_method_set.js +0 -0
  40. data/test/{rails_app → core_test_app}/app/components/extended_localized_panel.rb +0 -0
  41. data/test/{rails_app → core_test_app}/app/components/extended_server_caller.rb +0 -0
  42. data/test/{rails_app → core_test_app}/app/components/hello_world_component.rb +0 -0
  43. data/test/{rails_app → core_test_app}/app/components/included.js +1 -1
  44. data/test/{rails_app → core_test_app}/app/components/kinda_complex_component.rb +0 -0
  45. data/test/{rails_app → core_test_app}/app/components/kinda_complex_component/basic_stuff.rb +0 -0
  46. data/test/{rails_app → core_test_app}/app/components/kinda_complex_component/extra_stuff.rb +0 -0
  47. data/test/{rails_app → core_test_app}/app/components/loader_of_component_with_custom_css.rb +0 -0
  48. data/test/{rails_app → core_test_app}/app/components/localized_panel.rb +0 -0
  49. data/test/core_test_app/app/components/multipane_component_loader.rb +42 -0
  50. data/test/{rails_app → core_test_app}/app/components/nested_component.rb +0 -0
  51. data/test/{rails_app → core_test_app}/app/components/panel_with_plugin.rb +0 -0
  52. data/test/{rails_app → core_test_app}/app/components/panel_with_tools.rb +0 -0
  53. data/test/{rails_app → core_test_app}/app/components/plugin_with_components.rb +0 -0
  54. data/test/{rails_app → core_test_app}/app/components/scoped_components/deep_scoped_components/some_deep_scoped_component.rb +0 -0
  55. data/test/{rails_app → core_test_app}/app/components/scoped_components/extended_scoped_component.rb +0 -0
  56. data/test/{rails_app → core_test_app}/app/components/scoped_components/some_scoped_component.rb +0 -0
  57. data/test/{rails_app → core_test_app}/app/components/server_caller.rb +1 -1
  58. data/test/{rails_app → core_test_app}/app/components/server_counter.rb +0 -0
  59. data/test/{rails_app → core_test_app}/app/components/simple_component.rb +0 -1
  60. data/test/{rails_app → core_test_app}/app/components/simple_panel.rb +0 -0
  61. data/test/{rails_app → core_test_app}/app/components/simple_tab_panel.rb +0 -0
  62. data/test/{rails_app → core_test_app}/app/components/simple_window.rb +0 -0
  63. data/test/{rails_app → core_test_app}/app/components/some_composite.rb +1 -2
  64. data/test/{rails_app → core_test_app}/app/components/some_ext_component.rb +0 -0
  65. data/test/{rails_app → core_test_app}/app/components/some_plugin.rb +0 -0
  66. data/test/{rails_app → core_test_app}/app/components/touch/hello_world_component.rb +0 -0
  67. data/test/{rails_app → core_test_app}/app/components/touch/server_caller.rb +0 -0
  68. data/test/{rails_app → core_test_app}/app/components/touch/simple_carousel.rb +0 -0
  69. data/test/{rails_app → core_test_app}/app/controllers/application_controller.rb +0 -0
  70. data/test/{rails_app → core_test_app}/app/controllers/components_controller.rb +0 -0
  71. data/test/{rails_app → core_test_app}/app/controllers/simple_rails_controller.rb +0 -0
  72. data/test/{rails_app → core_test_app}/app/controllers/touch_controller.rb +0 -0
  73. data/test/{rails_app → core_test_app}/app/controllers/welcome_controller.rb +0 -0
  74. data/test/{rails_app → core_test_app}/app/helpers/application_helper.rb +0 -0
  75. data/test/{rails_app → core_test_app}/app/helpers/touch_helper.rb +0 -0
  76. data/test/{rails_app → core_test_app}/app/views/components/panel_with_autoload.html.erb +0 -0
  77. data/test/{rails_app → core_test_app}/app/views/components/some_tab_panel.html.erb +2 -2
  78. data/test/{rails_app → core_test_app}/app/views/layouts/application.html.erb +0 -0
  79. data/test/{rails_app → core_test_app}/app/views/layouts/nested.html.erb +0 -0
  80. data/test/{rails_app → core_test_app}/app/views/layouts/touch.html.erb +0 -0
  81. data/test/{rails_app → core_test_app}/app/views/simple_rails/multiple_nested.html.erb +0 -0
  82. data/test/{rails_app → core_test_app}/app/views/simple_rails/multiple_of_different_class.html.erb +0 -0
  83. data/test/{rails_app → core_test_app}/app/views/simple_rails/multiple_of_same_class.html.erb +0 -0
  84. data/test/{rails_app → core_test_app}/config.ru +0 -0
  85. data/test/{rails_app → core_test_app}/config/application.rb +0 -0
  86. data/test/{rails_app → core_test_app}/config/boot.rb +0 -0
  87. data/test/{rails_app → core_test_app}/config/database.yml +0 -0
  88. data/test/{rails_app → core_test_app}/config/environment.rb +0 -0
  89. data/test/{rails_app → core_test_app}/config/environments/development.rb +1 -1
  90. data/test/{rails_app → core_test_app}/config/environments/production.rb +0 -0
  91. data/test/{rails_app → core_test_app}/config/environments/test.rb +0 -0
  92. data/test/{rails_app → core_test_app}/config/initializers/backtrace_silencers.rb +0 -0
  93. data/test/{rails_app → core_test_app}/config/initializers/inflections.rb +0 -0
  94. data/test/{rails_app → core_test_app}/config/initializers/mime_types.rb +0 -0
  95. data/test/{rails_app → core_test_app}/config/initializers/netzke.rb +0 -0
  96. data/test/{rails_app → core_test_app}/config/initializers/secret_token.rb +0 -0
  97. data/test/{rails_app → core_test_app}/config/initializers/session_store.rb +1 -1
  98. data/test/{rails_app → core_test_app}/config/locales/en.yml +0 -0
  99. data/test/{rails_app → core_test_app}/config/locales/es.yml +0 -0
  100. data/test/{rails_app → core_test_app}/config/routes.rb +0 -0
  101. data/test/{rails_app → core_test_app}/db/development_structure.sql +0 -0
  102. data/test/{rails_app → core_test_app}/db/migrate/20110110132720_create_netzke_component_states.rb +0 -0
  103. data/test/{rails_app → core_test_app}/db/schema.rb +0 -0
  104. data/test/{rails_app → core_test_app}/db/seeds.rb +0 -0
  105. data/test/{rails_app → core_test_app}/features/actions_and_tools.feature +0 -0
  106. data/test/{rails_app → core_test_app}/features/basic.feature +0 -0
  107. data/test/{rails_app → core_test_app}/features/client-server.feature +0 -0
  108. data/test/{rails_app → core_test_app}/features/complex_component.feature +0 -0
  109. data/test/{rails_app → core_test_app}/features/component.feature +0 -0
  110. data/test/{rails_app → core_test_app}/features/component_loader.feature +0 -0
  111. data/test/{rails_app → core_test_app}/features/composition.feature +0 -0
  112. data/test/{rails_app → core_test_app}/features/custom_css.feature +0 -0
  113. data/test/{rails_app → core_test_app}/features/ext.direct.feature +0 -0
  114. data/test/{rails_app → core_test_app}/features/file_inclusion.feature +0 -0
  115. data/test/{rails_app → core_test_app}/features/i18n.feature +0 -0
  116. data/test/{rails_app → core_test_app}/features/inheritance.feature +0 -0
  117. data/test/{rails_app → core_test_app}/features/js_include.feature +0 -0
  118. data/test/{rails_app → core_test_app}/features/nested_views.feature +0 -0
  119. data/test/{rails_app → core_test_app}/features/persistence.feature +0 -0
  120. data/test/{rails_app → core_test_app}/features/plugin.feature +0 -0
  121. data/test/{rails_app → core_test_app}/features/rails_views.feature +0 -0
  122. data/test/{rails_app → core_test_app}/features/scopes.feature +0 -0
  123. data/test/{rails_app → core_test_app}/features/step_definitions/custom_css_steps.rb +0 -0
  124. data/test/{rails_app → core_test_app}/features/step_definitions/generic_steps.rb +0 -0
  125. data/test/{rails_app → core_test_app}/features/step_definitions/touch_steps.rb +0 -0
  126. data/test/{rails_app → core_test_app}/features/step_definitions/web_steps.rb +0 -0
  127. data/test/{rails_app → core_test_app}/features/support/env.rb +0 -0
  128. data/test/{rails_app → core_test_app}/features/support/paths.rb +0 -0
  129. data/test/{rails_app → core_test_app}/features/touch.feature +0 -0
  130. data/test/{rails_app → core_test_app}/lib/tasks/.gitkeep +0 -0
  131. data/test/{rails_app → core_test_app}/public/404.html +0 -0
  132. data/test/{rails_app → core_test_app}/public/422.html +0 -0
  133. data/test/{rails_app → core_test_app}/public/500.html +0 -0
  134. data/test/{rails_app → core_test_app}/public/favicon.ico +0 -0
  135. data/test/{rails_app → core_test_app}/public/images/rails.png +0 -0
  136. data/test/{rails_app → core_test_app}/public/robots.txt +0 -0
  137. data/test/core_test_app/public/stylesheets/all.css +6982 -0
  138. data/test/{rails_app → core_test_app}/script/rails +0 -0
  139. data/test/{rails_app → core_test_app}/spec/component/actions_spec.rb +0 -0
  140. data/test/{rails_app → core_test_app}/spec/component/base_spec.rb +0 -0
  141. data/test/{rails_app → core_test_app}/spec/component/component_spec.rb +0 -0
  142. data/test/{rails_app → core_test_app}/spec/component/composition_spec.rb +0 -0
  143. data/test/{rails_app → core_test_app}/spec/component/configuration_spec.rb +0 -0
  144. data/test/{rails_app → core_test_app}/spec/component/javascript_spec.rb +0 -0
  145. data/test/{rails_app → core_test_app}/spec/component/state_spec.rb +0 -0
  146. data/test/{rails_app → core_test_app}/spec/core_ext_spec.rb +0 -0
  147. data/test/{rails_app → core_test_app}/spec/spec.opt +0 -0
  148. data/test/{rails_app → core_test_app}/spec/spec_helper.rb +0 -0
  149. data/test/{rails_app/vendor/plugins/.gitkeep → core_test_app/tmp/restart.txt} +0 -0
  150. data/test/core_test_app/vendor/plugins/.gitkeep +0 -0
  151. metadata +176 -179
File without changes
@@ -0,0 +1 @@
1
+ rvm 1.9.2
@@ -1,6 +1,6 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rails', '3.0.7'
3
+ gem 'rails', '~>3.0.10'
4
4
 
5
5
  # Bundle edge Rails instead:
6
6
  # gem 'rails', :git => 'git://github.com/rails/rails.git'
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: vendor/gems/netzke-persistence
3
3
  specs:
4
- netzke-persistence (0.2.0)
4
+ netzke-persistence (0.1.0)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
8
8
  specs:
9
9
  abstract (1.0.0)
10
- actionmailer (3.0.7)
11
- actionpack (= 3.0.7)
12
- mail (~> 2.2.15)
13
- actionpack (3.0.7)
14
- activemodel (= 3.0.7)
15
- activesupport (= 3.0.7)
10
+ actionmailer (3.0.10)
11
+ actionpack (= 3.0.10)
12
+ mail (~> 2.2.19)
13
+ actionpack (3.0.10)
14
+ activemodel (= 3.0.10)
15
+ activesupport (= 3.0.10)
16
16
  builder (~> 2.1.2)
17
17
  erubis (~> 2.6.6)
18
18
  i18n (~> 0.5.0)
@@ -20,82 +20,83 @@ GEM
20
20
  rack-mount (~> 0.6.14)
21
21
  rack-test (~> 0.5.7)
22
22
  tzinfo (~> 0.3.23)
23
- activemodel (3.0.7)
24
- activesupport (= 3.0.7)
23
+ activemodel (3.0.10)
24
+ activesupport (= 3.0.10)
25
25
  builder (~> 2.1.2)
26
26
  i18n (~> 0.5.0)
27
- activerecord (3.0.7)
28
- activemodel (= 3.0.7)
29
- activesupport (= 3.0.7)
30
- arel (~> 2.0.2)
27
+ activerecord (3.0.10)
28
+ activemodel (= 3.0.10)
29
+ activesupport (= 3.0.10)
30
+ arel (~> 2.0.10)
31
31
  tzinfo (~> 0.3.23)
32
- activeresource (3.0.7)
33
- activemodel (= 3.0.7)
34
- activesupport (= 3.0.7)
35
- activesupport (3.0.7)
32
+ activeresource (3.0.10)
33
+ activemodel (= 3.0.10)
34
+ activesupport (= 3.0.10)
35
+ activesupport (3.0.10)
36
+ addressable (2.2.6)
36
37
  arel (2.0.10)
37
38
  builder (2.1.2)
38
- capybara (1.0.0)
39
+ capybara (1.0.1)
39
40
  mime-types (>= 1.16)
40
41
  nokogiri (>= 1.3.3)
41
42
  rack (>= 1.0.0)
42
43
  rack-test (>= 0.5.4)
43
- selenium-webdriver (~> 0.2.0)
44
+ selenium-webdriver (~> 2.0)
44
45
  xpath (~> 0.1.4)
45
- childprocess (0.1.9)
46
+ childprocess (0.2.2)
46
47
  ffi (~> 1.0.6)
47
- configuration (1.3.1)
48
- cucumber (1.0.0)
48
+ cucumber (1.0.2)
49
49
  builder (>= 2.1.2)
50
50
  diff-lcs (>= 1.1.2)
51
- gherkin (~> 2.4.1)
51
+ gherkin (~> 2.4.5)
52
52
  json (>= 1.4.6)
53
53
  term-ansicolor (>= 1.0.5)
54
- cucumber-rails (1.0.0)
54
+ cucumber-rails (1.0.2)
55
55
  capybara (>= 1.0.0)
56
56
  cucumber (~> 1.0.0)
57
- nokogiri (>= 1.4.4)
58
- rack-test (>= 0.5.7)
57
+ nokogiri (>= 1.4.6)
59
58
  database_cleaner (0.6.7)
60
- diff-lcs (1.1.2)
59
+ diff-lcs (1.1.3)
61
60
  erubis (2.6.6)
62
61
  abstract (>= 1.0.0)
63
62
  ffi (1.0.9)
64
- gherkin (2.4.1)
63
+ gherkin (2.4.16)
65
64
  json (>= 1.4.6)
66
65
  i18n (0.5.0)
67
- json (1.5.3)
68
- json_pure (1.5.3)
69
- launchy (0.4.0)
70
- configuration (>= 0.0.5)
71
- rake (>= 0.8.1)
66
+ json (1.5.4)
67
+ json_pure (1.5.4)
68
+ spruz (~> 0.2.8)
69
+ launchy (2.0.5)
70
+ addressable (~> 2.2.6)
72
71
  mail (2.2.19)
73
72
  activesupport (>= 2.3.6)
74
73
  i18n (>= 0.4.0)
75
74
  mime-types (~> 1.16)
76
75
  treetop (~> 1.4.8)
77
76
  mime-types (1.16)
78
- nokogiri (1.4.6)
79
- polyglot (0.3.1)
77
+ nokogiri (1.5.0)
78
+ polyglot (0.3.2)
80
79
  rack (1.2.3)
81
80
  rack-mount (0.6.14)
82
81
  rack (>= 1.0.0)
83
82
  rack-test (0.5.7)
84
83
  rack (>= 1.0)
85
- rails (3.0.7)
86
- actionmailer (= 3.0.7)
87
- actionpack (= 3.0.7)
88
- activerecord (= 3.0.7)
89
- activeresource (= 3.0.7)
90
- activesupport (= 3.0.7)
84
+ rails (3.0.10)
85
+ actionmailer (= 3.0.10)
86
+ actionpack (= 3.0.10)
87
+ activerecord (= 3.0.10)
88
+ activeresource (= 3.0.10)
89
+ activesupport (= 3.0.10)
91
90
  bundler (~> 1.0)
92
- railties (= 3.0.7)
93
- railties (3.0.7)
94
- actionpack (= 3.0.7)
95
- activesupport (= 3.0.7)
91
+ railties (= 3.0.10)
92
+ railties (3.0.10)
93
+ actionpack (= 3.0.10)
94
+ activesupport (= 3.0.10)
96
95
  rake (>= 0.8.7)
96
+ rdoc (~> 3.4)
97
97
  thor (~> 0.14.4)
98
98
  rake (0.9.2)
99
+ rdoc (3.9.4)
99
100
  rspec (2.6.0)
100
101
  rspec-core (~> 2.6.0)
101
102
  rspec-expectations (~> 2.6.0)
@@ -110,20 +111,22 @@ GEM
110
111
  railties (~> 3.0)
111
112
  rspec (~> 2.6.0)
112
113
  rubyzip (0.9.4)
113
- selenium-webdriver (0.2.2)
114
- childprocess (>= 0.1.9)
114
+ selenium-webdriver (2.5.0)
115
+ childprocess (>= 0.2.1)
115
116
  ffi (>= 1.0.7)
116
117
  json_pure
117
118
  rubyzip
118
119
  spork (0.8.5)
119
- sqlite3 (1.3.3)
120
+ spruz (0.2.13)
121
+ sqlite3 (1.3.4)
120
122
  sqlite3-ruby (1.3.3)
121
123
  sqlite3 (>= 1.3.3)
122
- term-ansicolor (1.0.5)
124
+ term-ansicolor (1.0.6)
123
125
  thor (0.14.6)
124
- treetop (1.4.9)
126
+ treetop (1.4.10)
127
+ polyglot
125
128
  polyglot (>= 0.3.1)
126
- tzinfo (0.3.28)
129
+ tzinfo (0.3.29)
127
130
  xpath (0.1.4)
128
131
  nokogiri (~> 1.3)
129
132
 
@@ -137,7 +140,7 @@ DEPENDENCIES
137
140
  database_cleaner
138
141
  launchy
139
142
  netzke-persistence!
140
- rails (= 3.0.7)
143
+ rails (~> 3.0.10)
141
144
  rspec-rails
142
145
  spork
143
146
  sqlite3-ruby
File without changes
File without changes
@@ -0,0 +1,25 @@
1
+ class CardComponentLoader < Netzke::Base
2
+ js_property :layout, :card
3
+
4
+ action :load_server_caller
5
+ action :load_extended_server_caller
6
+
7
+ js_property :bbar, [:load_server_caller.action, :load_extended_server_caller.action]
8
+
9
+ component :server_caller
10
+ component :extended_server_caller
11
+
12
+ js_method :on_load_server_caller, <<-JS
13
+ function(){
14
+ var existing = this.items.findBy(function(i){ return i.getId() == this.getId() + "__server_caller"}, this);
15
+ if (existing) this.getLayout().setActiveItem(existing); else this.loadNetzkeComponent({name: 'server_caller', container: this, append: true, callback: function(el){this.getLayout().setActiveItem(el)}, scope: this});
16
+ }
17
+ JS
18
+
19
+ js_method :on_load_extended_server_caller, <<-JS
20
+ function(){
21
+ var existing = this.items.findBy(function(i){ return i.getId() == this.getId() + "__extended_server_caller"}, this);
22
+ if (existing) this.getLayout().setActiveItem(existing); else this.loadNetzkeComponent({name: 'extended_server_caller', container: this, append: true, callback: function(el){this.getLayout().setActiveItem(el)}, scope: this});
23
+ }
24
+ JS
25
+ end
@@ -1,4 +1,4 @@
1
- Netzke.ComponentWithIncludedJs = Ext.extend(Ext.Panel, {
1
+ Netzke.ComponentWithIncludedJs = Ext.extend(Ext.panel.Panel, {
2
2
  updateBodyWithMessage: function(message) {
3
3
  this.body.update(message);
4
4
  }
@@ -0,0 +1,42 @@
1
+ class MultipaneComponentLoader < Netzke::Base
2
+ js_property :layout, {:type => :hbox, :align => :stretch}
3
+ js_property :prevent_header, true
4
+
5
+ action :load_server_caller, :handler => :load_handler
6
+ action :load_component_loader, :handler => :load_handler
7
+
8
+ def default_config
9
+ super.tap do |c|
10
+ c[:items] = [{
11
+ :title => "Container One",
12
+ :xtype => :panel,
13
+ :height => 200,
14
+ :flex => 1,
15
+ :border => true,
16
+ :bbar => [:load_server_caller.action, :load_component_loader.action],
17
+ :layout => :fit
18
+ },{
19
+ :title => "Container Two",
20
+ :xtype => :panel,
21
+ :height => 200,
22
+ :flex => 1,
23
+ :layout => :fit
24
+ }]
25
+ end
26
+ end
27
+
28
+ component :server_caller
29
+
30
+ js_method :load_handler, <<-JS
31
+ function(button){
32
+ var container = button.ownerCt.ownerCt;
33
+ this.loadNetzkeComponent({name: 'server_caller', container: container});
34
+ }
35
+ JS
36
+
37
+ def deliver_component_endpoint(params)
38
+ sleep 1 # for visual evaluation
39
+ super
40
+ end
41
+
42
+ end
@@ -4,7 +4,7 @@ class ServerCaller < Netzke::Base
4
4
  js_properties(
5
5
  :title => "Server Caller",
6
6
  :html => "Wow",
7
- :tbar => [:bug_server.action] # TODO: used to be bbar, but Ext 4.0.2 has problems with rendering it!
7
+ :bbar => [:bug_server.action] # TODO: used to be bbar, but Ext 4.0.2 has problems with rendering it!
8
8
  )
9
9
 
10
10
  js_method :on_bug_server, <<-JS
@@ -4,4 +4,3 @@ class SimpleComponent < Netzke::Base
4
4
 
5
5
  # component :one, :class_name => "SimplePanel", :title => "One"
6
6
  end
7
-
@@ -1,6 +1,5 @@
1
1
  class SomeComposite < Netzke::Base
2
- js_properties :title => "Static Composite",
3
- :height => 400,
2
+ js_properties :height => 400,
4
3
  :layout => 'border',
5
4
  :bbar => [
6
5
  :update_west_panel.action,