Class: Ezframe::MainEditor
- Includes:
- EditorCommon, Ezframe::MainPageKit::Default, Ezframe::MainPageKit::Detail, Ezframe::MainPageKit::Edit, Ezframe::MainPageKit::Index
- Defined in:
- lib/ezframe/main_editor.rb
Instance Attribute Summary
Attributes inherited from PageBase
Instance Method Summary collapse
Methods included from Ezframe::MainPageKit::Detail
#list_for_index, #make_detail_page, #make_detail_table
Methods included from Ezframe::MainPageKit::Edit
#count_errors, #edit_cancel_button, #exec_completion, #full_validation, #make_create_button, #make_edit_form, #public_create_get, #public_create_post, #public_edit_post, #show_validate_result, #single_validation
Methods included from Ezframe::MainPageKit::Index
#make_index_table, #make_index_top, #public_default_post
Methods included from Ezframe::MainPageKit::Default
Methods included from EditorCommon
#create_data, #get_id, #make_cancel_button, #make_create_button, #make_delete_button, #make_edit_button, #make_form, #show_label_edit, #show_label_view, #show_message_page, #update_data
Methods inherited from PageBase
#initialize, #login?, #make_base_url, #parse_json_body, #session, #set_request, #show_base_template, #user, #warden
Constructor Details
This class inherits a constructor from Ezframe::PageBase
Instance Method Details
#init_vars ⇒ Object
12 13 14 15 16 17 |
# File 'lib/ezframe/main_editor.rb', line 12 def init_vars super @sort_key = :id @event = @parsed_body[:ezevent] if @parsed_body @dom_id = { create: "create-area", edit: "edit-area", index: "index-area", detail: "detail-area"} end |