edifice 1.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. data/.gitignore +1 -0
  2. data/Gemfile.lock +120 -1
  3. data/README.md +73 -0
  4. data/Rakefile +6 -0
  5. data/_site/images/logo_edifice_80x93.png +0 -0
  6. data/_site/images/text_img_edifice_600x180.png +0 -0
  7. data/_site/images/text_img_railsway_547x54.png +0 -0
  8. data/_site/images/text_img_really_450x26.png +0 -0
  9. data/_site/index.html +141 -0
  10. data/_site/pygments.css +62 -0
  11. data/_site/style.css +477 -0
  12. data/_site/style.scss +239 -0
  13. data/_site/stylesheets/css/ie.css +57 -0
  14. data/_site/stylesheets/css/print.css +29 -0
  15. data/app/assets/javascripts/edifice/framework.js +0 -146
  16. data/edifice.gemspec +6 -0
  17. data/lib/edifice.rb +3 -2
  18. data/lib/edifice/controller.rb +0 -1
  19. data/lib/edifice/version.rb +1 -1
  20. data/{test/rails3/lib/tasks/.gitkeep → log/test.log} +0 -0
  21. data/spec/edifice_controller_spec.rb +28 -0
  22. data/spec/javascript_event_spec.rb +25 -0
  23. data/spec/pjax_support_spec.rb +35 -0
  24. data/{test/rails3 → spec/rails3.1}/.gitignore +1 -0
  25. data/{test/rails3/public → spec/rails3.1/app/assets}/images/rails.png +0 -0
  26. data/spec/rails3.1/app/assets/javascripts/application.js +10 -0
  27. data/spec/rails3.1/app/assets/javascripts/test/base.js +11 -0
  28. data/spec/rails3.1/app/assets/javascripts/vendor/jquery-pjax.js +264 -0
  29. data/spec/rails3.1/app/assets/stylesheets/application.css +7 -0
  30. data/{test/rails3 → spec/rails3.1}/app/controllers/application_controller.rb +0 -0
  31. data/spec/rails3.1/app/controllers/test_controller.rb +2 -0
  32. data/spec/rails3.1/app/views/layouts/application.html.erb +15 -0
  33. data/{test/rails3/public/favicon.ico → spec/rails3.1/app/views/test/base.html.erb} +0 -0
  34. data/{test/rails3/public/javascripts/.gitkeep → spec/rails3.1/app/views/test/empty.html.erb} +0 -0
  35. data/{test/rails3 → spec/rails3.1}/config/application.rb +22 -16
  36. data/{test/rails3 → spec/rails3.1}/config/boot.rb +0 -0
  37. data/{test/rails3 → spec/rails3.1}/config/environment.rb +1 -1
  38. data/{test/rails3 → spec/rails3.1}/config/environments/test.rb +6 -2
  39. data/{test/rails3 → spec/rails3.1}/config/initializers/backtrace_silencers.rb +0 -0
  40. data/{test/rails3 → spec/rails3.1}/config/initializers/inflections.rb +0 -0
  41. data/{test/rails3 → spec/rails3.1}/config/initializers/mime_types.rb +0 -0
  42. data/{test/rails3 → spec/rails3.1}/config/initializers/secret_token.rb +1 -1
  43. data/{test/rails3 → spec/rails3.1}/config/initializers/session_store.rb +2 -2
  44. data/spec/rails3.1/config/initializers/wrap_parameters.rb +14 -0
  45. data/spec/rails3.1/config/routes.rb +4 -0
  46. data/{test/rails3/public/stylesheets → spec/rails3.1/log}/.gitkeep +0 -0
  47. data/spec/spec_helper.rb +7 -0
  48. metadata +141 -90
  49. data/README +0 -46
  50. data/test/rails3/Gemfile +0 -33
  51. data/test/rails3/Gemfile.lock +0 -75
  52. data/test/rails3/README +0 -256
  53. data/test/rails3/Rakefile +0 -7
  54. data/test/rails3/app/controllers/posts_controller.rb +0 -15
  55. data/test/rails3/app/helpers/application_helper.rb +0 -2
  56. data/test/rails3/app/models/post.rb +0 -10
  57. data/test/rails3/app/views/layouts/application.html.erb +0 -14
  58. data/test/rails3/app/views/posts/new.html.erb +0 -17
  59. data/test/rails3/config.ru +0 -4
  60. data/test/rails3/config/database.yml +0 -22
  61. data/test/rails3/config/environments/development.rb +0 -26
  62. data/test/rails3/config/environments/production.rb +0 -49
  63. data/test/rails3/config/locales/en.yml +0 -5
  64. data/test/rails3/config/routes.rb +0 -4
  65. data/test/rails3/db/seeds.rb +0 -7
  66. data/test/rails3/doc/README_FOR_APP +0 -2
  67. data/test/rails3/public/404.html +0 -26
  68. data/test/rails3/public/422.html +0 -26
  69. data/test/rails3/public/500.html +0 -26
  70. data/test/rails3/public/javascripts/application.js +0 -0
  71. data/test/rails3/public/javascripts/jquery-1.5.1.js +0 -8316
  72. data/test/rails3/public/robots.txt +0 -5
  73. data/test/rails3/public/stylesheets/form.css +0 -18
  74. data/test/rails3/script/rails +0 -6
  75. data/test/rails3/vendor/plugins/.gitkeep +0 -0
