I'll try that, but you know, the code in the docs just doesn't make sense. Here's the code:

<reactor>
<objects>

  <object name="Physician" sharedKey="true">
    <hasOne name="User">
      <relate from="physicianId" to="userId" />
    </hasOne>
  </object>

  <object name="Developer" sharedKey="true">
    <hasOne name="User">
      <relate from="developerId" to="userId" />
    </hasOne>
  </object>

  <object name="User" />

</objects>
</reactor>


With just this code, it seems clear enough. But if my Physician has any other "hasOne" relationships, how is reactor supposed to know that the *User* object is the one with the shared key, as opposed to, say, the Hospital object? It just doesn't make sense to have it on the object tag. Plus, the DTD says it's on the hasOne tag and the mention of sharedKey in the docs is in the documentation for the hasOne tag, not the object tag.

*Working on my test case now...*

Christopher Bradford
Alive! LLP

----- Original Message ----- From: "Doug Hughes" <[EMAIL PROTECTED]>


You know, this smells funny, doesn't it?

Chris - give it a try with the code in the docs. If that doesn't work move the shared key to the relationship (where it seems it belongs) and try that.


Plz report back and let us know if the docs are fubared.

Doug






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

Reply via email to