I have a rather deeply nested structure set which at one level has an array
in it.  I am trying to test that a value is defined with the following code:

 

 
isDefined('base.dataSets.user.dataElements.firstName.assertions[1].assertId'
)

 

However, I am getting the following error message:

 

                Parameter 1 of function IsDefined, which is now
base.dataSets.user.dataElements.firstName.assertions[1].assertId, must be a
syntactically valid variable name.

 

The error appears to be because of the array element / notation, which
appears to be a valid variable name to me.  Can anybody offer a suggestion
on how to test if this value really exists or what I might obviously be
missing here?

 

Thanks

-- Jeff



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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

Reply via email to