summaryrefslogtreecommitdiff
path: root/www/p5-CGI-FormBuilder
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-03-16 20:35:21 +0000
committerwiz <wiz@pkgsrc.org>2007-03-16 20:35:21 +0000
commit5d2612a86646e92db60d8bae7b78ac492be8f5bd (patch)
tree960b818a1d7dfcf17b5f30f5d229cbe7b37d529c /www/p5-CGI-FormBuilder
parent85cba6abf64ecf6f69f72d3dff96bc735136867c (diff)
downloadpkgsrc-5d2612a86646e92db60d8bae7b78ac492be8f5bd.tar.gz
Update to 3.0302:
VERSION 3.0301 This is a bugfix release to repair these main items: - optgroups bugfix for complex arrays - removal of HTML::Entities support due to utf8 issues - new es_ES Messages module with better translations - a patch from Mark Hedges to enable plugin modules for mailresults() The rest of the features remain the same as below. VERSION 3.03 Subclassable Fields Each field is now rendered by its own class, named for the field type. For example, text fields are rendered by "CGI::FormBuilder::Field::text". This allows you to create custom field types and plugging them in by creating your own "CGI::FormBuilder::Field::whatever_you_want" module. Thanks to Peter Eichman for his contributions to this scheme. Messages Localization All messages are now handled in a similar way to field types: They are delegated to "CGI::FormBuilder::Messages::locale" where "locale" is the appropriate string such as "en_US" or "da_DK". A number of localizations are included as part of the standard distribution. There are two ways to use these messages: Either the 'auto' messages mode or by specifying a specific locale: my $form = CGI::FormBuilder->new(messages => 'auto'); # check client my $form = CGI::FormBuilder->new(messages => ':da_DK'); # specified You can create your own messages by copying "_example.pm" and modifying it for your language. When using messages in this way, the HTTP Charset is changed to "utf-8". Select optgroup support By using the "field()" option "optgroups", you can now cause select fields to automatically generate optgroup tags: $form->field(name => 'browser', options => \@opt, optgroups => 1); See the documentation on "optgroups" for more details. Data::FormValidator Support Thanks to another great patch from Peter Eichman, "Data::FormValidator" is supported as a validation option to "new()", just by passing it in as an object. See the documentation on "validate" for more information. Option sorting by LABELNAME or LABELNUM You can now sort options by "LABELNAME" or "LABELNUM", similar to the value-based sorting of "NAME" and "NUM". See the documentation for more details. XHTML Compliance Generated code now validates against <http://validator.w3.org>. This includes stuff like lowercase "get" and "post" methods, lowercase "onchange" and "onsubmit" actions, and so on.
Diffstat (limited to 'www/p5-CGI-FormBuilder')
-rw-r--r--www/p5-CGI-FormBuilder/Makefile4
-rw-r--r--www/p5-CGI-FormBuilder/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/www/p5-CGI-FormBuilder/Makefile b/www/p5-CGI-FormBuilder/Makefile
index 13af4e32e14..4ce3afe36d1 100644
--- a/www/p5-CGI-FormBuilder/Makefile
+++ b/www/p5-CGI-FormBuilder/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2006/03/04 21:31:00 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2007/03/16 20:35:21 wiz Exp $
-DISTNAME= CGI-FormBuilder-3.0202
+DISTNAME= CGI-FormBuilder-3.0302
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/}
diff --git a/www/p5-CGI-FormBuilder/distinfo b/www/p5-CGI-FormBuilder/distinfo
index 02639bb309c..4ae7b2be013 100644
--- a/www/p5-CGI-FormBuilder/distinfo
+++ b/www/p5-CGI-FormBuilder/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2006/02/07 11:35:21 abs Exp $
+$NetBSD: distinfo,v 1.5 2007/03/16 20:35:21 wiz Exp $
-SHA1 (CGI-FormBuilder-3.0202.tar.gz) = b86863722b663e99356ba9979cec65385c99100d
-RMD160 (CGI-FormBuilder-3.0202.tar.gz) = 3ee7f6c8a4d41b88cba823cc12a964201b3a12f3
-Size (CGI-FormBuilder-3.0202.tar.gz) = 102786 bytes
+SHA1 (CGI-FormBuilder-3.0302.tar.gz) = 90fd850cfdc96fe3f4d271bd55c74dd0466fa791
+RMD160 (CGI-FormBuilder-3.0302.tar.gz) = 995efe463de9c9d789e3a9bf0c409adfe2d09e60
+Size (CGI-FormBuilder-3.0302.tar.gz) = 139828 bytes