Thanks Anthony, I think I got it now.
For some reason I am a slow learner if things are being described
conceptually and not by showing code and explanations. Of coarse, I do
best when it is explained conceptually and I see the code!
-Aaron
On 3/21/07, Anthony Israel-Davis <[EMAIL PROTECTED]> wrote:
In that scenario, what I would do is something like:
addresses = createObject("component","AddressIBO").init();
addresses.loadQuery(query);
user.set('addresses',addresses);
You've created an address object that now can be a property of the user
object ("composition" in OO speak)
Now you can do this:
a = user.get('addresses');
While (a.hasNext()) {
doSomethingToA(a);
}
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at
http://www.cfczone.org/listserv.cfm
CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]