I'm using it with a keyWhenRelationship rule and an extraRestrictingQualifier 
rule:

100 : (entity.name = 'Course' and (propertyKey = 'bundleCourse' or propertyKey 
= 'previousCourse')) => keyWhenRelationship = "handle" 
[com.webobjects.directtoweb.Assignment]
100 : (entity.name = 'Course' and propertyKey = 'bundleCourse' and task = 
'edit') => extraRestrictingQualifier = {"id" = {"ne" = "object.id"; }; } 
[ELDelayedExtraQualifierAssignment]

Fabian

Am 27.06.2013 um 19:36 schrieb Theodore Petrosky:

> I can not seem to figure out how to wire this thing up.
> 
> I have an entity called Grid. one of the attributes is called 'publication'. 
> 
> I want to use the TypeAhead on the edit and create pages. so, I created these 
> rules:
> 
> 100 : (pageConfiguration = 'EditGrid' and propertyKey = 'publication') => 
> componentName = "ERMD2WEditToOneTypeAhead" 
> [com.webobjects.directtoweb.Assignment]
> 100 : (pageConfiguration = 'EditGrid' and propertyKey = 'publication') => 
> restrictingFetchSpecification = "DistinctPublications" 
> [com.webobjects.directtoweb.Assignment]
> 
> from the head of the .java:
> 
> <p>If the keyWhenRelationship represents an attribute, this component will 
> qualify the list of possible matches via a 
>  * fetch. Otherwise it will load ALL of the available destinationEntities and 
> qualify in memory. Keep this in mind when
>  * deciding how to use this component.</p>
> 
> Is there an example of this component somewhere? I could use some help.
> 
> 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/lists.fabian%40e-lumo.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]

Reply via email to