• 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
sortKey and relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sortKey and relationships


  • Subject: sortKey and relationships
  • From: David Holt <email@hidden>
  • Date: Mon, 02 Apr 2012 12:07:06 -0700

Hi all,

I would like to sort the items displayed in an ERD2WEditToOneRelationship popup. 

The only relevant rules I can find in ERDirectToWeb are:

0 : *true* => sortKey = "" [com.webobjects.directtoweb.Assignment]
0 : propertyType = 'r' => sortKey = "keyWhenRelationship" [er.directtoweb.ERDKeyValueAssignment]


Using rules such as: 

100 : ((task = 'edit' and entity.name = 'Recipe') and propertyKey = 'step') => keyWhenRelationship = "stepDescription" [com.webobjects.directtoweb.Assignment]
101 : propertyKey = 'step' => sortKey = "orderNumber" [com.webobjects.directtoweb.Assignment]

does not override the popup and it continues to use keyWhenRelationship for the sorting. Does anyone have the correct incantation I need to use to sort the popup?

Thanks,

David 
 _______________________________________________
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:
    • [SOLVED] Re: sortKey and relationships
      • From: David Holt <email@hidden>
  • Prev by Date: Need help with ERD2WWizardCreationPage
  • Next by Date: Re: Need help with ERD2WWizardCreationPage
  • Previous by thread: Re: Need help with ERD2WWizardCreationPage
  • Next by thread: [SOLVED] Re: sortKey and relationships
  • Index(es):
    • Date
    • Thread