NAME

OpusVL::AppKit::Action::AppKitForm

VERSION

version 2.29

SYNOPSIS

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';
}

DESCRIPTION

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'

NAME

OpusVL::AppKit::Action::AppKitForm - Action class for OpusVL::AppKit FormConfig Loading

SEE ALSO

L<Catalyst>
L<OpusVL::AppKit::Base::Controller::GUI>

execute Method called when an action is requested that has the 'AppKitForm' attribute.

AUTHOR

OpusVL - www.opusvl.com

COPYRIGHT AND LICENSE

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.