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
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
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
, 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
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
===
-
> 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
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
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.
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"
-
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,
> >
>
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
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 my situation is:
Error one occured
Error two occured
No error could be determined...
If if was just two error messages,
12 matches
Mail list logo