Class: HtmlGrid::Component

Inherits:
Object show all
Defined in:
src/view/htmlgrid/component.rb

Direct Known Subclasses

ODDB::View::Ajax::DDDChart, ODDB::View::Ajax::Json, ODDB::View::Companies::FiPiCsv, ODDB::View::CompanyLogo, ODDB::View::Drugs::CsvResult, ODDB::View::GoogleAdSense, ODDB::View::Interactions::CyP450List, ODDB::View::Interactions::FiList, ODDB::View::PayPal::Redirect, ODDB::View::PopupLogo, ODDB::View::Rss::Fachinfo, ODDB::View::Rss::Feedback, ODDB::View::Rss::MiniFi, ODDB::View::Rss::Package, ODDB::View::SponsorLogo, ODDB::View::VCard

Instance Method Summary (collapse)

Instance Method Details

- (Object) additional_javascripts

additional_javascripts should possibly be moved to htmlgrid proper.



20
21
22
# File 'src/view/htmlgrid/component.rb', line 20

def additional_javascripts
  @additional_javascripts || (@container.additional_javascripts if @container)
end

- (Object) dynamic_html(context) Also known as: oddb_dynamic_html



11
12
13
14
15
16
17
# File 'src/view/htmlgrid/component.rb', line 11

def dynamic_html(context)
  if(@lookandfeel.enabled?(:ajax))
    oddb_dynamic_html(context)
  else
    dojo_dynamic_html(context)
  end
end