OpusVL::AppKit::Action::AppKitForm
version 2.24
package TestX::CatalystX::ExtensionA::Controller::ExtensionA sub formpage :Local :AppKitForm("admin/users/userform.yml") { my ($self, $c) = @_; $self->stash->{form} $c->stash->{template} = 'formpage.tt'; }
When extension plugins for the AppKit are written they often use FormFu. The Confguration file these extentions FormFu bits can be tricky to load, what with all the namespace changes that occur. This action class helps in making things more tidy. Basically this is just uses File::ShareDir (with the 'appkit_myclass' config key) to find the dir and looks for the config file like so './root/forms/<actionname>.yml' .. or if you passed an argument, it will look for './root/forms/ARGUMENT0'
OpusVL::AppKit::Action::AppKitForm - Action class for OpusVL::AppKit FormConfig Loading
L<Catalyst> L<OpusVL::AppKit::Base::Controller::GUI>
OpusVL - www.opusvl.com
This software is copyright (c) 2010 by OpusVL - www.opusvl.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install OpusVL::AppKit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpusVL::AppKit
CPAN shell
perl -MCPAN -e shell install OpusVL::AppKit
For more information on module installation, please visit the detailed CPAN module installation guide.