Doug,

You are correct, and I appologize for not mentioning that you found the issue (and found it first ;) ).

You are correct, this list is awesome (as is the MG list) when it comes to responding to questions.

Thanx again, you guys rock!

On 5/23/06, Doug Sims <[EMAIL PROTECTED]> wrote:
Glad you got it working, Its great to have a resource like this list.
BTW, If you completely read my inital reply, I mentioned the user/userfacility problem problem and provided the same code block too

Thanks,
Doug S.


On 5/23/06, Scott Stroz < [EMAIL PROTECTED]> wrote:
Thanx everyone!  I actaully discovered the issue (Joao was correct) and got it working.




On 5/23/06, João Fernandes < [EMAIL PROTECTED]> wrote:

Scott,

 

Besides the typo in your userFacility object, you should also correct your facility object,

      

<object name="facility">
           <hasMany name="userFacility">
               <link name="userfacility" />
           </hasMany>
   </object>

Should be:

       <object name="facility">
           <hasMany name="user">
               <link name="userfacility" />
           </hasMany>
        </object>

 

 

João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Scott Stroz
Sent: terça-feira, 23 de Maio de 2006 1:57
To: [email protected]
Subject: [Reactor For CF] Issue with using 'linked' tables

 

I have 3 tables, User, Facility and userFacility.  userFacility has 3 rows, userFacilityID, userid and facilityID.  I am runnign into an error when using <link /> to join user or facility tables to userFacility.  I get the following error:


Element XMLATTRIBUTES.FROM is undefined in a Java object of type class coldfusion.xml.XmlNodeMap referenced as

 
Here is a snippett of Raector.xml

<object name="user">
            <hasMany name="userFacility">
                <link name="userFacility" />
            </hasMany>
        </object>
       <object name="facility">
           <hasMany name="userFacility">
               <link name="userfacility" />
           </hasMany>
        </object>
        <object name="userFacility
            <hasOne name="user">
                <relate from="userid" to="userid" />
            </hasOne>
            <hasOne name="facility">
                <relate from="facid" to="facid" />
            </hasOne>
        </object>

I have grabbed the latest from SVN (257 I think) and I am still getting this error.  Anyone have any ideas?

Thanx in advance!

--
Scott Stroz
Boyzoid.com
___________________________
Some days you are the dog,
Some days you are the tree. -- 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/



--
Scott Stroz
Boyzoid.com
___________________________
Some days you are the dog,
Some days you are the tree. -- 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/



--
Scott Stroz
Boyzoid.com
___________________________
Some days you are the dog,
Some days you are the tree. -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

Reply via email to