Re: CF5 Structure Question

2006-09-08 Thread Cutter (CFRelated)
Doug, you are DA MAN! Thanks a lot. (All of the template code will eventually end up in that tutorial I keep trying to finish, eventually, on my blog.) Cutter Doug Boude (rhymes with 'loud') wrote: > Hey Cutter. Initially it threw me an error, but only because > variables.standardSideNav didn'

Re: CF5 Structure Question

2006-09-08 Thread rhymes with 'loud'
>Thanks Doug. Taking what Charlie sent in as well, it would appear that I >would not be able to reference variables.headerImages as a struct (even >though variables would be the struct). Could you replace the >structkeyexists(variables, "headerImages) line with >isdefined("variables.headerImage

Re: CF5 Structure Question

2006-09-08 Thread Cutter (CFRelated)
Thanks Doug. Taking what Charlie sent in as well, it would appear that I would not be able to reference variables.headerImages as a struct (even though variables would be the struct). Could you replace the structkeyexists(variables, "headerImages) line with isdefined("variables.headerImages") a

Re: CF5 Structure Question

2006-09-08 Thread rhymes with 'loud'
Hi there. Since we're still using CF 5 at work, I went ahead and tried to run your code, and got the following error: Error Occurred While Processing Request Error Diagnostic Information An error occurred while evaluating the expression: if (not structkeyexists(variables,"headerImag

Re: CF5 Structure Question

2006-09-08 Thread Charlie Griefer
that all looks OK. as far as i know, the only thing you can do (but shouldn't really) in CFMX+ that you couldn't do in CF5 or earlier is to implicitly create structures. <-- creates a simple variable in the variables scope named 'foo.bar' in CF5 <-- creates a structure in the variables scope

CF5 Structure Question

2006-09-08 Thread Cutter (CFRelated)
Well, I have a small contract project I am working on. Their only hiccup requirement is that everything works on CF5. Unfortunately I do not have CF5 to test on, and it has been some time since I had to development for this older platform. I'm confident about most everything within my code, wit