Jifty::Plugin::AutoReference::Widget - an autocomplete widget for references
use MyApp::Record schema { column employer => references MyApp::Model::Company, label is 'Employer', is AutoReference, ; };
Provides a special autocomplete widget that can be useful when there are too many items for a Select box to be practical.
WARNING: As of this writing, it should be noted that this widget does not degrade gracefully. If you need a widget that operates properly even when JavaScript is unavailable, this widget won't do that job at this time.
Overrides the field renderer to force autocompletion to be turned on.
Overrides the widget renderer to draw both a hidden field that stores the actual referenced ID and a text field that is autocompleted using the records brief description.
Overrides the value renderer to show the brief description of the referenced record.
Overrides the JavaScript autocompletion widget to use Jifty.Plugin.AutoReference instead of the regular Jifty.Autocompleter.
Jifty.Plugin.AutoReference
Jifty.Autocompleter
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
<hanenkamp@cpan.org>
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.
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.