Jay Kuri > Form-Sensible > Form::Sensible::Field::SubForm

Download:
Form-Sensible-0.20023.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

NAME ^

Form::Sensible::Field::SubForm - encapsulate an entire form within another.

SYNOPSIS ^

    use Form::Sensible::Field::SubForm;
    
    my $object = Form::Sensible::Field::SubForm->new( form => $otherform );

    $object->do_stuff();

DESCRIPTION ^

The subform Field type allows you to embed one form within another. The fields in the subform are submitted and validated as though they belong to the primary form, meaning the fieldnames are used 'as is.' Please note that this feature is experimental at best and how it is used is still subject to change.

ATTRIBUTES ^

form

The sub-form to include into this field.

METHODS ^

get_additional_configuration($template_only)

Returns the name and content of the attributes for this field in a hash ref.

MOOSE CLASS METHODS ^

BUILDARGS(%params|$params)

See Moose::Object. Calls other BUILDARGS in the inheritance hiearchy after first seeing if there is a farm that has been passed in and needs to be created for the object to be instantiated.

BUILD

Sets the render_hints for this field to 'subform'.

AUTHOR ^

Jay Kuri - <jayk@cpan.org>

SPONSORED BY ^

Ionzero LLC. http://ionzero.com/

SEE ALSO ^

Form::Sensible

LICENSE ^

Copyright 2009 by Jay Kuri <jayk@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: