Re: [Templates] TT and (sticky) form handling

2003-10-29 Thread Drew Taylor
[EMAIL PROTECTED] 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.

Re: [Templates] TT and (sticky) form handling

2003-10-29 Thread moseley
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. -- Bill Moseley [EMAIL PROTECTED] _

Re: [Templates] TT and (sticky) form handling

2003-10-29 Thread Jesse Sheidlower
On Wed, Oct 29, 2003 at 05:16:09PM -0500, Perrin Harkins wrote: > On Wed, 2003-10-29 at 17:10, Jesse Sheidlower wrote: > > I want to use TT for the usual form-based Web app, > > with the usual features for this--partly populating > > a form based on info stored in a database, keeping > > the values

Re: [Templates] TT and (sticky) form handling

2003-10-29 Thread Jeff Anderson
You can still use CGI to keep form stickieness: [% USE CGI %] [% CGI.start_form %] login: [% CGI.textfield({Name => 'login' Value => params.login Size => 10 Maxlength => 10}) %] password: [% CGI.password_field({Name => 'password' Value => params.password Size => 10 Maxlength => 10}) %]

Re: [Templates] TT and (sticky) form handling

2003-10-29 Thread Perrin Harkins
On Wed, 2003-10-29 at 17:10, Jesse Sheidlower wrote: > I want to use TT for the usual form-based Web app, > with the usual features for this--partly populating > a form based on info stored in a database, keeping > the values in place if you need to return to the > form to have the user correct mis

[Templates] TT and (sticky) form handling

2003-10-29 Thread Jesse Sheidlower
Hi. I'm a new convert to Template Toolkit. I want to use TT for the usual form-based Web app, with the usual features for this--partly populating a form based on info stored in a database, keeping the values in place if you need to return to the form to have the user correct missing/erroneous val

RE: [Templates] configuration files

2003-10-29 Thread Cahill, Earl
> > 1. I am wondering about a good way to handle conf files. I would > > like to be able to do something like this > > > > --index.html > > [% conf = INCLUDE values.conf %] > > ... > > bgcolor = [% conf.bgcolor %] > > Are you using Apache::Template? Because otherwise, I think you'd be > much