On Tue, Nov 04, 2003 at 05:31:38PM -0500, Perrin Harkins wrote:
> On Tue, 2003-11-04 at 17:12, Jesse Sheidlower wrote:
> > Thanks. I'll try this. Will probably be a pain to figure out the
> > necessary overrides and so forth for those times when I'm not
> > using the database values, but I'll try.
> 
> What are you trying to do?  It's easy to merge data if you can get it
> into hashes with common names.  For example:

Oh, nothing at all special. I have an add/edit form, and if it's
an edit pass, I pre-populate the form with values drawn from the
database. There's a little munging involved, since for example
I store dates in ISO 2003-11-04 in the database, but then split
them into three separate form fields (popup menus for day and month,
textfield for the year), but nothing too fancy.

That sort of thing. Right now I'm using straight DBI, but perhaps
I'll eventually move to Class::DBI.

Best,

Jesse

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to