Yea, you have a hasMany relationship with both tables.  The Iterator for
both is normal and expected.

I'll need more info on the error to help with that.

Doug

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken
Dunnington
Sent: Tuesday, February 21, 2006 3:21 PM
To: [email protected]
Subject: [Reactor For CF] Iterator questions

I'm trying to get the hang of iterators and I got an error trying to
cfdump them. Here's the error:

Message:        Element LINK.XMLATTRIBUTES.NAME is undefined in
RELATIONSHIP.
Tag Context :

/dev/Reactor/core/object.cfc (67)
/dev/Reactor/core/objectTranslator.cfc (23)
/dev/Reactor/core/objectFactory.cfc (87)
/dev/Reactor/reactorFactory.cfc (40)
/dev/Reactor/base/abstractMetadata.cfc (174)
/dev/Reactor/query/object.cfc (146)
/dev/Reactor/query/query.cfc (109)
/dev/Reactor/iterator/iterator.cfc (28)
etc.

Not that big a deal, since I can just look at the code, but my REAL
question is this:
I have 2 objects related through a link table, using the <link
name="LTName" /> setting in Reactor.xml, and in my Record object, I
get two iterators, one for the second half of the relationship, and
one for the link table itself. Is that normal? Should I just ignore
the LT Iterator? Or am I missing the usefulness of it?

Thanks,
- Ken

 

-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/



 

-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/


Reply via email to