NAME

HTML::FormFu::ExtJS::Element::_Field

VERSION

version 0.090

record

record returns a HashRef with contains all informations to create a record field from this field element.

  $class->record( $element );

You can override the default values by passing an extra hashref.

  $class->record( $element, { mapping => 'myname', type => 'mytype' } );

column_model

column_model returns a HashRef with contains all informations to create an entry for a column model from this field element.

  $class->column_model( $element );

All attributes that were given to the element configuration are added to the column model:

  - type: Text
    attrs:
      width: 150

You can override the defaults by passing a hashref:

  $class->column_model( $element, { dataIndex => 'myIndex' } );

AUTHOR

Moritz Onken <onken@netcubed.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Moritz Onken.

This is free software, licensed under:

  The (three-clause) BSD License