Hello,

Say I have a WODisplayGroup handling the display of a collection of entities 
that are taggable, and have been tagged.  I want to restrict the displayed 
objects based on the presence of particular tags selected by the user.  I see a 
couple of problems:

1.  I don't see a canned solution for selecting the tags.  At the moment, I've 
hooked up an ERTagField to a dummy ERTaggable object, and I'll use the result 
of dummy.tags() on form submission.  Have I overlooked something better?

2.  I don't see any support for generating EOQualifiers.  The ERTaggableEntity 
fetch methods are great, but I'd rather supply the WODisplayGroup with a new 
EOQualifier than replace its underlying array based on a fetch.  (In fact, I 
don't think the latter is feasible at all for my use case.  The array supplied 
to this sub-component is already heavily qualified.  I need to (a) qualify just 
those objects further based on tags, and (b) be able to get the originally 
supplied array back later if the tags are subsequently removed by the user.)  
Again, am I missing something here?

Can anyone share their solutions for this kind of use case?


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to