NAME

Jifty::Plugin::AutoReference - a plugin to provide a special reference completer

SYNOPSIS

Add this to your config.yml:

Plugins:
 - AutoReference: {}

and then this to your models:

use MyApp::Record schema {
    column employer =>
        references MyApp::Model::Company,
        label is 'Employer',
        is AutoReference,
        ;
};

DESCRIPTION

Provides a special autocompletion widget for reference columns. See Jifty::Plugin::AutoReference::Widget.

METHODS

init

Adds the autoreference.js file to the JavaScript files to send to the browser.

AUTHORS

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2007 Boomer Consulting, Inc. All Rights Reserved.

This program is free software and may be modified and distributed under the same terms as Perl itself.