Lisa post your code there must be something else in the file causing this,
like another missing tag somewhere else.



Regards,
Andrew Scott
 
Quote of the Day:
IBM: Icons Bygones My Mom's
-----Original Message-----
From: Lisa Deemy [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 16 October 2005 1:42 PM
To: CF-Newbie
Subject: RE: cfelse or cfelseif or neither

Andrew,
Thank you, I tried that, but got the error:

Error: Context validation error for tag cfswitch. The start tag must have a
matching end tag. An explicit end tag can be provided by adding </cfswitch>.
If the body of the tag is empty you can use the shortcut <cfswitch .../>.

The CFML compiler was processing:

    * a cfdefaultcase tag beginning on line 26, column 26.


The error occurred on line -1.

I copied it right from your e-mail, and it does have the end tag.

But, maybe I didn't give enough information.
The user clicks one link and gets taken to the category 103 listing or
another and gets taken to the 100 listing.
I'll give all the code if you wish...
Lisa



At 01:23 PM 10/16/05 +1000, you wrote:
>Lisa,
>
>The code snippet you posted is incorrect. You might need to post
everything,
>but before you go that far the cfif/cfelse works like this.
>
><cfif condition>
> Condition true
><cfelse>
> Condition false
><cfelseif new condition>
> New true condition
><cfelseif another new condition>
> Another New true condition
></cfif
>
>But if it was me..
>
><cfswitch expression="#url.cat_id#">
> <cfcase value="103"> Is 103 </cfcase>
> <cfcase value="100,106"> Is 100 or 106</cfcase>
> <defaultcase> Default </cfdefaultcase>
></cfswitch>
>
>Regards,
>Andrew Scott
> 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1446
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to