- COPYRIGHT & LICENSE
CatalystX::CRUD::YUI - YUI for your CatalystX::CRUD view
package MyApp::Controller::Foo; use strict; use base qw( CatalystX::CRUD::YUI::Controller CatalystX::CRUD::Controller::RHTMLO ); # config here -- see CatalystX::CRUD::Controller docs 1;
CatalystX::CRUD::YUI is a crud application using the Yahoo User Interface and ExtJS toolkits, and CatalystX::CRUD components. It is derived largely from the Rose::DBx::Garden::Catalyst project but now with support for DBIx::Class via the CatalystX::CRUD::ModelAdapter::DBIC package.
The t/ test directly for this package contains two full Catalyst applications, one for RDBO and one for DBIC, both using the same basic db schema. Looking at those examples is a good way to start.
Only new or overridden method are documented here.
new( opts )
livegrid( opts )
Returns a CatalystX::CRUD::YUI::LiveGrid object ready for the livegrid_*.tt templates.
opts should consist of:
results may be either a CatalystX::CRUD::Results object or a CatalystX::CRUD::Object object.
The Catalyst::Controller instance for the request.
The current Form object. The Form class should be Rose::HTMLx::Form::Related, a subclass thereof, or a class with a corresponding API.
If results is a CatalystX::CRUD::Object object, then a rel_info should be passed indicating which relationship to pull data from.
Optional arrayref of field names to include. Defaults to form->meta->field_methods().
Returns new Serializer object of type serializer_class().
Please report any bugs or feature requests to
email@example.com, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
The Minnesota Supercomputing Institute
http://www.msi.umn.edu/ sponsored the development of this software.
COPYRIGHT & LICENSE
Copyright 2008 by the Regents of the University of Minnesota.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.