Ok, interesting: the problem appears to be related to the types of joins I 
have.

There are three tables: FacetedItem, Facet and FacetedItemsFacet. You can 
obviously see that this is a HABTM situation, however, because the nexus of 
Facets and Items is where the value lies, I have to access the 
FacetedItemsFacets table directly in some situations. 

What seems to be confusing the situation is that, in the Ajax Controller for 
which this whole problem is the origin, I'm adding all three into the uses 
array. That being the case, I suspect that there is a FacetedItemsFacet 
Model being created from scratch by CakePHP instead of the actual 
user-created Model. Then when I go to use my user-created version in the 
Component, Cake is trying to use the generic one. Hence no functions.

Or something like that. Very strange.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to