@@ -0,0 +1,2 @@
1
+ class TestController < ApplicationController
2
+ end
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Rails31</title>
5
+ <%= stylesheet_link_tag "application" %>
6
+ <%= javascript_include_tag "application" %>
7
+ <%= csrf_meta_tags %>
8
+ <%= edifice_meta_tags %>
9
+ </head>
10
+ <body class="<%= edifice_body_classes %>">
11
+
12
+ <%= yield %>
13
+
14
+ </body>
15
+ </html>
@@ -1,19 +1,24 @@
1
1
  require File.expand_path('../boot', __FILE__)
2
2
 
3
- require 'rails/all'
3
+ require "action_controller/railtie"
4
+ require "action_mailer/railtie"
5
+ require "sprockets/railtie"
4
6
 
5
- # If you have a Gemfile, require the gems listed there, including any gems
6
- # you've limited to :test, :development, or :production.
7
- Bundler.require(:default, Rails.env) if defined?(Bundler)
7
+ require 'jquery-rails'
8
8
 
9
- # require edifice
10
- $: << File.expand_path('../../../../lib', __FILE__)
11
- require 'edifice.rb'
12
-
13
- module Rails3
14
- class Application < Rails::Application
15
9
 
10
+ if defined?(Bundler)
11
+ # If you precompile assets before deploying to production, use this line
12
+ Bundler.require(*Rails.groups(:assets => %w(development test)))
13
+ # If you want your assets lazily compiled in production, use this line
14
+ # Bundler.require(:default, :assets, Rails.env)
15
+ end
16
16
 
17
+ module Rails31
18
+ class Application < Rails::Application
19
+ # don't know how i was supposed to set this
20
+ config.root = ENV['RAILS_ROOT']
21
+
17
22
  # Settings in config/environments/* take precedence over those specified here.
18
23
  # Application configuration should go into files in config/initializers
19
24
  # -- all .rb files in that directory are automatically loaded.
@@ -36,15 +41,16 @@ module Rails3
36
41
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
37
42
  # config.i18n.default_locale = :de
38
43
 
39
- # JavaScript files you want as :defaults (application.js is always included).
40
- config.action_view.javascript_expansions[:defaults] = %w(
41
- jquery-1.5.1 edifice/framework edifice/edifice_form edifice/form
42
- )
43
-
44
44
  # Configure the default encoding used in templates for Ruby 1.9.
45
45
  config.encoding = "utf-8"
46
46
 
47
47
  # Configure sensitive parameters which will be filtered from the log file.
48
48
  config.filter_parameters += [:password]
49
+
50
+ # Enable the asset pipeline
51
+ config.assets.enabled = true
52
+
53
+ # Version of your assets, change this if you want to expire all your assets
54
+ config.assets.version = '1.0'
49
55
  end
50
- end
56
+ end
File without changes
@@ -2,4 +2,4 @@
2
2
  require File.expand_path('../application', __FILE__)
3
3
 
4
4
  # Initialize the rails application
5
- Rails3::Application.initialize!
5
+ Rails31::Application.initialize!
@@ -1,4 +1,4 @@
1
- Rails3::Application.configure do
1
+ Rails31::Application.configure do
2
2
  # Settings specified here will take precedence over those in config/application.rb
3
3
 
4
4
  # The test environment is used exclusively to run your application's
@@ -7,7 +7,11 @@ Rails3::Application.configure do
7
7
  # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
9
 
10
- # Log error messages when you accidentally call methods on nil.
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
11
15
  config.whiny_nils = true
12
16
 
13
17
  # Show full error reports and disable caching
@@ -4,4 +4,4 @@
4
4
  # If you change this key, all old signed cookies will become invalid!
5
5
  # Make sure the secret is at least 30 characters and all random,
6
6
  # no regular words or you'll be exposed to dictionary attacks.
7
- Rails3::Application.config.secret_token = 'ebf26575d0dfb0a449782bcbfb100c80eef911577b4406bc3ce0e247ff430bcaf1757c7ad221bbebf8d0b57647da4d5b6d9764ab95be9d727210b61f712a9f8e'
7
+ Rails31::Application.config.secret_token = '9c49a20f1a1927d39445006fa86e869792e085b10f0a4f0c8301cd50207d8beca37dd1f3c641522d4411528c87cbf50827cccf7f89e51529be1b4c71a7d7d7bc'
@@ -1,8 +1,8 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Rails3::Application.config.session_store :cookie_store, :key => '_rails3_session'
3
+ Rails31::Application.config.session_store :cookie_store, :key => '_rails3.1_session'
4
4
 
5
5
  # Use the database for sessions instead of the cookie-based default,
6
6
  # which shouldn't be used to store highly confidential information
7
7
  # (create the session table with "rails generate session_migration")
8
- # Rails3::Application.config.session_store :active_record_store
8
+ # Rails31::Application.config.session_store :active_record_store
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters :format => [:json]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -0,0 +1,4 @@
1
+ Rails31::Application.routes.draw do
2
+ match "test/base" => 'test#base'
3
+ match "test/empty" => 'test#empty'
4
+ end
@@ -0,0 +1,7 @@
1
+ ENV['RAILS_ENV'] = 'test'
2
+ ENV['RAILS_ROOT'] = File.join(File.dirname(__FILE__), 'rails3.1')
3
+
4
+ require File.expand_path('config/environment', ENV['RAILS_ROOT'])
5
+
6
+ require 'rspec/rails'
7
+ require 'capybara/rails'
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edifice
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
+ - 1
8
9
  - 0
9
- version: "1.0"
10
+ version: 1.1.0
10
11
  platform: ruby
11
12
  authors:
12
13
  - Tom Coleman
@@ -16,9 +17,78 @@ autorequire:
16
17
  bindir: bin
17
18
  cert_chain: []
18
19
 
19
- date: 2012-01-17 00:00:00 Z
20
- dependencies: []
21
-
20
+ date: 2012-01-19 00:00:00 Z
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: rake
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 0
33
+ version: "0"
34
+ type: :development
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: rails
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
48
+ type: :development
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: rspec-rails
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
62
+ type: :development
63
+ version_requirements: *id003
64
+ - !ruby/object:Gem::Dependency
65
+ name: capybara
66
+ prerelease: false
67
+ requirement: &id004 !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ hash: 3
73
+ segments:
74
+ - 0
75
+ version: "0"
76
+ type: :development
77
+ version_requirements: *id004
78
+ - !ruby/object:Gem::Dependency
79
+ name: jquery-rails
80
+ prerelease: false
81
+ requirement: &id005 !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ hash: 3
87
+ segments:
88
+ - 0
89
+ version: "0"
90
+ type: :development
91
+ version_requirements: *id005
22
92
  description: The idea here is to communicate which view is rendering to the javascript so that we can call the correct javascript files in an automagical way.
23
93
  email:
24
94
  - tom@thesnail.org
@@ -36,8 +106,18 @@ files:
36
106
  - Gemfile
37
107
  - Gemfile.lock
38
108
  - MIT-LICENSE
39
- - README
109
+ - README.md
40
110
  - Rakefile
111
+ - _site/images/logo_edifice_80x93.png
112
+ - _site/images/text_img_edifice_600x180.png
113
+ - _site/images/text_img_railsway_547x54.png
114
+ - _site/images/text_img_really_450x26.png
115
+ - _site/index.html
116
+ - _site/pygments.css
117
+ - _site/style.css
118
+ - _site/style.scss
119
+ - _site/stylesheets/css/ie.css
120
+ - _site/stylesheets/css/print.css
41
121
  - app/assets/javascripts/edifice.js
42
122
  - app/assets/javascripts/edifice/framework.js
43
123
  - edifice.gemspec
@@ -49,48 +129,34 @@ files:
49
129
  - lib/edifice/renderer.rb
50
130
  - lib/edifice/version.rb
51
131
  - lib/tasks/edifice.rake
