Class: ODDB::View::ExceptionComposite

Inherits:
HtmlGrid::Form
  • Object
show all
Defined in:
src/view/exception.rb

Constant Summary

COMPONENTS =
{
  [0,0,0] =>  :search_query,
  [0,0,1] =>  :submit,
  [0,1]   => :exception_header,
  [0,2]   => :exception,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] =>  'search',  
  [0,1] =>  'th',
  [0,2] =>  'error',
}
EVENT =
:search
SYMBOL_MAP =
{
  :search_query     =>  SearchBar, 
  :exception_header =>  HtmlGrid::Text,
}

Instance Method Summary (collapse)

Instance Method Details

- (Object) exception(model, session)



29
30
31
# File 'src/view/exception.rb', line 29

def exception(model, session)
  HtmlGrid::Text.new(model.message, model, session, self)
end