Sorry Mark :-)
In short - yes.
So if I've got an object with the properties
firstName
surname
email
I'd like to do something like this in ....
<cfset propertyList = "firstName,surname,email" />
<cfloop list="#propertyList#" index="property">
<cfset object.get(property) />
.
.
.
</cfloop>
At the moment we're having to do this...
<cfset propertyList = "firstName,surname,email" />
<cfloop list="#propertyList#" index="property">
<cfset evaluate("object.get#Property#()") />
.
.
.
</cfloop>
... which just looks nasty!!
Does that make more sense?
Cheers,
James
--
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
You received this message because you are subscribed to the Google Groups
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/transfer-dev?hl=en