ERTaggable, WODisplayGroups and EOQualifiers
ERTaggable, WODisplayGroups and EOQualifiers
- Subject: ERTaggable, WODisplayGroups and EOQualifiers
- From: Paul Hoadley <email@hidden>
- Date: Mon, 02 Sep 2013 13:42:59 +0930
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?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden