ERMD2WEditToOneTypeAhead help
ERMD2WEditToOneTypeAhead help
- Subject: ERMD2WEditToOneTypeAhead help
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 27 Jun 2013 13:36:27 -0400
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden