Class: OMF::Web::Widget::Log::LogWidget

Inherits:
AbstractDataWidget
  • Object
show all
Defined in:
lib/omf-web/widget/UNUSED/log/log_widget.rb

Overview

Maintains the context for a particular log rendering within a specific session. It is primarily called upon maintaining communication with the browser and will create the necessary html and javascript code for that.

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ LogWidget

Returns a new instance of LogWidget.



14
15
16
17
18
19
20
# File 'lib/omf-web/widget/UNUSED/log/log_widget.rb', line 14

def initialize(opts = {})
  opts[:name] ||= 'Log'
  opts[:js_url] = 'log/table.js'
  opts[:js_class] = 'OML.log_table'
  #opts[:widget_class] = OMF::Web::Widget::AbstractDataWidget 
  super opts
end