The value for label can be any value you want... literal string or variable.
On Fri, Dec 24, 2010 at 7:33 PM, Eric Roberts <[email protected]> wrote: > > Any way to ge that dynamically label structures instead of just putting > array or struct? > > -----Original Message----- > From: Charlie Griefer [mailto:[email protected]] > Sent: Friday, December 24, 2010 19:51 > To: cf-talk > Subject: Re: Diplaying struct info when you dump an array with strcts in > it's elements... > > > You can add the "label" attribute? > > <cfdump var="#myStruct1#" label="myStruct1" /> > > <cfdump var="#myOtherStruct#" label="a different struct" /> > > On Fri, Dec 24, 2010 at 6:21 PM, Eric Roberts > <[email protected]> wrote: >> >> Is there a way to get cfdump to display the struct name when it dumps? >> I have an array that contains a struct and I am having some issues >> adding some vars for display so I want to make sure I am addressing it > correctly. >> Currently, all cfdump shows is the word "struct". It looks like >> everything is addressed properly, but I am getting errors saying that >> the vars aren't defined. I am learning a new application (new >> position) so I am immersed in a rather steep learning curve at the >> moment while trying to get stuff done that needs to be done next week >> :-D Nothing like hitting the ground running! >> >> >> >> >> >> >> >> Eric >> >> >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340273 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

