Class: ODDB::View::Migel::SubgroupComposite

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/migel/subgroup.rb

Constant Summary

CSS_CLASS =
'composite'
COMPONENTS =
{
  [0,0] =>  'migel_product',
  [0,1] =>  SubgroupInnerComposite,
  [0,2] => :products,
}
CSS_MAP =
{
  [0,0] =>  'th',
  [0,2] =>  'list',
}
DEFAULT_CLASS =
HtmlGrid::Value
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) products(model)



95
96
97
98
99
100
# File 'src/view/migel/subgroup.rb', line 95

def products(model)
  prod = model.products.values
  if(!prod.empty?)
    ProductList.new(prod, @session, self)
  end
end