Class: ODDB::View::Companies::ExportCSV

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

Constant Summary

CSS_CLASS =
'right'
COMPONENTS =
{
  [0,0] => :submit,
}
EVENT =
:export_csv

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) init



46
47
48
49
50
# File 'src/view/companies/fipi_overview.rb', line 46

def init
  super
  url = @lookandfeel._event_url(:export_csv)
  self.onsubmit = "location.href='#{url}';return false;"
end