Re: To-Many Qualifiers

2014-04-16 Thread Aaron Rosenzweig
Hi Kevin, I did poke inside the ERXExistsQualifier to see… seems that it doesn’t properly handle a “flattened” relationship. When you say “flattened” you mean there is another EO join table in there that is hidden correct? Yeah, it seems to be a shortcoming of ERXExistsQualifier. You *could* c

Re: To-Many Qualifiers

2014-04-16 Thread Kevin Hinkson
Thanks for your help Aaron, Your identity qualifier suggestion was extremely helpful. I was entirely unaware of the EOEntity method qualifierForPrimaryKey so learning about that makes so many things much easier. I've updated to the latest WebObjects changes in the master branch. I think I'm st

Re: To-Many Qualifiers

2014-04-15 Thread Aaron Rosenzweig
Hello Kevin, I’ll take a swing at a new qualifier for you. Verbally: A profile sometimes points directly to the account I want. Other times, the primary account for a profile is NOT the one I want but it has teams which vicariously point back to the account I want. Give me all those profiles.

To-Many Qualifiers

2014-04-14 Thread Kevin Hinkson
Hello, I was hoping someone would be able to point me in the direction of how to handle generating a to many qualifier that involves a key path (not just a single key). A code example: // Generates a qualifier for the Profile for this account and the Profiles of any account on the same team (