The restrictingFetchSpecification is applied to your query. Any clients returned should be in that set.
Try a full search and see if you get what you're expecting. On 2013-02-13, at 9:44 AM, Theodore Petrosky <[email protected]> wrote: > thanks Ramsey for the point in the right thinking direction. so I am starting > to experiment. > > I created a fetchSpec on my Entity 'currentClients' and in the Qualifier > section added 'isActive = true' (also tried 'isActive = 1') > > saved it and I see in the _Client.java the added methods: > > public static NSArray<com.as.Model.Client> > fetchCurrentClients(EOEditingContext editingContext, NSDictionary<String, > Object> bindings) { > EOFetchSpecification fetchSpec = > EOFetchSpecification.fetchSpecificationNamed("currentClients", > _Client.ENTITY_NAME); > fetchSpec = fetchSpec.fetchSpecificationWithQualifierBindings(bindings); > return > (NSArray<com.as.Model.Client>)editingContext.objectsWithFetchSpecification(fetchSpec); > } > > I added a rule: > > 102 : (pageConfiguration like 'Query*' and propertyKey = 'client') => > restrictingFetchSpecification = "currentClients" > [com.webobjects.directtoweb.Assignment] > > I found when I examined the cheat sheet for the component that the key was > restrictingFetchSpecification > > i was hoping for it either working or if not at least a warning about unknown > keys or such. Obviously, there is something missing as there is no error > generated. > > How about a clue? > > Ted > > > _______________________________________________ > 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/programmingosx%40mac.com > > This email sent to [email protected] _______________________________________________ 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]
