Re: [htmltmpl] Template Error Managment

2006-04-28 Thread Jamie Krasnoo
IL PROTECTED] On > Behalf Of Jamie Krasnoo > Sent: Friday, 28 April 2006 08:15 > To: html-template-users@lists.sourceforge.net > Subject: [htmltmpl] Template Error Managment > > > Hi all, > > I was just wondering what some of you do for displaying > Errors to forms and

RE: [htmltmpl] Template Error Managment

2006-04-27 Thread Dan Horne
To: html-template-users@lists.sourceforge.net > Subject: [htmltmpl] Template Error Managment > > > Hi all, > > I was just wondering what some of you do for displaying > Errors to forms and other sections of your script through > HTML::Template. I'm currently using CGI::Application and

Re: [htmltmpl] Template Error Managment

2006-04-27 Thread Mathew Robertson
In our application we use an "errors" TMPL_LOOP variable -> the application code populates this variable with any errors, as in: push @errors, { message => translate("Some error text") }; then the templates: where errors.tmpl contains ... ... ... ... Hope this helps, Mathew Ja

[htmltmpl] Template Error Managment

2006-04-27 Thread Jamie Krasnoo
Hi all, I was just wondering what some of you do for displaying Errors to forms and other sections of your script through HTML::Template. I'm currently using CGI::Application and Data::FormValidator with H::T and I'm finding that I'm defining errors within the template and using to display them i