Ahh yer. I applied trim to the key and everything works now.
Thanks. Andy On Dec 9, 4:38 pm, Blair McKenzie <shi...@gmail.com> wrote: > A space perhaps?. If you set values with struct.key, the keys in the dump > are always capitalised. These values were set using the struct["key"] > syntax, which supports non-variable name keys > > Blair > > On Thu, Dec 9, 2010 at 3:51 PM, Cassie Woolley > <cas...@bluerocksoftware.com>wrote: > > > What is interesting is that in your dump there are 2 values inside the > > struct that apparently appear to be called “contactsettinginverse” (see 3 > > rd from the bottom). And the first one appears out of alphabetical order, > > indicating there is something odd about the first one. > > > *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On > > Behalf Of *Andy Heng > > *Sent:* Thursday, 9 December 2010 1:22 PM > > *To:* cfaussie@googlegroups.com > > *Subject:* [cfaussie] Weird Structure Behaviours > > > Hi, > > > This is a very particular behaviour occurred and I'm not sure why it is > > the case. > > > The code is structured in the following: > > > <cfset thisReport.qs.contactsettinginverse = 'true' /> > > ... > > <cfparam name="thisReport.qs.contactsettinginverse" default="false" > > type="boolean" /> > > ... > > <cfdump var="#thisReport#" /> > > <cfdump var="#thisReport.qs#" /> > > <cfdump var="#thisReport.qs.contactsettinginverse#" abort="true"/> > > > (The result of this on the browser is given on the attached image.) > > > And here the weird thing appeared. > > > In the first dump and second dump, it shows that > > thisReport.qs.contactsettinginverse = true. > > But when I attempt to dump thisReport.qs.contactsettinginverse directly > > on the third dump, it returned false > > > So yer, I wonder if someone can spot what I did wrong because I have no > > clue what went wrong here. > > > Thanks, Andy > > > -- > > You received this message because you are subscribed to the Google Groups > > "cfaussie" group. > > To post to this group, send email to cfaus...@googlegroups.com. > > To unsubscribe from this group, send email to > > cfaussie+unsubscr...@googlegroups.com<cfaussie%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/cfaussie?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "cfaussie" group. > > To post to this group, send email to cfaus...@googlegroups.com. > > To unsubscribe from this group, send email to > > cfaussie+unsubscr...@googlegroups.com<cfaussie%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.