Class: ODDB::View::Companies::CompaniesComposite

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

Direct Known Subclasses

RootCompaniesComposite, UnknownCompaniesComposite

Constant Summary

CSS_CLASS =
'composite'
COMPONENTS =
{
  [1,0,0] =>  :search_query,
  [1,0,1] =>  :submit,
  [0,1]   => :company_list,
}
EVENT =
:search
SYMBOL_MAP =
{
  :search_query     =>  View::SearchBar,  
}
COLSPAN_MAP =
{
  [0,1] => 2, 
}
CSS_MAP =
{
  [0,0] =>  'list',
  [1,0] =>  'right',
}
LEGACY_INTERFACE =
false

Constants included from FormMethods

ACCEPT_CHARSET, DEFAULT_CLASS, EVENT

Instance Method Summary (collapse)

Methods included from FormMethods

#delete_item, #delete_item_warn, #get_event_button, #post_event_button

Instance Method Details

- (Object) company_list(model, session = @session)



100
101
102
# File 'src/view/companies/companylist.rb', line 100

def company_list(model, session=@session)
  self::class::COMPANY_LIST.new(model, @session, self)
end