NAME

Class::DBI::FormTools - Build forms with multiple interconnected objects.

VERSION

This document describes Class::DBI::FormTools version 0.0.3

SYNOPSIS

package MyApp::Film;
use base 'Class::DBI::FormTools';

Mason example

<%init>
my $o = Film->retrieve(42);
</%init>
<form>
    <input name="<% $o->form_fieldname('title') %>" type="text" value="<% $o->title %>" />
</form>

On the receiving end:

my @objects = Class::DBI::FormTools->formdata_to_objects($quesrstring);

DESCRIPTION

Alpha software - Highly experimental - Everything might change ;)

INTERFACE

form_field

FIXME

form_fieldname

FIXME

formdata_to_objects

FIXME

CONFIGURATION AND ENVIRONMENT

Class::DBI::FormTools requires no configuration files or environment variables.

DEPENDENCIES

Class::DBI

INCOMPATIBILITIES

None reported.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to bug-class-dbi-formtools@rt.cpan.org, or through the web interface at http://rt.cpan.org.

AUTHOR

David Jack Olrik <david@olrik.dk>

LICENCE AND COPYRIGHT

Copyright (c) 2005-2010, David Jack Olrik <david@olrik.dk>. All rights reserved.

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