52
- - test/rails3/.gitignore
53
- - test/rails3/Gemfile
54
- - test/rails3/Gemfile.lock
55
- - test/rails3/README
56
- - test/rails3/Rakefile
57
- - test/rails3/app/controllers/application_controller.rb
58
- - test/rails3/app/controllers/posts_controller.rb
59
- - test/rails3/app/helpers/application_helper.rb
60
- - test/rails3/app/models/post.rb
61
- - test/rails3/app/views/layouts/application.html.erb
62
- - test/rails3/app/views/posts/new.html.erb
63
- - test/rails3/config.ru
64
- - test/rails3/config/application.rb
65
- - test/rails3/config/boot.rb
66
- - test/rails3/config/database.yml
67
- - test/rails3/config/environment.rb
68
- - test/rails3/config/environments/development.rb
69
- - test/rails3/config/environments/production.rb
70
- - test/rails3/config/environments/test.rb
71
- - test/rails3/config/initializers/backtrace_silencers.rb
72
- - test/rails3/config/initializers/inflections.rb
73
- - test/rails3/config/initializers/mime_types.rb
74
- - test/rails3/config/initializers/secret_token.rb
75
- - test/rails3/config/initializers/session_store.rb
76
- - test/rails3/config/locales/en.yml
77
- - test/rails3/config/routes.rb
78
- - test/rails3/db/seeds.rb
79
- - test/rails3/doc/README_FOR_APP
80
- - test/rails3/lib/tasks/.gitkeep
81
- - test/rails3/public/404.html
82
- - test/rails3/public/422.html
83
- - test/rails3/public/500.html
84
- - test/rails3/public/favicon.ico
85
- - test/rails3/public/images/rails.png
86
- - test/rails3/public/javascripts/.gitkeep
87
- - test/rails3/public/javascripts/application.js
88
- - test/rails3/public/javascripts/jquery-1.5.1.js
89
- - test/rails3/public/robots.txt
90
- - test/rails3/public/stylesheets/.gitkeep
91
- - test/rails3/public/stylesheets/form.css
92
- - test/rails3/script/rails
93
- - test/rails3/vendor/plugins/.gitkeep
132
+ - log/test.log
133
+ - spec/edifice_controller_spec.rb
134
+ - spec/javascript_event_spec.rb
135
+ - spec/pjax_support_spec.rb
136
+ - spec/rails3.1/.gitignore
137
+ - spec/rails3.1/app/assets/images/rails.png
138
+ - spec/rails3.1/app/assets/javascripts/application.js
139
+ - spec/rails3.1/app/assets/javascripts/test/base.js
140
+ - spec/rails3.1/app/assets/javascripts/vendor/jquery-pjax.js
141
+ - spec/rails3.1/app/assets/stylesheets/application.css
142
+ - spec/rails3.1/app/controllers/application_controller.rb
143
+ - spec/rails3.1/app/controllers/test_controller.rb
144
+ - spec/rails3.1/app/views/layouts/application.html.erb
145
+ - spec/rails3.1/app/views/test/base.html.erb
146
+ - spec/rails3.1/app/views/test/empty.html.erb
147
+ - spec/rails3.1/config/application.rb
148
+ - spec/rails3.1/config/boot.rb
149
+ - spec/rails3.1/config/environment.rb
150
+ - spec/rails3.1/config/environments/test.rb
151
+ - spec/rails3.1/config/initializers/backtrace_silencers.rb
152
+ - spec/rails3.1/config/initializers/inflections.rb
153
+ - spec/rails3.1/config/initializers/mime_types.rb
154
+ - spec/rails3.1/config/initializers/secret_token.rb
155
+ - spec/rails3.1/config/initializers/session_store.rb
156
+ - spec/rails3.1/config/initializers/wrap_parameters.rb
157
+ - spec/rails3.1/config/routes.rb
158
+ - spec/rails3.1/log/.gitkeep
159
+ - spec/spec_helper.rb
94
160
  homepage: http://github.com/tmeasday/edifice
95
161
  licenses: []
96
162
 
@@ -125,46 +191,31 @@ signing_key:
125
191
  specification_version: 3
126
192
  summary: Ediface is a Javascript framework released as a rails plugin.
127
193
  test_files:
