RE: [htmltmpl] ElseIF syntax...

2002-11-26 Thread simran
Hi Jesse, Thankyou for your email, they were very insightful. I am actually doing it a way that is not too dissimilar to your way now. On some of your points: > Now, you describe a situation where you have "hundreds" of possible errors. > Let's break that down a couple ways: > > 1. Per scre

RE: [htmltmpl] ElseIF syntax...

2002-11-25 Thread Philip S Tellis
Sometime on Nov 25, Jesse Erlbaum assembled some asciibets to say: > speak to. Let me start by describing how I generally implement error > messages in templates: > > The date you entered is invalid. > There is no such widget by that > name. > Error with XYZ. Exactly what I do, except add o

RE: [htmltmpl] ElseIF syntax...

2002-11-25 Thread Jesse Erlbaum
Hi Simran -- > I have a template where i really need to use "else if" conditions? How > do you all handle places where you need to use "else if"? > > A sample of my situation is: > > > Error one occured > > Error two occured > > No error could be determined... > > > If if w

Re: [htmltmpl] ElseIF syntax...

2002-11-21 Thread MArk Williams
, in template errors would be very difficult to maintain. -- Cory -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gabriel Fortuna Sent: Wednesday, November 20, 2002 5:06 AM To: '[EMAIL PROTECTED]' Subject: RE: [htmltmpl] ElseIF syntax... Hi

RE: [htmltmpl] ElseIF syntax...

2002-11-20 Thread simran
I think error messages can be very much a presentation issue... i have included a description of exactly what i am trying to do (hoping that people will have done similar or be able to shed some light from a different direction :-) Basic "Keep them in mind" issues ===

RE: [htmltmpl] ElseIF syntax...

2002-11-20 Thread Cory Trese
- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Gabriel Fortuna > Sent: Wednesday, November 20, 2002 5:06 AM > To: '[EMAIL PROTECTED]' > Subject: RE: [htmltmpl] ElseIF syntax... > > > Hi Simran... > > Bear in mind that

Re: [htmltmpl] ElseIF syntax...

2002-11-20 Thread Kenneth Gonsalves
duhh kg On Wednesday 20 November 2002 15:29, Philip S Tellis wrote: > On Wed, 20 Nov 2002, Kenneth Gonsalves wrote: > > what are the '%' signs for - cant find them in the man page? > > see vanguard compatibility mode -- --- This sf.net email is

RE: [htmltmpl] ElseIF syntax...

2002-11-20 Thread Gabriel Fortuna
Hi Simran... Bear in mind that doing this essentially defeats the main purpose of templates in general, and HTML::Template in particular, which is, namely, to separate logic from presentation. I've had situations where I've needed and elsif here and there, but it's best left in the code.

Re: [htmltmpl] ElseIF syntax...

2002-11-20 Thread Philip S Tellis
On Wed, 20 Nov 2002, Kenneth Gonsalves wrote: > what are the '%' signs for - cant find them in the man page? see vanguard compatibility mode -- The devil can cite Scripture for his purpose. -- William Shakespeare, "The Merchant of Venice" -

Re: [htmltmpl] ElseIF syntax...

2002-11-20 Thread Kenneth Gonsalves
what are the '%' signs for - cant find them in the man page? kg On Wednesday 20 November 2002 14:47, MArk Williams wrote: > We just set the error template var in the cgi/application, to the message > we want to put out and use:- > >%ERROR% > > MArk WIlliams > > simran wrote: > > Hi All, > > >

Re: [htmltmpl] ElseIF syntax...

2002-11-20 Thread MArk Williams
We just set the error template var in the cgi/application, to the message we want to put out and use:- %ERROR% MArk WIlliams simran wrote: Hi All, I have a template where i really need to use "else if" conditions? How do you all handle places where you need to use "else if"? A sample of m