Class: ODDB::View::Companies::RootCompaniesComposite

Inherits:
CompaniesComposite show all
Includes:
NewCompany
Defined in:
src/view/companies/companylist.rb

Constant Summary

COMPANY_LIST =
RootCompanyList
COMPONENTS =
{
  [0,0]   =>  :listed_companies,
  [1,0,0] =>  :search_query,
  [1,0,1] =>  :submit,
  [0,1]   => :company_list,
  [0,2]   => :new_company,
}

Constants inherited from CompaniesComposite

COLSPAN_MAP, COMPONENTS, CSS_CLASS, CSS_MAP, EVENT, LEGACY_INTERFACE, SYMBOL_MAP

Constants included from FormMethods

ACCEPT_CHARSET, DEFAULT_CLASS, EVENT

Instance Method Summary (collapse)

Methods included from NewCompany

#new_company

Methods inherited from CompaniesComposite

#company_list

Methods included from FormMethods

#delete_item, #delete_item_warn, #get_event_button, #post_event_button

Instance Method Details

- (Object) listed_companies(model)



126
127
128
129
130
131
# File 'src/view/companies/companylist.rb', line 126

def listed_companies(model)
  link = HtmlGrid::Link.new(:listed_companies, model, @session, self)
  link.href = @lookandfeel._event_url(:listed_companies)
  link.css_class = 'list'
  link
end