Class: ODDB::View::Analysis::EmptyResultForm

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

Constant Summary

COMPONENTS =
{
  [0,0,0] =>  :search_query,
  [0,0,1] =>  :submit,
  [0,1]   => :title_none_found,
  [0,2]   => 'e_empty_result',
}
CSS_MAP =
{
  [0,0]     =>  'search',
  [0,1]     =>  'th',
  [0,2,1,1] =>  'atc',
}
CSS_CLASS =
'composite'
EVENT =
:search
FORM_METHOD =
'GET'
SYMBOL_MAP =
{
  :search_query =>  View::SearchBar
}

Instance Method Summary (collapse)

Instance Method Details

- (Object) title_none_found(model, session)



102
103
104
105
# File 'src/view/analysis/result.rb', line 102

def title_none_found(model, session)
  query = session.persistent_user_input(:search_query)
  @lookandfeel.lookup(:title_none_found, query)
end