• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERMD2WEditToOneTypeAhead help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >ERMD2WEditToOneTypeAhead help (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: WOLips 4.3?
  • Next by Date: Re: WOLips 4.3?
  • Previous by thread: ERMD2WEditToOneTypeAhead help
  • Next by thread: WOLips 4.3?
  • Index(es):
    • Date
    • Thread