Class: ODDB::View::Migel::EmptyResultForm

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

Constant Summary

COMPONENTS =
{
  [0,0,0] =>  :search_query,
  [0,0,1] =>  :submit,
  [0,1]   => :title_none_found,
  [0,2]   => 'e_empty_result',
  [0,3]   => 'e_empty_migel_result',
}
CSS_MAP =
{
  [0,0]     =>  'search',  
  [0,1]     =>  'th',
  [0,2,1,2] =>  'list 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)



150
151
152
153
# File 'src/view/migel/result.rb', line 150

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