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.

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. context object is set in forms's app() method.

NOTE: The form is cleared only the first time form() is called in each request cycle. This is different than the behaviour described in CatalystX::CRUD::Controller.

field_names( context )

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::method().

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:

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.