• 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
Different behavior from ERMD2WEditToOneTypeAhead
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Different behavior from ERMD2WEditToOneTypeAhead


  • Subject: Different behavior from ERMD2WEditToOneTypeAhead
  • From: T Worman <email@hidden>
  • Date: Thu, 06 Oct 2016 14:56:42 -0700

Hello All:

I have a relationship sth like:

Product(productId) <-> LineItem(productId)

I am using ERMD2WEditToOneTypeAhead on the attribute Product.productNumber on a CreateLineItem page. But I’ve also got a rule for keyWhenRelationship like:

100 : smartRelationship.destinationEntity.name = ‘Product' => keyWhenRelationship = "d2wProductDisplayWhenRelationship" [com.webobjects.directtoweb.Assignment]

where Product.d2wProductDisplayWhenRelationship returns a concatenated string that gives a more complete description of the product. Previously, this worked to only display items where Product.productNumber matched the string inserted by the user. Now it only works correctly if keyWhenRelationship=productNumber. The problem with this is that it doesn’t give the user enough feedback about the search results.

Also, the behavior I’m seeing is that a whole list of Product objects are returned that do not match Product.productNumber. Which is confusing.

I haven’t had a chance to look through recent commits yet but plan to do that later today. Just wanted to check and see - does anybody have any insight about this?

Tim
UCLA GSE&IS
 _______________________________________________
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


  • Follow-Ups:
    • Re: Different behavior from ERMD2WEditToOneTypeAhead
      • From: Fabian Peters <email@hidden>
    • Re: Different behavior from ERMD2WEditToOneTypeAhead
      • From: Flavio Donadio <email@hidden>
  • Prev by Date: Re: Model group loading issue in Eclipse with Maven
  • Next by Date: Going out of the community
  • Previous by thread: Re: Model group loading issue in Eclipse with Maven
  • Next by thread: Re: Different behavior from ERMD2WEditToOneTypeAhead
  • Index(es):
    • Date
    • Thread