NAME
CatalystX::CRUD::Controller::RHTMLO - Rose::HTML::Objects CRUD controller
SYNOPSIS
see CatalystX::CRUD::Controller
DESCRIPTION
This is an implementation of CatalystX::CRUD::Controller for Rose::HTML::Objects. It supercedes Catalyst::Controller::Rose for basic CRUD applications.
METHODS
The following methods are new or override base methods.
create
Attribute: Local
Overrides base create() to optionally pre-populate form with param-based values.
form( [ context ] )
Returns an instance of config->{form_class}. A single form object is instantiated and cached in the controller object. The form's clear() method is called before returning. If context object is passed it is stashed via the forms's app() method.
NOTE: The form is cleared only the first time form() is called in each request cycle, and only if content is present. This is different than the behaviour described in CatalystX::CRUD::Controller.
field_names
Returns an array ref of the field names in form.
all_form_errors
Convenience method for aggregating all form errors. Returns a single scalar string.
form_to_object( context )
Overrides base method.
do_search( context, arg )
Makes form values sticky then calls the base do_search() method with NEXT.
AUTHOR
Peter Karman, <karman at cpan dot org>
BUGS
Please report any bugs or feature requests to bug-catalystx-crud-controller-rhtmlo at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CatalystX-CRUD-Controller-RHTMLO. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc CatalystX::CRUD::Controller::RHTMLO
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
http://cpanratings.perl.org/d/CatalystX-CRUD-Controller-RHTMLO
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=CatalystX-CRUD-Controller-RHTMLO
Search CPAN
http://search.cpan.org/dist/CatalystX-CRUD-Controller-RHTMLO
COPYRIGHT & LICENSE
Copyright 2007 Peter Karman, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.