netzke-core 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +16 -1
- data/Gemfile +12 -0
- data/README.md +22 -15
- data/Rakefile +19 -38
- data/app/controllers/netzke_controller.rb +1 -79
- data/javascripts/ext.js +17 -13
- data/lib/netzke/base.rb +6 -2
- data/lib/netzke/core/action_config.rb +7 -0
- data/lib/netzke/core/actions.rb +6 -32
- data/lib/netzke/core/client_class.rb +1 -1
- data/lib/netzke/core/component_config.rb +1 -1
- data/lib/netzke/core/composition.rb +17 -111
- data/lib/netzke/core/config_to_dsl_delegator.rb +0 -7
- data/lib/netzke/core/configuration.rb +48 -0
- data/lib/netzke/core/dsl_support.rb +71 -0
- data/lib/netzke/core/dynamic_assets.rb +10 -1
- data/lib/netzke/core/embedding.rb +2 -2
- data/lib/netzke/core/html.rb +29 -0
- data/lib/netzke/core/javascript.rb +32 -26
- data/lib/netzke/core/railz/action_view_ext/ext.rb +2 -2
- data/lib/netzke/core/railz/controller_extensions.rb +96 -3
- data/lib/netzke/core/railz/routes.rb +14 -3
- data/lib/netzke/core/ruby_ext/array.rb +4 -18
- data/lib/netzke/core/ruby_ext/hash.rb +19 -25
- data/lib/netzke/core/ruby_ext/time_with_zone.rb +1 -1
- data/lib/netzke/core/ruby_ext.rb +0 -2
- data/lib/netzke/core/session.rb +8 -1
- data/lib/netzke/core/state.rb +3 -3
- data/lib/netzke/core/version.rb +1 -1
- data/lib/netzke/core.rb +15 -7
- data/lib/netzke-core.rb +2 -9
- data/tasks/app_test_tasks.rake +94 -0
- data/tasks/rake_helper.rb +51 -0
- data/test/core_test_app/README +2 -2
- data/test/core_test_app/app/assets/javascripts/expect/expect.js +1253 -0
- data/test/core_test_app/app/assets/javascripts/mocha/mocha.js +5340 -0
- data/test/core_test_app/app/assets/stylesheets/mocha/mocha.css +231 -0
- data/test/core_test_app/app/components/{component_with_actions.rb → actions.rb} +7 -9
- data/test/core_test_app/app/components/{some_composite.rb → composition.rb} +16 -5
- data/test/core_test_app/app/components/{component_with_custom_css → css_inclusion}/stylesheets/custom.css +2 -2
- data/test/core_test_app/app/components/css_inclusion.rb +12 -0
- data/test/core_test_app/app/components/{component_loader/javascripts/component_loader.js → dynamic_loading/javascripts/dynamic_loading.js} +9 -1
- data/test/core_test_app/app/components/{component_loader.rb → dynamic_loading.rb} +12 -5
- data/test/core_test_app/app/components/{server_caller/javascripts/server_caller.js → endpoints/javascripts/endpoints.js} +10 -6
- data/test/core_test_app/app/components/{server_caller.rb → endpoints.rb} +12 -8
- data/test/core_test_app/app/components/{extended_server_caller.rb → endpoints_extended.rb} +6 -4
- data/test/core_test_app/app/components/ext_direct/composite.rb +5 -1
- data/test/core_test_app/app/components/feedback.rb +26 -0
- data/test/core_test_app/app/components/haml_panel/html/body.html.haml +10 -0
- data/test/core_test_app/app/components/haml_panel/html/server_response.html.haml +3 -0
- data/test/core_test_app/app/components/haml_panel.rb +32 -0
- data/test/core_test_app/app/components/hello_world.rb +1 -0
- data/test/core_test_app/app/components/js_inclusion/javascripts/extra_one.js +2 -0
- data/test/core_test_app/app/components/js_inclusion/javascripts/extra_two.js +2 -0
- data/test/core_test_app/app/components/js_inclusion/javascripts/js_inclusion.js +5 -0
- data/test/core_test_app/app/components/{component_with_js_mixin → js_inclusion}/javascripts/method_set_one.js +0 -0
- data/test/core_test_app/app/components/{component_with_js_mixin → js_inclusion}/javascripts/method_set_two.js +0 -0
- data/test/core_test_app/app/components/{component_with_js_mixin.rb → js_inclusion.rb} +3 -3
- data/test/core_test_app/app/components/js_inclusion_extended/javascripts/some_method_set.js +5 -0
- data/test/core_test_app/app/components/js_inclusion_extended.rb +6 -0
- data/test/core_test_app/app/components/loaded_css_inclusion.rb +22 -0
- data/test/core_test_app/app/components/{localized_panel.rb → localization.rb} +5 -5
- data/test/core_test_app/app/components/localization_extended.rb +2 -0
- data/test/core_test_app/app/components/persistence.rb +60 -0
- data/test/core_test_app/app/components/persistence_with_shared_state.rb +7 -0
- data/test/core_test_app/app/components/plugin_with_actions.rb +24 -0
- data/test/core_test_app/app/components/plugin_with_components.rb +3 -3
- data/test/core_test_app/app/components/plugin_with_endpoints.rb +29 -0
- data/test/core_test_app/app/components/plugins.rb +9 -0
- data/test/core_test_app/app/components/{kinda_complex_component → ruby_modules}/basic_stuff.rb +1 -1
- data/test/core_test_app/app/components/{kinda_complex_component → ruby_modules}/extra_stuff.rb +3 -3
- data/test/core_test_app/app/components/{kinda_complex_component.rb → ruby_modules.rb} +1 -1
- data/test/core_test_app/app/components/scoped/deeply_scoped/scoping.rb +10 -0
- data/test/core_test_app/app/components/scoped/scoping.rb +8 -0
- data/test/core_test_app/app/components/scoped/scoping_extended.rb +8 -0
- data/test/core_test_app/app/components/self_reloading.rb +25 -0
- data/test/core_test_app/app/components/server_counter/javascripts/server_counter.js +4 -4
- data/test/core_test_app/app/components/server_counter.rb +10 -10
- data/test/core_test_app/app/components/simple_authentication_component.rb +1 -0
- data/test/core_test_app/app/components/simple_component.rb +0 -4
- data/test/core_test_app/app/components/simple_composite.rb +1 -1
- data/test/core_test_app/app/components/simple_form_with_file_upload.rb +1 -2
- data/test/core_test_app/app/components/simple_tab_panel.rb +5 -3
- data/test/core_test_app/app/components/{panel_with_tools.rb → tools.rb} +3 -3
- data/test/core_test_app/app/components/window_with_simple_component.rb +1 -0
- data/test/core_test_app/app/controllers/alternative_controller.rb +10 -0
- data/test/core_test_app/app/controllers/specs_controller.rb +11 -0
- data/test/core_test_app/app/views/layouts/application.html.erb +19 -1
- data/test/core_test_app/app/views/simple_rails/multiple_nested.html.erb +2 -2
- data/test/core_test_app/config/boot.rb +3 -10
- data/test/core_test_app/config/environments/development.rb +1 -0
- data/test/core_test_app/config/initializers/netzke.rb +4 -1
- data/test/core_test_app/config/locales/en.yml +11 -4
- data/test/core_test_app/config/locales/es.yml +1 -4
- data/test/core_test_app/config/routes.rb +10 -1
- data/test/core_test_app/core_test_app.tmproj +254 -0
- data/test/core_test_app/db/development.sqlite3 +0 -0
- data/test/core_test_app/{lib/tasks/.gitkeep → db/test.sqlite3} +0 -0
- data/test/core_test_app/log/development.log +78046 -0
- data/test/core_test_app/log/production.log +18 -0
- data/test/core_test_app/log/test.log +120048 -0
- data/test/core_test_app/rails_app.tmproj +324 -0
- data/test/core_test_app/tmp/cache/assets/C8B/BF0/sprockets%2F54de2792b036d1dab855f88599503551 +0 -0
- data/test/core_test_app/tmp/cache/assets/C92/5A0/sprockets%2F39e75754782ee12179bf35c9a0971d80 +0 -0
- data/test/core_test_app/tmp/cache/assets/C99/720/sprockets%2F981d5a1b957a012e380b22011a6d176d +0 -0
- data/test/core_test_app/tmp/cache/assets/C9F/750/sprockets%2F20ce3d64040a5d3a0a8883bd60754356 +0 -0
- data/test/core_test_app/tmp/cache/assets/CC4/C00/sprockets%2Fc615df52887d8c2e67e8413576a419c5 +0 -0
- data/test/core_test_app/tmp/cache/assets/CF1/3F0/sprockets%2Fc69ee42924fab565a3533d56473ce878 +0 -0
- data/test/core_test_app/tmp/cache/assets/D0E/870/sprockets%2Fa593bf4fac106add88c9434141a49663 +0 -0
- data/test/core_test_app/tmp/cache/assets/D14/8E0/sprockets%2F20748e8d1d7d090d122904a9fe6f18fc +0 -0
- data/test/core_test_app/tmp/cache/assets/D3E/DA0/sprockets%2Fa175f1ac5996544b908ba3ba3f64c4f3 +0 -0
- data/test/core_test_app/tmp/cache/assets/D43/C00/sprockets%2F7bc60c758776356d615ab5edff201ee2 +0 -0
- data/test/core_test_app/tmp/cache/assets/D4B/C50/sprockets%2F8483b7e322da338e8f9eb3b30a957e9a +0 -0
- data/test/core_test_app/tmp/cache/assets/D64/090/sprockets%2F5a01ff309c3f2503eb5e4f5667cca4b3 +0 -0
- data/test/core_test_app/tmp/cache/assets/D8B/FB0/sprockets%2F7a86225caaa389f1be600b4f3a2d1ef0 +0 -0
- data/test/core_test_app/tmp/cache/assets/D98/9C0/sprockets%2F18b80e8fe200aebc522e561a867ea6fb +0 -0
- data/test/core_test_app/tmp/cache/assets/DB0/6E0/sprockets%2F03e33f5a4779eeb48bcfc86ee717fb55 +0 -0
- data/test/core_test_app/tmp/cache/assets/DED/7E0/sprockets%2Feaedd52ba538f19e4ab543a3e20ce2c4 +0 -0
- data/test/core_test_app/tmp/cache/assets/E07/FF0/sprockets%2Fb3c071e0a6de36f041adbbdaa8ab060b +0 -0
- data/test/core_test_app/tmp/capybara/capybara-20101214105940.html +40 -0
- data/test/core_test_app/tmp/capybara/capybara-20101214110642.html +40 -0
- data/test/core_test_app/tmp/capybara/capybara-20101214110749.html +40 -0
- data/test/core_test_app/tmp/capybara/capybara-20101214110750.html +40 -0
- data/test/core_test_app/tmp/capybara/capybara-20101214111025.html +40 -0
- data/test/core_test_app/tmp/capybara/capybara-20101214111027.html +40 -0
- data/test/core_test_app/tmp/capybara/capybara-20101214111213.html +40 -0
- data/test/core_test_app/tmp/capybara/capybara-20101214111214.html +40 -0
- data/test/core_test_app/tmp/capybara/capybara-20101214111332.html +40 -0
- data/test/core_test_app/tmp/capybara/capybara-20101214111333.html +40 -0
- data/test/core_test_app/{spec/component → tmp/pids/passenger.3000.pid.lock} +0 -0
- metadata +370 -133
- data/.autotest +0 -1
- data/.travis.yml +0 -18
- data/Manifest +0 -50
- data/config/ci/before-travis.sh +0 -10
- data/install.rb +0 -1
- data/lib/netzke/core/options_hash.rb +0 -27
- data/lib/netzke/core/ruby_ext/string.rb +0 -26
- data/lib/netzke/core/ruby_ext/symbol.rb +0 -13
- data/netzke-core.gemspec +0 -253
- data/test/core_test_app/.gitignore +0 -4
- data/test/core_test_app/.powrc +0 -4
- data/test/core_test_app/.rvmrc +0 -1
- data/test/core_test_app/Gemfile +0 -19
- data/test/core_test_app/Gemfile.lock +0 -147
- data/test/core_test_app/app/components/border_layout_panel.rb +0 -4
- data/test/core_test_app/app/components/card_component_loader.rb +0 -25
- data/test/core_test_app/app/components/component_with_custom_css.rb +0 -11
- data/test/core_test_app/app/components/component_with_js_mixin/javascripts/component_with_js_mixin.js +0 -5
- data/test/core_test_app/app/components/component_with_js_mixin/javascripts/extra_one.js +0 -2
- data/test/core_test_app/app/components/component_with_js_mixin/javascripts/extra_two.js +0 -2
- data/test/core_test_app/app/components/component_with_nested_through.rb +0 -28
- data/test/core_test_app/app/components/component_with_required_js.rb +0 -24
- data/test/core_test_app/app/components/dsl_delegated_properties.rb +0 -4
- data/test/core_test_app/app/components/dsl_delegated_properties_base.rb +0 -5
- data/test/core_test_app/app/components/extended_component_with_actions.rb +0 -9
- data/test/core_test_app/app/components/extended_component_with_js_mixin/javascripts/some_method_set.js +0 -5
- data/test/core_test_app/app/components/extended_component_with_js_mixin.rb +0 -10
- data/test/core_test_app/app/components/extended_localized_panel.rb +0 -2
- data/test/core_test_app/app/components/included.js +0 -5
- data/test/core_test_app/app/components/inline_composite.rb +0 -13
- data/test/core_test_app/app/components/loader_of_component_with_custom_css.rb +0 -23
- data/test/core_test_app/app/components/multipane_component_loader.rb +0 -41
- data/test/core_test_app/app/components/nested_component.rb +0 -17
- data/test/core_test_app/app/components/panel_with_plugin.rb +0 -9
- data/test/core_test_app/app/components/scoped_components/deep_scoped_components/some_deep_scoped_component.rb +0 -10
- data/test/core_test_app/app/components/scoped_components/extended_scoped_component.rb +0 -8
- data/test/core_test_app/app/components/scoped_components/some_scoped_component.rb +0 -8
- data/test/core_test_app/app/components/some_ext_component.rb +0 -8
- data/test/core_test_app/app/components/some_plugin.rb +0 -40
- data/test/core_test_app/app/components/stateful_component.rb +0 -46
- data/test/core_test_app/app/components/stateful_component_with_shared_state.rb +0 -11
- data/test/core_test_app/config/database.yml.travis +0 -11
- data/test/core_test_app/db/schema.rb +0 -29
- data/test/core_test_app/features/actions_and_tools.feature +0 -22
- data/test/core_test_app/features/basic.feature +0 -7
- data/test/core_test_app/features/client-server.feature +0 -19
- data/test/core_test_app/features/complex_component.feature +0 -18
- data/test/core_test_app/features/component.feature +0 -10
- data/test/core_test_app/features/component_loader.feature +0 -52
- data/test/core_test_app/features/composition.feature +0 -45
- data/test/core_test_app/features/config_to_dsl_delegation.feature +0 -10
- data/test/core_test_app/features/custom_css.feature +0 -17
- data/test/core_test_app/features/ext.direct.feature +0 -32
- data/test/core_test_app/features/file_inclusion.feature +0 -10
- data/test/core_test_app/features/i18n.feature +0 -35
- data/test/core_test_app/features/inheritance.feature +0 -18
- data/test/core_test_app/features/js_include.feature +0 -20
- data/test/core_test_app/features/nested_views.feature +0 -10
- data/test/core_test_app/features/persistence.feature +0 -34
- data/test/core_test_app/features/plugin.feature +0 -16
- data/test/core_test_app/features/rails_views.feature +0 -16
- data/test/core_test_app/features/scopes.feature +0 -14
- data/test/core_test_app/features/step_definitions/custom_css_steps.rb +0 -7
- data/test/core_test_app/features/step_definitions/generic_steps.rb +0 -64
- data/test/core_test_app/features/step_definitions/web_steps.rb +0 -219
- data/test/core_test_app/features/support/env.rb +0 -58
- data/test/core_test_app/features/support/paths.rb +0 -42
- data/test/core_test_app/spec/action_config_spec.rb +0 -15
- data/test/core_test_app/spec/actions_spec.rb +0 -96
- data/test/core_test_app/spec/base_spec.rb +0 -35
- data/test/core_test_app/spec/client_class_spec.rb +0 -17
- data/test/core_test_app/spec/composition_spec.rb +0 -118
- data/test/core_test_app/spec/core_ext_spec.rb +0 -27
- data/test/core_test_app/spec/endpoint_response_spec.rb +0 -17
- data/test/core_test_app/spec/javascript_spec.rb +0 -33
- data/test/core_test_app/spec/js_class_config_scope.rb +0 -37
- data/test/core_test_app/spec/panel_spec.rb +0 -11
- data/test/core_test_app/spec/services_spec.rb +0 -16
- data/test/core_test_app/spec/spec.opt +0 -2
- data/test/core_test_app/spec/spec_helper.rb +0 -27
- data/test/core_test_app/spec/state_spec.rb +0 -20
- data/test/core_test_app/vendor/plugins/.gitkeep +0 -0
- data/test/unit/core_ext_test.rb +0 -8
- data/test/unit/netzke_core_test.rb +0 -178
- data/uninstall.rb +0 -1
@@ -0,0 +1,324 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>currentDocument</key>
|
6
|
+
<string>app/components/loader_of_component_with_custom_css.rb</string>
|
7
|
+
<key>documents</key>
|
8
|
+
<array>
|
9
|
+
<dict>
|
10
|
+
<key>expanded</key>
|
11
|
+
<true/>
|
12
|
+
<key>name</key>
|
13
|
+
<string>rails_app</string>
|
14
|
+
<key>regexFolderFilter</key>
|
15
|
+
<string>!.*/(\.[^/]*|CVS|log|tmp|sencha-touch|extjs|netzke-persistence|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
|
16
|
+
<key>sourceDirectory</key>
|
17
|
+
<string></string>
|
18
|
+
</dict>
|
19
|
+
</array>
|
20
|
+
<key>fileHierarchyDrawerWidth</key>
|
21
|
+
<integer>490</integer>
|
22
|
+
<key>metaData</key>
|
23
|
+
<dict>
|
24
|
+
<key>Rakefile</key>
|
25
|
+
<dict>
|
26
|
+
<key>caret</key>
|
27
|
+
<dict>
|
28
|
+
<key>column</key>
|
29
|
+
<integer>0</integer>
|
30
|
+
<key>line</key>
|
31
|
+
<integer>0</integer>
|
32
|
+
</dict>
|
33
|
+
<key>columnSelection</key>
|
34
|
+
<false/>
|
35
|
+
<key>firstVisibleColumn</key>
|
36
|
+
<integer>0</integer>
|
37
|
+
<key>firstVisibleLine</key>
|
38
|
+
<integer>0</integer>
|
39
|
+
<key>selectFrom</key>
|
40
|
+
<dict>
|
41
|
+
<key>column</key>
|
42
|
+
<integer>0</integer>
|
43
|
+
<key>line</key>
|
44
|
+
<integer>0</integer>
|
45
|
+
</dict>
|
46
|
+
<key>selectTo</key>
|
47
|
+
<dict>
|
48
|
+
<key>column</key>
|
49
|
+
<integer>0</integer>
|
50
|
+
<key>line</key>
|
51
|
+
<integer>7</integer>
|
52
|
+
</dict>
|
53
|
+
</dict>
|
54
|
+
<key>app/components/card_component_loader.rb</key>
|
55
|
+
<dict>
|
56
|
+
<key>caret</key>
|
57
|
+
<dict>
|
58
|
+
<key>column</key>
|
59
|
+
<integer>0</integer>
|
60
|
+
<key>line</key>
|
61
|
+
<integer>0</integer>
|
62
|
+
</dict>
|
63
|
+
<key>firstVisibleColumn</key>
|
64
|
+
<integer>0</integer>
|
65
|
+
<key>firstVisibleLine</key>
|
66
|
+
<integer>0</integer>
|
67
|
+
</dict>
|
68
|
+
<key>app/components/loader_of_component_with_custom_css.rb</key>
|
69
|
+
<dict>
|
70
|
+
<key>caret</key>
|
71
|
+
<dict>
|
72
|
+
<key>column</key>
|
73
|
+
<integer>0</integer>
|
74
|
+
<key>line</key>
|
75
|
+
<integer>0</integer>
|
76
|
+
</dict>
|
77
|
+
<key>firstVisibleColumn</key>
|
78
|
+
<integer>0</integer>
|
79
|
+
<key>firstVisibleLine</key>
|
80
|
+
<integer>0</integer>
|
81
|
+
</dict>
|
82
|
+
<key>app/components/localized_panel.rb</key>
|
83
|
+
<dict>
|
84
|
+
<key>caret</key>
|
85
|
+
<dict>
|
86
|
+
<key>column</key>
|
87
|
+
<integer>0</integer>
|
88
|
+
<key>line</key>
|
89
|
+
<integer>0</integer>
|
90
|
+
</dict>
|
91
|
+
<key>firstVisibleColumn</key>
|
92
|
+
<integer>0</integer>
|
93
|
+
<key>firstVisibleLine</key>
|
94
|
+
<integer>0</integer>
|
95
|
+
</dict>
|
96
|
+
<key>app/components/server_caller.rb</key>
|
97
|
+
<dict>
|
98
|
+
<key>caret</key>
|
99
|
+
<dict>
|
100
|
+
<key>column</key>
|
101
|
+
<integer>0</integer>
|
102
|
+
<key>line</key>
|
103
|
+
<integer>0</integer>
|
104
|
+
</dict>
|
105
|
+
<key>firstVisibleColumn</key>
|
106
|
+
<integer>0</integer>
|
107
|
+
<key>firstVisibleLine</key>
|
108
|
+
<integer>0</integer>
|
109
|
+
</dict>
|
110
|
+
<key>app/components/server_counter.rb</key>
|
111
|
+
<dict>
|
112
|
+
<key>caret</key>
|
113
|
+
<dict>
|
114
|
+
<key>column</key>
|
115
|
+
<integer>0</integer>
|
116
|
+
<key>line</key>
|
117
|
+
<integer>0</integer>
|
118
|
+
</dict>
|
119
|
+
<key>firstVisibleColumn</key>
|
120
|
+
<integer>0</integer>
|
121
|
+
<key>firstVisibleLine</key>
|
122
|
+
<integer>0</integer>
|
123
|
+
</dict>
|
124
|
+
<key>app/controllers/components_controller.rb</key>
|
125
|
+
<dict>
|
126
|
+
<key>caret</key>
|
127
|
+
<dict>
|
128
|
+
<key>column</key>
|
129
|
+
<integer>3</integer>
|
130
|
+
<key>line</key>
|
131
|
+
<integer>16</integer>
|
132
|
+
</dict>
|
133
|
+
<key>firstVisibleColumn</key>
|
134
|
+
<integer>0</integer>
|
135
|
+
<key>firstVisibleLine</key>
|
136
|
+
<integer>0</integer>
|
137
|
+
</dict>
|
138
|
+
<key>app/controllers/welcome_controller.rb</key>
|
139
|
+
<dict>
|
140
|
+
<key>caret</key>
|
141
|
+
<dict>
|
142
|
+
<key>column</key>
|
143
|
+
<integer>0</integer>
|
144
|
+
<key>line</key>
|
145
|
+
<integer>4</integer>
|
146
|
+
</dict>
|
147
|
+
<key>columnSelection</key>
|
148
|
+
<false/>
|
149
|
+
<key>firstVisibleColumn</key>
|
150
|
+
<integer>0</integer>
|
151
|
+
<key>firstVisibleLine</key>
|
152
|
+
<integer>0</integer>
|
153
|
+
<key>selectFrom</key>
|
154
|
+
<dict>
|
155
|
+
<key>column</key>
|
156
|
+
<integer>0</integer>
|
157
|
+
<key>line</key>
|
158
|
+
<integer>1</integer>
|
159
|
+
</dict>
|
160
|
+
<key>selectTo</key>
|
161
|
+
<dict>
|
162
|
+
<key>column</key>
|
163
|
+
<integer>0</integer>
|
164
|
+
<key>line</key>
|
165
|
+
<integer>4</integer>
|
166
|
+
</dict>
|
167
|
+
</dict>
|
168
|
+
<key>app/views/layouts/application.html.erb</key>
|
169
|
+
<dict>
|
170
|
+
<key>caret</key>
|
171
|
+
<dict>
|
172
|
+
<key>column</key>
|
173
|
+
<integer>0</integer>
|
174
|
+
<key>line</key>
|
175
|
+
<integer>0</integer>
|
176
|
+
</dict>
|
177
|
+
<key>firstVisibleColumn</key>
|
178
|
+
<integer>0</integer>
|
179
|
+
<key>firstVisibleLine</key>
|
180
|
+
<integer>0</integer>
|
181
|
+
</dict>
|
182
|
+
<key>app/views/simple_rails/multiple_nested.html.erb</key>
|
183
|
+
<dict>
|
184
|
+
<key>caret</key>
|
185
|
+
<dict>
|
186
|
+
<key>column</key>
|
187
|
+
<integer>0</integer>
|
188
|
+
<key>line</key>
|
189
|
+
<integer>21</integer>
|
190
|
+
</dict>
|
191
|
+
<key>firstVisibleColumn</key>
|
192
|
+
<integer>0</integer>
|
193
|
+
<key>firstVisibleLine</key>
|
194
|
+
<integer>0</integer>
|
195
|
+
</dict>
|
196
|
+
<key>config/environments/development.rb</key>
|
197
|
+
<dict>
|
198
|
+
<key>caret</key>
|
199
|
+
<dict>
|
200
|
+
<key>column</key>
|
201
|
+
<integer>49</integer>
|
202
|
+
<key>line</key>
|
203
|
+
<integer>12</integer>
|
204
|
+
</dict>
|
205
|
+
<key>firstVisibleColumn</key>
|
206
|
+
<integer>0</integer>
|
207
|
+
<key>firstVisibleLine</key>
|
208
|
+
<integer>0</integer>
|
209
|
+
</dict>
|
210
|
+
<key>config/environments/test.rb</key>
|
211
|
+
<dict>
|
212
|
+
<key>caret</key>
|
213
|
+
<dict>
|
214
|
+
<key>column</key>
|
215
|
+
<integer>29</integer>
|
216
|
+
<key>line</key>
|
217
|
+
<integer>7</integer>
|
218
|
+
</dict>
|
219
|
+
<key>firstVisibleColumn</key>
|
220
|
+
<integer>0</integer>
|
221
|
+
<key>firstVisibleLine</key>
|
222
|
+
<integer>0</integer>
|
223
|
+
</dict>
|
224
|
+
<key>config/routes.rb</key>
|
225
|
+
<dict>
|
226
|
+
<key>caret</key>
|
227
|
+
<dict>
|
228
|
+
<key>column</key>
|
229
|
+
<integer>0</integer>
|
230
|
+
<key>line</key>
|
231
|
+
<integer>73</integer>
|
232
|
+
</dict>
|
233
|
+
<key>firstVisibleColumn</key>
|
234
|
+
<integer>0</integer>
|
235
|
+
<key>firstVisibleLine</key>
|
236
|
+
<integer>24</integer>
|
237
|
+
</dict>
|
238
|
+
<key>features/rails_views.feature</key>
|
239
|
+
<dict>
|
240
|
+
<key>caret</key>
|
241
|
+
<dict>
|
242
|
+
<key>column</key>
|
243
|
+
<integer>0</integer>
|
244
|
+
<key>line</key>
|
245
|
+
<integer>0</integer>
|
246
|
+
</dict>
|
247
|
+
<key>firstVisibleColumn</key>
|
248
|
+
<integer>0</integer>
|
249
|
+
<key>firstVisibleLine</key>
|
250
|
+
<integer>0</integer>
|
251
|
+
</dict>
|
252
|
+
<key>features/step_definitions/generic_steps.rb</key>
|
253
|
+
<dict>
|
254
|
+
<key>caret</key>
|
255
|
+
<dict>
|
256
|
+
<key>column</key>
|
257
|
+
<integer>0</integer>
|
258
|
+
<key>line</key>
|
259
|
+
<integer>50</integer>
|
260
|
+
</dict>
|
261
|
+
<key>columnSelection</key>
|
262
|
+
<false/>
|
263
|
+
<key>firstVisibleColumn</key>
|
264
|
+
<integer>0</integer>
|
265
|
+
<key>firstVisibleLine</key>
|
266
|
+
<integer>8</integer>
|
267
|
+
<key>selectFrom</key>
|
268
|
+
<dict>
|
269
|
+
<key>column</key>
|
270
|
+
<integer>0</integer>
|
271
|
+
<key>line</key>
|
272
|
+
<integer>43</integer>
|
273
|
+
</dict>
|
274
|
+
<key>selectTo</key>
|
275
|
+
<dict>
|
276
|
+
<key>column</key>
|
277
|
+
<integer>0</integer>
|
278
|
+
<key>line</key>
|
279
|
+
<integer>50</integer>
|
280
|
+
</dict>
|
281
|
+
</dict>
|
282
|
+
<key>features/support/env.rb</key>
|
283
|
+
<dict>
|
284
|
+
<key>caret</key>
|
285
|
+
<dict>
|
286
|
+
<key>column</key>
|
287
|
+
<integer>0</integer>
|
288
|
+
<key>line</key>
|
289
|
+
<integer>0</integer>
|
290
|
+
</dict>
|
291
|
+
<key>firstVisibleColumn</key>
|
292
|
+
<integer>0</integer>
|
293
|
+
<key>firstVisibleLine</key>
|
294
|
+
<integer>0</integer>
|
295
|
+
</dict>
|
296
|
+
<key>spec/component/actions_spec.rb</key>
|
297
|
+
<dict>
|
298
|
+
<key>caret</key>
|
299
|
+
<dict>
|
300
|
+
<key>column</key>
|
301
|
+
<integer>0</integer>
|
302
|
+
<key>line</key>
|
303
|
+
<integer>0</integer>
|
304
|
+
</dict>
|
305
|
+
<key>firstVisibleColumn</key>
|
306
|
+
<integer>0</integer>
|
307
|
+
<key>firstVisibleLine</key>
|
308
|
+
<integer>0</integer>
|
309
|
+
</dict>
|
310
|
+
</dict>
|
311
|
+
<key>openDocuments</key>
|
312
|
+
<array>
|
313
|
+
<string>app/components/server_caller.rb</string>
|
314
|
+
<string>app/components/card_component_loader.rb</string>
|
315
|
+
<string>app/components/server_counter.rb</string>
|
316
|
+
<string>spec/component/actions_spec.rb</string>
|
317
|
+
<string>app/components/loader_of_component_with_custom_css.rb</string>
|
318
|
+
</array>
|
319
|
+
<key>showFileHierarchyDrawer</key>
|
320
|
+
<true/>
|
321
|
+
<key>windowFrame</key>
|
322
|
+
<string>{{0, 4}, {939, 874}}</string>
|
323
|
+
</dict>
|
324
|
+
</plist>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML>
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" class=" ext-strict"><head>
|
3
|
+
|
4
|
+
|
5
|
+
<title>RailsApp</title>
|
6
|
+
|
7
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/resources/css/ext-all.css?1286408949" />
|
8
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/netzke/ext.css" />
|
9
|
+
|
10
|
+
|
11
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/adapter/ext/ext-base.js?1286408950"></script>
|
12
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/ext-all.js?1286408950"></script>
|
13
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/netzke/ext.js"></script>
|
14
|
+
<script type="text/javascript">
|
15
|
+
//<![CDATA[
|
16
|
+
|
17
|
+
Netzke.classes.ComponentWithSessionPersistence = Ext.extend(Ext.Panel, Netzke.chainApply(Netzke.componentMixin(Ext.Panel),
|
18
|
+
{"title":"Default Title","bbar":[{"text":"Tell server to store new title","ref":"../button"}],"bugServer": function(){
|
19
|
+
this.whatsUp();
|
20
|
+
}
|
21
|
+
,"initComponent": function(){
|
22
|
+
Netzke.classes.ComponentWithSessionPersistence.superclass.initComponent.call(this);
|
23
|
+
this.button.on('click', this.bugServer, this);
|
24
|
+
}
|
25
|
+
}));
|
26
|
+
Netzke.reg("componentwithsessionpersistence", Netzke.classes.ComponentWithSessionPersistence);
|
27
|
+
|
28
|
+
|
29
|
+
Ext.onReady(function(){
|
30
|
+
Netzke.page.componentWithSessionPersistence = Ext.create({"id":"component_with_session_persistence","endpoints":["whats_up"],"xtype":"componentwithsessionpersistence","sessionPersistence":true,"name":"component_with_session_persistence","html":{}});
|
31
|
+
|
32
|
+
Netzke.page.componentWithSessionPersistence.render("component-with-session-persistence-netzke");
|
33
|
+
});
|
34
|
+
//]]>
|
35
|
+
</script>
|
36
|
+
</head><body class=" ext-gecko ext-gecko3 ext-mac" id="ext-gen3">
|
37
|
+
|
38
|
+
<div class="netzke-component" id="component-with-session-persistence-netzke"><div id="component_with_session_persistence" class=" x-panel x-panel-noborder"><div class="x-panel-header x-panel-header-noborder x-unselectable" id="ext-gen11" style="-moz-user-select: none;"><span class="x-panel-header-text" id="ext-gen16">Default Title</span></div><div class="x-panel-bwrap" id="ext-gen12"><div class="x-panel-body x-panel-body-noborder" id="ext-gen13" style="height: 348px;"><div></div></div><div class="x-panel-bbar x-panel-bbar-noborder" id="ext-gen14" style="width: 994px;"><div class="x-toolbar x-small-editor x-toolbar-layout-ct" id="ext-comp-1002" style="width: 990px;"><table cellspacing="0" class="x-toolbar-ct"><tbody><tr><td align="left" class="x-toolbar-left"><table cellspacing="0"><tbody><tr class="x-toolbar-left-row"><td class="x-toolbar-cell" id="ext-gen17"><table cellspacing="0" class="x-btn x-btn-noicon" id="ext-comp-1003" style="width: auto;"><tbody class="x-btn-small x-btn-icon-small-left"><tr><td class="x-btn-tl"><i> </i></td><td class="x-btn-tc"></td><td class="x-btn-tr"><i> </i></td></tr><tr><td class="x-btn-ml"><i> </i></td><td class="x-btn-mc"><em unselectable="on" class=""><button type="button" id="ext-gen18" class=" x-btn-text">Tell server to store new title</button></em></td><td class="x-btn-mr"><i> </i></td></tr><tr><td class="x-btn-bl"><i> </i></td><td class="x-btn-bc"></td><td class="x-btn-br"><i> </i></td></tr></tbody></table></td></tr></tbody></table></td><td align="right" class="x-toolbar-right"><table cellspacing="0" class="x-toolbar-right-ct"><tbody><tr><td><table cellspacing="0"><tbody><tr class="x-toolbar-right-row"></tr></tbody></table></td><td><table cellspacing="0"><tbody><tr class="x-toolbar-extras-row"></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div>
|
39
|
+
|
40
|
+
<div id="ext-comp-1001" class=" x-tip" style="position: absolute; z-index: 20002; visibility: hidden; display: none;"><div class="x-tip-tl"><div class="x-tip-tr"><div class="x-tip-tc"><div class="x-tip-header x-unselectable" id="ext-gen4" style="-moz-user-select: none;"><span class="x-tip-header-text"></span></div></div></div></div><div class="x-tip-bwrap" id="ext-gen5"><div class="x-tip-ml"><div class="x-tip-mr"><div class="x-tip-mc" id="ext-gen8"><div class="x-tip-body" id="ext-gen6" style="height: auto;"></div></div></div></div><div class="x-tip-bl x-panel-nofooter" id="ext-gen7"><div class="x-tip-br"><div class="x-tip-bc"></div></div></div></div><div class="x-tip-anchor x-tip-anchor-top" id="ext-gen9" style="z-index: 20003;"></div></div></body></html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML>
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" class=" ext-strict"><head>
|
3
|
+
|
4
|
+
|
5
|
+
<title>RailsApp</title>
|
6
|
+
|
7
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/resources/css/ext-all.css?1286408949" />
|
8
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/netzke/ext.css" />
|
9
|
+
|
10
|
+
|
11
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/adapter/ext/ext-base.js?1286408950"></script>
|
12
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/ext-all.js?1286408950"></script>
|
13
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/netzke/ext.js"></script>
|
14
|
+
<script type="text/javascript">
|
15
|
+
//<![CDATA[
|
16
|
+
|
17
|
+
Netzke.classes.ComponentWithSessionPersistence = Ext.extend(Ext.Panel, Netzke.chainApply(Netzke.componentMixin(Ext.Panel),
|
18
|
+
{"title":"Default Title","bbar":[{"text":"Tell server to store new title","ref":"../button"}],"bugServer": function(){
|
19
|
+
this.whatsUp();
|
20
|
+
}
|
21
|
+
,"initComponent": function(){
|
22
|
+
Netzke.classes.ComponentWithSessionPersistence.superclass.initComponent.call(this);
|
23
|
+
this.button.on('click', this.bugServer, this);
|
24
|
+
}
|
25
|
+
}));
|
26
|
+
Netzke.reg("componentwithsessionpersistence", Netzke.classes.ComponentWithSessionPersistence);
|
27
|
+
|
28
|
+
|
29
|
+
Ext.onReady(function(){
|
30
|
+
Netzke.page.componentWithSessionPersistence = Ext.create({"id":"component_with_session_persistence","endpoints":["whats_up"],"xtype":"componentwithsessionpersistence","sessionPersistence":true,"name":"component_with_session_persistence","html":"Default HTML"});
|
31
|
+
|
32
|
+
Netzke.page.componentWithSessionPersistence.render("component-with-session-persistence-netzke");
|
33
|
+
});
|
34
|
+
//]]>
|
35
|
+
</script>
|
36
|
+
</head><body class=" ext-gecko ext-gecko3 ext-mac" id="ext-gen3">
|
37
|
+
|
38
|
+
<div class="netzke-component" id="component-with-session-persistence-netzke"><div id="component_with_session_persistence" class=" x-panel x-panel-noborder"><div class="x-panel-header x-panel-header-noborder x-unselectable" id="ext-gen11" style="-moz-user-select: none;"><span class="x-panel-header-text" id="ext-gen16">Default Title</span></div><div class="x-panel-bwrap" id="ext-gen12"><div class="x-panel-body x-panel-body-noborder" id="ext-gen13" style="height: 348px;">Default HTML</div><div class="x-panel-bbar x-panel-bbar-noborder" id="ext-gen14" style="width: 994px;"><div class="x-toolbar x-small-editor x-toolbar-layout-ct" id="ext-comp-1002" style="width: 990px;"><table cellspacing="0" class="x-toolbar-ct"><tbody><tr><td align="left" class="x-toolbar-left"><table cellspacing="0"><tbody><tr class="x-toolbar-left-row"><td class="x-toolbar-cell" id="ext-gen17"><table cellspacing="0" class="x-btn x-btn-noicon" id="ext-comp-1003" style="width: auto;"><tbody class="x-btn-small x-btn-icon-small-left"><tr><td class="x-btn-tl"><i> </i></td><td class="x-btn-tc"></td><td class="x-btn-tr"><i> </i></td></tr><tr><td class="x-btn-ml"><i> </i></td><td class="x-btn-mc"><em unselectable="on" class=""><button type="button" id="ext-gen18" class=" x-btn-text">Tell server to store new title</button></em></td><td class="x-btn-mr"><i> </i></td></tr><tr><td class="x-btn-bl"><i> </i></td><td class="x-btn-bc"></td><td class="x-btn-br"><i> </i></td></tr></tbody></table></td></tr></tbody></table></td><td align="right" class="x-toolbar-right"><table cellspacing="0" class="x-toolbar-right-ct"><tbody><tr><td><table cellspacing="0"><tbody><tr class="x-toolbar-right-row"></tr></tbody></table></td><td><table cellspacing="0"><tbody><tr class="x-toolbar-extras-row"></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div>
|
39
|
+
|
40
|
+
<div id="ext-comp-1001" class=" x-tip" style="position: absolute; z-index: 20002; visibility: hidden; display: none;"><div class="x-tip-tl"><div class="x-tip-tr"><div class="x-tip-tc"><div class="x-tip-header x-unselectable" id="ext-gen4" style="-moz-user-select: none;"><span class="x-tip-header-text"></span></div></div></div></div><div class="x-tip-bwrap" id="ext-gen5"><div class="x-tip-ml"><div class="x-tip-mr"><div class="x-tip-mc" id="ext-gen8"><div class="x-tip-body" id="ext-gen6" style="height: auto;"></div></div></div></div><div class="x-tip-bl x-panel-nofooter" id="ext-gen7"><div class="x-tip-br"><div class="x-tip-bc"></div></div></div></div><div class="x-tip-anchor x-tip-anchor-top" id="ext-gen9" style="z-index: 20003;"></div></div></body></html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML>
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" class=" ext-strict"><head>
|
3
|
+
|
4
|
+
|
5
|
+
<title>RailsApp</title>
|
6
|
+
|
7
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/resources/css/ext-all.css?1286408949" />
|
8
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/netzke/ext.css" />
|
9
|
+
|
10
|
+
|
11
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/adapter/ext/ext-base.js?1286408950"></script>
|
12
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/ext-all.js?1286408950"></script>
|
13
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/netzke/ext.js"></script>
|
14
|
+
<script type="text/javascript">
|
15
|
+
//<![CDATA[
|
16
|
+
|
17
|
+
Netzke.classes.ComponentWithSessionPersistence = Ext.extend(Ext.Panel, Netzke.chainApply(Netzke.componentMixin(Ext.Panel),
|
18
|
+
{"title":"Default Title","bbar":[{"text":"Tell server to store new title","ref":"../button"}],"bugServer": function(){
|
19
|
+
this.whatsUp();
|
20
|
+
}
|
21
|
+
,"initComponent": function(){
|
22
|
+
Netzke.classes.ComponentWithSessionPersistence.superclass.initComponent.call(this);
|
23
|
+
this.button.on('click', this.bugServer, this);
|
24
|
+
}
|
25
|
+
}));
|
26
|
+
Netzke.reg("componentwithsessionpersistence", Netzke.classes.ComponentWithSessionPersistence);
|
27
|
+
|
28
|
+
|
29
|
+
Ext.onReady(function(){
|
30
|
+
Netzke.page.componentWithSessionPersistence = Ext.create({"id":"component_with_session_persistence","endpoints":["whats_up"],"xtype":"componentwithsessionpersistence","sessionPersistence":true,"name":"component_with_session_persistence","html":"Default HTML"});
|
31
|
+
|
32
|
+
Netzke.page.componentWithSessionPersistence.render("component-with-session-persistence-netzke");
|
33
|
+
});
|
34
|
+
//]]>
|
35
|
+
</script>
|
36
|
+
</head><body class=" ext-gecko ext-gecko3 ext-mac" id="ext-gen3">
|
37
|
+
|
38
|
+
<div class="netzke-component" id="component-with-session-persistence-netzke"><div id="component_with_session_persistence" class=" x-panel x-panel-noborder"><div class="x-panel-header x-panel-header-noborder x-unselectable" id="ext-gen11" style="-moz-user-select: none;"><span class="x-panel-header-text" id="ext-gen16">Default Title</span></div><div class="x-panel-bwrap" id="ext-gen12"><div class="x-panel-body x-panel-body-noborder" id="ext-gen13" style="height: 348px;">Default HTML</div><div class="x-panel-bbar x-panel-bbar-noborder" id="ext-gen14" style="width: 994px;"><div class="x-toolbar x-small-editor x-toolbar-layout-ct" id="ext-comp-1002" style="width: 990px;"><table cellspacing="0" class="x-toolbar-ct"><tbody><tr><td align="left" class="x-toolbar-left"><table cellspacing="0"><tbody><tr class="x-toolbar-left-row"><td class="x-toolbar-cell" id="ext-gen17"><table cellspacing="0" class="x-btn x-btn-noicon" id="ext-comp-1003" style="width: auto;"><tbody class="x-btn-small x-btn-icon-small-left"><tr><td class="x-btn-tl"><i> </i></td><td class="x-btn-tc"></td><td class="x-btn-tr"><i> </i></td></tr><tr><td class="x-btn-ml"><i> </i></td><td class="x-btn-mc"><em unselectable="on" class=""><button type="button" id="ext-gen18" class=" x-btn-text">Tell server to store new title</button></em></td><td class="x-btn-mr"><i> </i></td></tr><tr><td class="x-btn-bl"><i> </i></td><td class="x-btn-bc"></td><td class="x-btn-br"><i> </i></td></tr></tbody></table></td></tr></tbody></table></td><td align="right" class="x-toolbar-right"><table cellspacing="0" class="x-toolbar-right-ct"><tbody><tr><td><table cellspacing="0"><tbody><tr class="x-toolbar-right-row"></tr></tbody></table></td><td><table cellspacing="0"><tbody><tr class="x-toolbar-extras-row"></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div>
|
39
|
+
|
40
|
+
<div id="ext-comp-1001" class=" x-tip" style="position: absolute; z-index: 20002; visibility: hidden; display: none;"><div class="x-tip-tl"><div class="x-tip-tr"><div class="x-tip-tc"><div class="x-tip-header x-unselectable" id="ext-gen4" style="-moz-user-select: none;"><span class="x-tip-header-text"></span></div></div></div></div><div class="x-tip-bwrap" id="ext-gen5"><div class="x-tip-ml"><div class="x-tip-mr"><div class="x-tip-mc" id="ext-gen8"><div class="x-tip-body" id="ext-gen6" style="height: auto;"></div></div></div></div><div class="x-tip-bl x-panel-nofooter" id="ext-gen7"><div class="x-tip-br"><div class="x-tip-bc"></div></div></div></div><div class="x-tip-anchor x-tip-anchor-top" id="ext-gen9" style="z-index: 20003;"></div></div></body></html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML>
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" class=" ext-strict"><head>
|
3
|
+
|
4
|
+
|
5
|
+
<title>RailsApp</title>
|
6
|
+
|
7
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/resources/css/ext-all.css?1286408949" />
|
8
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/netzke/ext.css" />
|
9
|
+
|
10
|
+
|
11
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/adapter/ext/ext-base.js?1286408950"></script>
|
12
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/ext-all.js?1286408950"></script>
|
13
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/netzke/ext.js"></script>
|
14
|
+
<script type="text/javascript">
|
15
|
+
//<![CDATA[
|
16
|
+
|
17
|
+
Netzke.classes.ComponentWithSessionPersistence = Ext.extend(Ext.Panel, Netzke.chainApply(Netzke.componentMixin(Ext.Panel),
|
18
|
+
{"title":"Default Title","bbar":[{"text":"Tell server to store new title","ref":"../button"}],"bugServer": function(){
|
19
|
+
this.whatsUp();
|
20
|
+
}
|
21
|
+
,"initComponent": function(){
|
22
|
+
Netzke.classes.ComponentWithSessionPersistence.superclass.initComponent.call(this);
|
23
|
+
this.button.on('click', this.bugServer, this);
|
24
|
+
}
|
25
|
+
}));
|
26
|
+
Netzke.reg("componentwithsessionpersistence", Netzke.classes.ComponentWithSessionPersistence);
|
27
|
+
|
28
|
+
|
29
|
+
Ext.onReady(function(){
|
30
|
+
Netzke.page.componentWithSessionPersistence = Ext.create({"id":"component_with_session_persistence","endpoints":["whats_up"],"xtype":"componentwithsessionpersistence","sessionPersistence":true,"name":"component_with_session_persistence","options":{"title":"Title From Session"},"htmlContent":"HTML from session","html":"Default HTML"});
|
31
|
+
|
32
|
+
Netzke.page.componentWithSessionPersistence.render("component-with-session-persistence-netzke");
|
33
|
+
});
|
34
|
+
//]]>
|
35
|
+
</script>
|
36
|
+
</head><body class=" ext-gecko ext-gecko3 ext-mac" id="ext-gen3">
|
37
|
+
|
38
|
+
<div class="netzke-component" id="component-with-session-persistence-netzke"><div id="component_with_session_persistence" class=" x-panel x-panel-noborder"><div class="x-panel-header x-panel-header-noborder x-unselectable" id="ext-gen11" style="-moz-user-select: none;"><span class="x-panel-header-text" id="ext-gen16">Default Title</span></div><div class="x-panel-bwrap" id="ext-gen12"><div class="x-panel-body x-panel-body-noborder" id="ext-gen13" style="height: 348px;">Default HTML</div><div class="x-panel-bbar x-panel-bbar-noborder" id="ext-gen14" style="width: 994px;"><div class="x-toolbar x-small-editor x-toolbar-layout-ct" id="ext-comp-1002" style="width: 990px;"><table cellspacing="0" class="x-toolbar-ct"><tbody><tr><td align="left" class="x-toolbar-left"><table cellspacing="0"><tbody><tr class="x-toolbar-left-row"><td class="x-toolbar-cell" id="ext-gen17"><table cellspacing="0" class="x-btn x-btn-noicon" id="ext-comp-1003" style="width: auto;"><tbody class="x-btn-small x-btn-icon-small-left"><tr><td class="x-btn-tl"><i> </i></td><td class="x-btn-tc"></td><td class="x-btn-tr"><i> </i></td></tr><tr><td class="x-btn-ml"><i> </i></td><td class="x-btn-mc"><em unselectable="on" class=""><button type="button" id="ext-gen18" class=" x-btn-text">Tell server to store new title</button></em></td><td class="x-btn-mr"><i> </i></td></tr><tr><td class="x-btn-bl"><i> </i></td><td class="x-btn-bc"></td><td class="x-btn-br"><i> </i></td></tr></tbody></table></td></tr></tbody></table></td><td align="right" class="x-toolbar-right"><table cellspacing="0" class="x-toolbar-right-ct"><tbody><tr><td><table cellspacing="0"><tbody><tr class="x-toolbar-right-row"></tr></tbody></table></td><td><table cellspacing="0"><tbody><tr class="x-toolbar-extras-row"></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div>
|
39
|
+
|
40
|
+
<div id="ext-comp-1001" class=" x-tip" style="position: absolute; z-index: 20002; visibility: hidden; display: none;"><div class="x-tip-tl"><div class="x-tip-tr"><div class="x-tip-tc"><div class="x-tip-header x-unselectable" id="ext-gen4" style="-moz-user-select: none;"><span class="x-tip-header-text"></span></div></div></div></div><div class="x-tip-bwrap" id="ext-gen5"><div class="x-tip-ml"><div class="x-tip-mr"><div class="x-tip-mc" id="ext-gen8"><div class="x-tip-body" id="ext-gen6" style="height: auto;"></div></div></div></div><div class="x-tip-bl x-panel-nofooter" id="ext-gen7"><div class="x-tip-br"><div class="x-tip-bc"></div></div></div></div><div class="x-tip-anchor x-tip-anchor-top" id="ext-gen9" style="z-index: 20003;"></div></div></body></html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE HTML>
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" class=" ext-strict"><head>
|
3
|
+
|
4
|
+
|
5
|
+
<title>RailsApp</title>
|
6
|
+
|
7
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/resources/css/ext-all.css?1286408949" />
|
8
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/netzke/ext.css" />
|
9
|
+
|
10
|
+
|
11
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/adapter/ext/ext-base.js?1286408950"></script>
|
12
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/extjs/ext-all.js?1286408950"></script>
|
13
|
+
<script type="text/javascript" src="/Users/skozlov/code/netzke/netzke-core/test/rails_app/public/netzke/ext.js"></script>
|
14
|
+
<script type="text/javascript">
|
15
|
+
//<![CDATA[
|
16
|
+
|
17
|
+
Netzke.classes.ComponentWithSessionPersistence = Ext.extend(Ext.Panel, Netzke.chainApply(Netzke.componentMixin(Ext.Panel),
|
18
|
+
{"title":"Default Title","bbar":[{"text":"Tell server to store new title","ref":"../button"}],"bugServer": function(){
|
19
|
+
this.whatsUp();
|
20
|
+
}
|
21
|
+
,"initComponent": function(){
|
22
|
+
Netzke.classes.ComponentWithSessionPersistence.superclass.initComponent.call(this);
|
23
|
+
this.button.on('click', this.bugServer, this);
|
24
|
+
}
|
25
|
+
}));
|
26
|
+
Netzke.reg("componentwithsessionpersistence", Netzke.classes.ComponentWithSessionPersistence);
|
27
|
+
|
28
|
+
|
29
|
+
Ext.onReady(function(){
|
30
|
+
Netzke.page.componentWithSessionPersistence = Ext.create({"id":"component_with_session_persistence","endpoints":["whats_up"],"xtype":"componentwithsessionpersistence","sessionPersistence":true,"name":"component_with_session_persistence","html":"Default HTML"});
|
31
|
+
|
32
|
+
Netzke.page.componentWithSessionPersistence.render("component-with-session-persistence-netzke");
|
33
|
+
});
|
34
|
+
//]]>
|
35
|
+
</script>
|
36
|
+
</head><body class=" ext-gecko ext-gecko3 ext-mac" id="ext-gen3">
|
37
|
+
|
38
|
+
<div class="netzke-component" id="component-with-session-persistence-netzke"><div id="component_with_session_persistence" class=" x-panel x-panel-noborder"><div class="x-panel-header x-panel-header-noborder x-unselectable" id="ext-gen11" style="-moz-user-select: none;"><span class="x-panel-header-text" id="ext-gen16">Default Title</span></div><div class="x-panel-bwrap" id="ext-gen12"><div class="x-panel-body x-panel-body-noborder" id="ext-gen13" style="height: 348px;">Default HTML</div><div class="x-panel-bbar x-panel-bbar-noborder" id="ext-gen14" style="width: 994px;"><div class="x-toolbar x-small-editor x-toolbar-layout-ct" id="ext-comp-1002" style="width: 990px;"><table cellspacing="0" class="x-toolbar-ct"><tbody><tr><td align="left" class="x-toolbar-left"><table cellspacing="0"><tbody><tr class="x-toolbar-left-row"><td class="x-toolbar-cell" id="ext-gen17"><table cellspacing="0" class="x-btn x-btn-noicon" id="ext-comp-1003" style="width: auto;"><tbody class="x-btn-small x-btn-icon-small-left"><tr><td class="x-btn-tl"><i> </i></td><td class="x-btn-tc"></td><td class="x-btn-tr"><i> </i></td></tr><tr><td class="x-btn-ml"><i> </i></td><td class="x-btn-mc"><em unselectable="on" class=""><button type="button" id="ext-gen18" class=" x-btn-text">Tell server to store new title</button></em></td><td class="x-btn-mr"><i> </i></td></tr><tr><td class="x-btn-bl"><i> </i></td><td class="x-btn-bc"></td><td class="x-btn-br"><i> </i></td></tr></tbody></table></td></tr></tbody></table></td><td align="right" class="x-toolbar-right"><table cellspacing="0" class="x-toolbar-right-ct"><tbody><tr><td><table cellspacing="0"><tbody><tr class="x-toolbar-right-row"></tr></tbody></table></td><td><table cellspacing="0"><tbody><tr class="x-toolbar-extras-row"></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div>
|
39
|
+
|
40
|
+
<div id="ext-comp-1001" class=" x-tip" style="position: absolute; z-index: 20002; visibility: hidden; display: none;"><div class="x-tip-tl"><div class="x-tip-tr"><div class="x-tip-tc"><div class="x-tip-header x-unselectable" id="ext-gen4" style="-moz-user-select: none;"><span class="x-tip-header-text"></span></div></div></div></div><div class="x-tip-bwrap" id="ext-gen5"><div class="x-tip-ml"><div class="x-tip-mr"><div class="x-tip-mc" id="ext-gen8"><div class="x-tip-body" id="ext-gen6" style="height: auto;"></div></div></div></div><div class="x-tip-bl x-panel-nofooter" id="ext-gen7"><div class="x-tip-br"><div class="x-tip-bc"></div></div></div></div><div class="x-tip-anchor x-tip-anchor-top" id="ext-gen9" style="z-index: 20003;"></div></div></body></html>
|