Class: ODDB::View::Companies::EmptyResultForm

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

Direct Known Subclasses

RootEmptyResultForm

Constant Summary

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



155
156
157
158
# File 'src/view/companies/companylist.rb', line 155

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