Used in its basic form, this module provides an interface for generating basic

HTML form elements much like HTML::StickyForms does. The main difference is
HTML::SuperForm returns HTML::SuperForm::Field objects rather than plain HTML.
This allows for more flexibilty when generating forms for a complex application.

To get the most out of this module, use it as a base (Super) class for your own
form object which generates your own custom fields. If you don't use it this way,
I guess there's really nothing Super about it. Example are shown later in the document.

The interface was designed with mod_perl and the Template Toolkit in mind,
but it works equally well in any cgi environment.

A dep for www/p5-Gantry

Reported by:    Cezary Morga <cm@therek.net>
This commit is contained in:
Philip M. Gollucci 2009-07-14 23:17:35 +00:00
parent 718714fe82
commit 94b541488f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237825
5 changed files with 68 additions and 0 deletions

View File

@ -434,6 +434,7 @@
SUBDIR += p5-HTML-Fraction
SUBDIR += p5-HTML-RewriteAttributes
SUBDIR += p5-HTML-SBC
SUBDIR += p5-HTML-SuperForm
SUBDIR += p5-HTML-TagFilter
SUBDIR += p5-HTML-Tidy
SUBDIR += p5-HTML-Tiny

View File

@ -0,0 +1,35 @@
# New ports collection makefile for: textproc/p5-HTML-SuperForm
# Date created: 14 Jul 2009
# Whom: Philip M. Goillucci <pgollucci@p6m7g8.com>
#
# $FreeBSD$
#
PORTNAME= HTML-SuperForm
PORTVERSION= 1.05
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Interface Template Toolkit to Lingua::EN::Inflect module
PERL_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN3= HTML::SuperForm.3 \
HTML::SuperForm::Field.3\
HTML::SuperForm::Field::Checkbox.3\
HTML::SuperForm::Field::CheckboxGroup.3\
HTML::SuperForm::Field::Hidden.3\
HTML::SuperForm::Field::Password.3\
HTML::SuperForm::Field::Radio.3\
HTML::SuperForm::Field::RadioGroup.3\
HTML::SuperForm::Field::Select.3\
HTML::SuperForm::Field::Submit.3\
HTML::SuperForm::Field::Text.3\
HTML::SuperForm::Field::Textarea.3
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (HTML-SuperForm-1.05.tar.gz) = 19d8a7255f78d1c7e6690b128f0066c7
SHA256 (HTML-SuperForm-1.05.tar.gz) = 478d44014c74d13bd0e92e2df2aecd6d20b9750ccd1c51c0ed9a9bf080346f37
SIZE (HTML-SuperForm-1.05.tar.gz) = 12977

View File

@ -0,0 +1,11 @@
Used in its basic form, this module provides an interface for generating basic
HTML form elements much like HTML::StickyForms does. The main difference is
HTML::SuperForm returns HTML::SuperForm::Field objects rather than plain HTML.
This allows for more flexibilty when generating forms for a complex application.
To get the most out of this module, use it as a base (Super) class for your own
form object which generates your own custom fields. If you don't use it this way,
I guess there's really nothing Super about it. Example are shown later in the document.
The interface was designed with mod_perl and the Template Toolkit in mind,
but it works equally well in any cgi environment.

View File

@ -0,0 +1,18 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/SuperForm/.packlist
%%SITE_PERL%%/HTML/SuperForm.pm
%%SITE_PERL%%/HTML/SuperForm/Field.pm
%%SITE_PERL%%/HTML/SuperForm/Field/Checkbox.pm
%%SITE_PERL%%/HTML/SuperForm/Field/CheckboxGroup.pm
%%SITE_PERL%%/HTML/SuperForm/Field/Hidden.pm
%%SITE_PERL%%/HTML/SuperForm/Field/Password.pm
%%SITE_PERL%%/HTML/SuperForm/Field/Radio.pm
%%SITE_PERL%%/HTML/SuperForm/Field/RadioGroup.pm
%%SITE_PERL%%/HTML/SuperForm/Field/Select.pm
%%SITE_PERL%%/HTML/SuperForm/Field/Submit.pm
%%SITE_PERL%%/HTML/SuperForm/Field/Text.pm
%%SITE_PERL%%/HTML/SuperForm/Field/Textarea.pm
@dirrm %%SITE_PERL%%/HTML/SuperForm/Field
@dirrm %%SITE_PERL%%/HTML/SuperForm
@dirrmtry %%SITE_PERL%%/HTML
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/SuperForm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML