netzke-basepack 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +22 -1
- data/Rakefile +1 -1
- data/lib/netzke/active_record/attributes.rb +1 -1
- data/lib/netzke/basepack/action_column.rb +70 -0
- data/lib/netzke/basepack/action_column/javascripts/action_column.js +61 -0
- data/lib/netzke/basepack/data_accessor.rb +12 -17
- data/lib/netzke/basepack/form_panel.rb +5 -4
- data/lib/netzke/basepack/form_panel/fields.rb +1 -1
- data/lib/netzke/basepack/form_panel/javascripts/form_panel.js +3 -3
- data/lib/netzke/basepack/grid_panel.rb +81 -30
- data/lib/netzke/basepack/grid_panel/columns.rb +20 -9
- data/lib/netzke/basepack/grid_panel/javascripts/event_handling.js +0 -1
- data/lib/netzke/basepack/grid_panel/javascripts/grid_panel.js +1 -1
- data/lib/netzke/basepack/grid_panel/record_form_window.rb +5 -5
- data/lib/netzke/basepack/grid_panel/services.rb +0 -1
- data/lib/netzke/basepack/version.rb +1 -1
- data/netzke-basepack.gemspec +11 -6
- data/test/basepack_test_app/Gemfile.lock +1 -1
- data/test/basepack_test_app/app/components/author_grid.rb +1 -5
- data/test/basepack_test_app/app/components/book_form.rb +25 -24
- data/test/basepack_test_app/app/components/book_grid.rb +6 -9
- data/test/basepack_test_app/app/components/book_grid_with_column_actions.rb +15 -0
- data/test/basepack_test_app/app/components/book_grid_with_custom_columns.rb +16 -23
- data/test/basepack_test_app/app/components/book_grid_with_default_values.rb +5 -7
- data/test/basepack_test_app/app/components/book_grid_with_extra_feedback.rb +2 -5
- data/test/basepack_test_app/app/components/book_grid_with_overridden_columns.rb +15 -0
- data/test/basepack_test_app/app/components/book_grid_with_persistence.rb +0 -1
- data/test/basepack_test_app/app/components/book_paging_form_panel.rb +2 -2
- data/test/basepack_test_app/app/components/user_form.rb +16 -19
- data/test/basepack_test_app/app/components/user_grid.rb +6 -8
- data/test/basepack_test_app/db/migrate/20110909071740_add_published_on_to_books.rb +5 -0
- data/test/basepack_test_app/db/schema.rb +2 -1
- data/test/basepack_test_app/features/form_panel.feature +11 -0
- data/test/basepack_test_app/features/grid_panel.feature +34 -33
- data/test/basepack_test_app/features/grid_panel_filters.feature +61 -0
- data/test/basepack_test_app/features/paging_form_panel.feature +7 -30
- data/test/basepack_test_app/features/step_definitions/grid_panel_steps.rb +28 -0
- metadata +15 -10
- data/lib/netzke/basepack/grid_panel/multi_edit_form.rb +0 -16
@@ -1,16 +0,0 @@
|
|
1
|
-
module Netzke
|
2
|
-
module Basepack
|
3
|
-
class GridPanel < Netzke::Base
|
4
|
-
class MultiEditForm < FormPanel
|
5
|
-
|
6
|
-
# Replace checkbox for boolean fields with tristate checkbox
|
7
|
-
def attr_type_to_xtype_map
|
8
|
-
super.merge({
|
9
|
-
:boolean => :tricheckbox
|
10
|
-
})
|
11
|
-
end
|
12
|
-
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|