128
- - test/rails3/.gitignore
129
- - test/rails3/Gemfile
130
- - test/rails3/Gemfile.lock
131
- - test/rails3/README
132
- - test/rails3/Rakefile
133
- - test/rails3/app/controllers/application_controller.rb
134
- - test/rails3/app/controllers/posts_controller.rb
135
- - test/rails3/app/helpers/application_helper.rb
136
- - test/rails3/app/models/post.rb
137
- - test/rails3/app/views/layouts/application.html.erb
138
- - test/rails3/app/views/posts/new.html.erb
139
- - test/rails3/config.ru
140
- - test/rails3/config/application.rb
141
- - test/rails3/config/boot.rb
142
- - test/rails3/config/database.yml
143
- - test/rails3/config/environment.rb
144
- - test/rails3/config/environments/development.rb
145
- - test/rails3/config/environments/production.rb
146
- - test/rails3/config/environments/test.rb
147
- - test/rails3/config/initializers/backtrace_silencers.rb
148
- - test/rails3/config/initializers/inflections.rb
149
- - test/rails3/config/initializers/mime_types.rb
150
- - test/rails3/config/initializers/secret_token.rb
151
- - test/rails3/config/initializers/session_store.rb
152
- - test/rails3/config/locales/en.yml
153
- - test/rails3/config/routes.rb
154
- - test/rails3/db/seeds.rb
155
- - test/rails3/doc/README_FOR_APP
156
- - test/rails3/lib/tasks/.gitkeep
157
- - test/rails3/public/404.html
158
- - test/rails3/public/422.html
159
- - test/rails3/public/500.html
160
- - test/rails3/public/favicon.ico
161
- - test/rails3/public/images/rails.png
162
- - test/rails3/public/javascripts/.gitkeep
163
- - test/rails3/public/javascripts/application.js
164
- - test/rails3/public/javascripts/jquery-1.5.1.js
165
- - test/rails3/public/robots.txt
166
- - test/rails3/public/stylesheets/.gitkeep
167
- - test/rails3/public/stylesheets/form.css
168
- - test/rails3/script/rails
169
- - test/rails3/vendor/plugins/.gitkeep
194
+ - spec/edifice_controller_spec.rb
195
+ - spec/javascript_event_spec.rb
196
+ - spec/pjax_support_spec.rb
197
+ - spec/rails3.1/.gitignore
198
+ - spec/rails3.1/app/assets/images/rails.png
199
+ - spec/rails3.1/app/assets/javascripts/application.js
200
+ - spec/rails3.1/app/assets/javascripts/test/base.js
201
+ - spec/rails3.1/app/assets/javascripts/vendor/jquery-pjax.js
202
+ - spec/rails3.1/app/assets/stylesheets/application.css
203
+ - spec/rails3.1/app/controllers/application_controller.rb
204
+ - spec/rails3.1/app/controllers/test_controller.rb
205
+ - spec/rails3.1/app/views/layouts/application.html.erb
206
+ - spec/rails3.1/app/views/test/base.html.erb
207
+ - spec/rails3.1/app/views/test/empty.html.erb
208
+ - spec/rails3.1/config/application.rb
209
+ - spec/rails3.1/config/boot.rb
210
+ - spec/rails3.1/config/environment.rb
211
+ - spec/rails3.1/config/environments/test.rb
212
+ - spec/rails3.1/config/initializers/backtrace_silencers.rb
213
+ - spec/rails3.1/config/initializers/inflections.rb
214
+ - spec/rails3.1/config/initializers/mime_types.rb
215
+ - spec/rails3.1/config/initializers/secret_token.rb
216
+ - spec/rails3.1/config/initializers/session_store.rb
217
+ - spec/rails3.1/config/initializers/wrap_parameters.rb
218
+ - spec/rails3.1/config/routes.rb
219
+ - spec/rails3.1/log/.gitkeep
220
+ - spec/spec_helper.rb
170
221
  has_rdoc:
data/README DELETED
@@ -1,46 +0,0 @@
1
- Edifice
2
- =======
3
-
4
- Edifice is a Javascript framework released as a rails plugin.
5
-
6
-
7
- framework.js + associated helpers
8
- ---------------------------------
9
-
10
- The idea here is to communicate which view is rendering to the javascript so that we can call the correct javascript files in an automagical way.
11
-
12
- All you need to do is add
13
- <%= edifice_meta_tags %>
14
- to your layout, in the head.
15
-
16
- Then if you render an action, such as users/show, in the layout application, these functions[if they exist] will be fired on these js objects in the following order:
17
-
18
- document.ready:
19
- - usersShow.onReady
20
- - layoutsApplication.onReady
21
- - [widgets are loaded]
22
- - usersShow.onWidgetReady
23
- - layoutsApplication.onWidgetReady
24
-
25
- document.load:
26
- - usersShow.onLoad
27
- - layoutsApplication.onLoad
28
-
29
- suppose we then subsequently load users/edit via ajax, in the layout xhr. Then the following events will fire:
30
- - usersEdit.onAjaxComplete
31
- - layoutsXhr.onAjaxComplete
32
- - usersShow.onAjaxComplete
33
- - layoutsApplication.onAjaxComplete
34
- - [widgets are loaded]
35
- - usersEdit.onWidgetReady
36
- - layoutsXhr.onWidgetReady
37
- - usersShow.onWidgetReady
38
- - layoutsApplication.onWidgetReady
39
-
40
- widgets
41
- -------
42
-
43
- forms
44
- -----
45
-
46
- Copyright (c) 2010 iCyte, released under the MIT license