Is the non flattened relationship a class property? If so, that is
correct. If not then there is a problem.
On Nov 21, 2007, at 11:53 AM, Cornelius Jaeger <cjaege..isualfood.ch>
wrote:
> mike
>
> On Nov 21, 2007, at 2:09 PM, Mike Schrag wrote:
>
>>> #if ($relationship.flattened)
>>> //flattened
>>> #end
>>>
>>> construct is not respected.
>>> is it derived from the model structure or stored in userInfo?
>>>
>> Not sure I follow ... You're saying that a relationship that is
>> flattened does not return true from relationship.flattened in your
>> template? That's very strange ... I don't know offhand why that
>> would NOT work. isFlattened returns true if
>> relationship.getDefinition() "looks like" a keypath.
>
> actually, the join object keypath is generated in addition to the
> flattened relationship.
> so for User <->> adminGroupUsers <<-> AdminGroup
> i get adminGroupUsers mutators generated, even though it's part of a
> flattened relationship.
>
> cheers
>
> cornelius
>
>>
>>
>> ms
>
This archive was generated by hypermail 2.0.0 : Wed Nov 21 2007 - 16:55:11 EST