For the second question I solved...
I changed the datasource for the displayGroup: now I user the E12
instead of Ent2.
By the way... a question regarding WOBatchNavigationBar..
It's very useful, but... it displays the number of objects in the
entity, not the number of objects matching the qualifier... Is there a
way to show that number?
On 10/dic/08, at 17:43, Francesco Romano wrote:
Hi...
I read in the list that if I need an attribute in a many-to-many
relationship I cannot create a "flattern" relationship.
So I created a simple n-to-1 1-to-n.
Now.. I don't understand if I need to do some more "work" in my
classes...
And... another thing: qualifier.
Let's call Ent1 and Ent2 the 2 entities above and E12 the relation
entity.
I want to fetch all the records in Ent2 that are linked to a
particular Ent1.
I can't do it.. because I've an array and I don't know how to
compare an array with a single value...
I tried something like
Ent2.E12.eq(Ent1.E12).and(Ent1.attr1.eq(myString)) but it did not
compile
Francesco
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]