Typo? <cfesleif>

S and L are switched...

-Cameron

--------------------
Cameron Childress
elliptIQ Inc.
p.770.460.7277.232
f.770.460.0963

> -----Original Message-----
> From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 15, 2001 10:17 AM
> To: CF-Talk
> Subject: Invalid Token in IsDefined
>
>
> OK .. I'm getting an error on line 3 of this custom tag snippet.
> ColdFusion
> says that the '(' is an invalid token.  If I comment out lines 3
> and 4, the
> error goes away and the code works perfectly (except for the condition
> handled by lines 3 and 4).  The syntax is correct as far as I can tell.  I
> get this error whether or not Request.SelectedDay exists.  Any ideas?
>
> 1 <cfif IsDefined('Caller.#Attributes.SelectedDay#') and
> Attributes.SelectedDay neq
> "ThisIsJustAMadeUpNameSoWeDoNotConflictWithAnyRealVariableNames_Day">
> 2     <cfset Attributes.SelectedDay =
> Val(Evaluate('Caller.#Attributes.SelectedDay#'))>
> 3 <cfesleif IsDefined('Request.SelectedDay')>
> 4     <cfset Attributes.SelectedDay = Request.SelectedDay>
> 5 <cfelse>
> 6     <cfset Attributes.SelectedDay = Day(Now())>
> 7 </cfif>
>
> Here's the full error message:
>
> Just in time compilation error
>
> Invalid token found on line 83 at position 20. ColdFusion was
> looking at the
> following text:
>
> (
> Invalid expression element. The usual cause of this error is a misspelling
> in the expression text.
> The last successfully parsed CFML construct was a CFESLEIF tag occupying
> document position (83:1) to (83:9).
>
>
> Todd Ashworth
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to