[Templates] TT and (sticky) form handling
Drew Taylor
drew@drewtaylor.com
Thu, 30 Oct 2003 01:26:27 -0500
moseley@hank.org said on 10/29/2003 9:33 PM:
> On Wed, Oct 29, 2003 at 05:16:09PM -0500, Perrin Harkins wrote:
>
>>The gist is that most people either use CGI.pm via the CGI plugin or use
>>TT tags to make values sticky, e.g. VALUE="[% cgi_args.value %]"
>
>
> I've also used HTML::FillInForm.
I second that. I'm currently using it on a mission-critical app at work
and It Just Works (and does it quickly too!). I'm using CGI::Application
and do something like this:
sub print_form {
...
return $self->process("some text", $data);
}
sub process {
my ($self, $text, $data) = @_
my $fif = HTML::FillInForm->new(); # look real usage up :-)
return $fif->the_method($text, $data);
}
--
---------------------------------------------------------
Drew Taylor * Web app development & consulting
drew@drewtaylor.com * Site implementation & hosting
www.drewtaylor.com * perl/mod_perl/DBI/mysql/postgres
---------------------------------------------------------