Class: ODDB::View::SuggestAddressComposite

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

Constant Summary

COMPONENTS =
{
  [0,0,0] =>  'suggest_addr_title',
  [0,0,1] =>  :fullname,
  [0,1]   => SuggestAddressForm,
}
CSS_MAP =
{
  [0,0] => 'th',
}
CSS_CLASS =
'composite'
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) fullname(model)



95
96
97
98
99
# File 'src/view/suggest_address.rb', line 95

def fullname(model)
  if(parent = model.pointer.parent.resolve(@session))
    parent.fullname
  end
end