Yay,

I get to (stupidly) answer my own question.

If you use ERD2WEditToOneRelationship, it works. 

I had specified D2WEditToOneRelationship which has nothing to do with 
ERXArrayChooser....

David


On 2012-04-02, at 12:07 PM, David Holt wrote:

> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to