Re: StructKeyExists() + dynamic names

2008-11-11 Thread James Holmes
StructKeyExists takes a String as its second argument. 'dp' & daypartID & 'max' is a legitimate string. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2008/11/12 Charlie Griefer <[EMAIL PROTECTED]>: > On Tue, Nov 11, 2008 at 2:31 PM, Won Lee <[EMAIL PROTECTED]> wr

Re: StructKeyExists() + dynamic names

2008-11-11 Thread Won Lee
>structKeyExists(arguments.myStruct, variables['dp' & daypartID & 'max']) > >not sure i'd have expected the syntax you used to work (at least, not >without an evaluate()). don't have any older versions available to test on >tho. > Bah sorry I posted this. My Co-worker came back and said the outp

Re: StructKeyExists() + dynamic names

2008-11-11 Thread Charlie Griefer
On Tue, Nov 11, 2008 at 2:31 PM, Won Lee <[EMAIL PROTECTED]> wrote: > We just upgraded from 7 to 8 and I'm getting some unexpected behavior with > StructKeyExists. > > > > I'm pretty sure this worked before: > > 'max')>.. > structKeyExists(arguments.myStruct, variables['dp' & daypartID & 'max'])

StructKeyExists() + dynamic names

2008-11-11 Thread Won Lee
We just upgraded from 7 to 8 and I'm getting some unexpected behavior with StructKeyExists. I'm pretty sure this worked before: .. Now this always resolves to false no matter what. I can forward the CFDUMP of arguments.mystruct which I'm looking at right now and I clearly see keys of 'dp