My idea, which is very limited since I've only been using Reactor a few days is that Reactor creates a subtable related to your User table. If you want everything out of the ContactInfo table you will have to use something like:

getContactInfo().getAll()

Try that and see if that calls your Contact Info stuff. You will need to use both calls to get all data. But thats my limited knowledge.
=Jeff=

On 3/10/06, Joshua Scott <[EMAIL PROTECTED]> wrote:

Hello,

I am experimenting with Reactor and loving it. I am going to be using it
(with model glue) for a huge project and it is going to save me a ton of
time.

My question is this I have a user table that is linked to a contactInfo
table by the userid. So in my reactor.xml file I have...

        <object name="User">
                <hasOne name="ContactInfo">
                        <relate from="userid" to="userid" />
                </hasOne>
        </object>


When I call the GetAll() method on the User object it only returns the
fields in the user table not the ones in the contactInfo table.

Any ideas?

- Josh

_________________________________________
Joshua Scott | www.resonantmedia.com
[EMAIL PROTECTED]




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



E朶�ߢ����n�*'[EMAIL PROTECTED] ��V�r�y�&���r�+�Gh�n����

Reply via email to