Class: UU::OS::VUC::AttachmentDispatcher

Inherits:
Object
  • Object
show all
Defined in:
uu_adk-0.28.16/lib/uu/os/vuc/attachment_dispatcher.rb

Overview

Class for dispatching controllers stored as attachments. All controllers should define only event handling methods. It is not recommended for controllers stored as attachments to inherit from any class (including FormController).

Examples:

Event method definition:

def on_<%event_code%>(view)
  # 1. process and modify view
  # 2. return status from {UU::OS::VUC::HTTPStatus}
  #    (optional, 200/OK is returned if not defined)
end