Dave/Tony,

In your specific example, you should be able to get it to work.  I do this
quite often with CFLOCATION.  You do need to bracket the cflocation tag in a
cfoutput to get it to work.


With Regards,
Lonny Eckert
Mi Services Group, Inc. (formerly Hesta Corporation)
Work Phone:     610-230-2500 x147
E-mail:  [EMAIL PROTECTED]
www.mi-services.com; www.hestacorp.com



> Subject: cfif inside cflocation?
> ...
> why would this crap out?

I don't think you can use a CFML tag within the attribute value of another
CFML tag. You can nest tags, but that's not what you're doing.

> also, is there a better way to do this?

There would have to be a better way, since this way doesn't work at all. I'm
not sure what the best way would be, since I'm a bit hazy on what exactly
you're doing, but you could simply build the string before you do the
CFLOCATION.


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to