sortKey and relationships
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