Re: [htmltmpl] Template Error Managment

2006-04-28 Thread Jamie Krasnoo
Thanks Dan, Good suggestion. I'll look in to it. On 4/27/06, Dan Horne <[EMAIL PROTECTED]> wrote: Hi Since you're using CGI::Application, have a look at CGI::Application::Plugin::MessageStack Dan > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf O

RE: [htmltmpl] Template Error Managment

2006-04-27 Thread Dan Horne
Hi Since you're using CGI::Application, have a look at CGI::Application::Plugin::MessageStack Dan > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jamie Krasnoo > Sent: Friday, 28 April 2006 08:15 > To: html-template-users@lists.sourceforge.net

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