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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to