Class: Ezframe::SinglePageEditor
- Includes:
- EditorCommon, PageKit::Default, PageKit::Delete, PageKit::Detail, PageKit::Edit, PageKit::Index
- Defined in:
- lib/ezframe/single_page_editor.rb
Overview
ページ遷移無しでデータを編集する仕組み
Instance Attribute Summary
Attributes inherited from PageBase
Instance Method Summary collapse
Methods included from PageKit::Delete
Methods included from PageKit::Detail
#button_for_detail_box, #make_detail_line, #public_detail_post
Methods included from PageKit::Edit
#act_after_cancel, #act_after_edit, #make_edit_form, #public_create_post, #public_edit_post
Methods included from PageKit::Index
#button_for_index_line, #list_for_index, #make_index_column, #make_index_line, #make_index_table, #make_index_top
Methods included from PageKit::Default
#public_default_get, #public_default_post
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
14 15 16 17 18 19 20 |
# File 'lib/ezframe/single_page_editor.rb', line 14 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"} # @show_delete_button = nil end |