CGI::Bus::wg - Widgets
use CGI::Bus; $s =CGI::Bus->new(); $s->wg->ddlb(...);
This module is a collection of HTML widgets. Some of them are extended envelopes of CGI methods. The others are associated with a several basic HTML widgets.
See CGI::Bus::Base for inherited slots and methods.
None
Generate input helper drop-down list box HTML. Name is used as the common part of names of the HTML widgets - submits, scrolling_list, buttons, which names are generated by appending '_' sign and suffix. Data may be array ref with list of values, hash ref with internal and external values, sub{} to produce above. Other arguments are field names to fill with values. Field names with leading \t corresponds to multivalue fields.
Generate filesystem directory editor HTML. This may be IE HTML IFRAME tag pointed to filesystem, URLs, or filefield for upload files and checkboxes to delete. Name is used as the common part of names of the HTML widgets. 'index.html' or 'index.htm' file may be embedded below file list when view mode.
Like CGI::textarea call, but with additional attributes: -arows=>min autosizes widget to it's content. -hrefs=>1 searches HTML hyperlinks in content and displays them. -htmlopt=>1 is to autodetect and use in view mode HTML data format, it is ignored (deleted).
CGI::textarea
Like CGI::textfield call, but with additional attributes: -asize=>min autosizes widget to it's content.
CGI::textfield
Implemented and Documented. Widgets developed in CGI::Bus since 20/12/2001.
Review.
Andrew V Makarow <makarow@mail.com>
2 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head2'
'=item' outside of any '=over'
To install CGI::Bus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Bus
CPAN shell
perl -MCPAN -e shell install CGI::Bus
For more information on module installation, please visit the detailed CPAN module installation guide.