Re: Structures... How Do I properly write this?

2007-06-14 Thread Qasim Rasheed
Use this












HTH

On 6/14/07, Che Vilnonis <[EMAIL PROTECTED]> wrote:
>
> I fixed my typo but I'm still getting errors with the code below. The
> error
> I now get reads: "Element 1 is undefined in a CFML structure referenced as
> part of an expression."
>
> I'm sure this is a simple fix... What am I missing?
>
>
> -Original Message-
> Basically, I have nested structures. I want to check if the nested
> structure
> exists first. If it does not exist, then I'll create it. Then I want to
> check if the nested structure's "tickler" value is "Y". Obviously, my cfif
> logic is not correct. Thanks!
>
> 
> 
> 
>
> 
>
> 
> 
>
> 
>  xmlcontent.message.items.item[x].ord_qty.xmlText />
>  xmlcontent.message.items.item[x].unit_price.xmlText />
> 
>
> 
>
> 
>
> 
>
>
> 

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281148
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Structures... How Do I properly write this?

2007-06-14 Thread Che Vilnonis
I fixed my typo but I'm still getting errors with the code below. The error
I now get reads: "Element 1 is undefined in a CFML structure referenced as
part of an expression."

I'm sure this is a simple fix... What am I missing?


-Original Message-
Basically, I have nested structures. I want to check if the nested structure
exists first. If it does not exist, then I'll create it. Then I want to
check if the nested structure's "tickler" value is "Y". Obviously, my cfif
logic is not correct. Thanks!






















~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281128
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Structures... How Do I properly write this?

2007-06-14 Thread Che Vilnonis
--- Bangs Head on Desk ---
Duh! 

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 13, 2007 5:17 PM
To: CF-Talk
Subject: Re: Structures... How Do I properly write this?

As a StructKeyIsEmpty wouldn't be a key :-)




"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Josh Nathanson
To: CF-Talk
Sent: Wed Jun 13 22:16:34 2007
Subject: Re: Structures... How Do I properly write this?

> 

StructKeyIsEmpty is not a function, I think you want StructIsEmpty.

-- Josh





~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281119
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Structures... How Do I properly write this?

2007-06-13 Thread Robertson-Ravo, Neil (RX)
As a StructKeyIsEmpty wouldn't be a key :-)




"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Josh Nathanson
To: CF-Talk
Sent: Wed Jun 13 22:16:34 2007
Subject: Re: Structures... How Do I properly write this?

> 

StructKeyIsEmpty is not a function, I think you want StructIsEmpty.

-- Josh



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281074
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Structures... How Do I properly write this?

2007-06-13 Thread Josh Nathanson
> 

StructKeyIsEmpty is not a function, I think you want StructIsEmpty.

-- Josh

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281072
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4