Re: ERMD2WEditToOneTypeAhead help
Re: ERMD2WEditToOneTypeAhead help
- Subject: Re: ERMD2WEditToOneTypeAhead help
- From: Fabian Peters <email@hidden>
- Date: Fri, 28 Jun 2013 09:55:16 +0200
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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
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