D2W to one relationship sort ordering and display
D2W to one relationship sort ordering and display
- Subject: D2W to one relationship sort ordering and display
- From: Mark Wardle <email@hidden>
- Date: Thu, 20 Aug 2009 08:24:58 +0100
Hi all,
Struggling with this: Can't get the destination sorted properly using D2W.
I have FormEdss <<-> EdssScore
(task = 'edit' and entity.name = 'FormEdss' and propertyKey =
'edssScore') -> componentName = "D2WEditToOneRelationship"
(task = 'edit' and entity.name = 'FormEdss' and propertyKey =
'edssScore') -> destinationDisplayKey = "description"
(task = 'edit' and entity.name = 'FormEdss' and propertyKey =
'edssScore') -> numCols = "1"
(task = 'edit' and entity.name = 'FormEdss' and propertyKey =
'edssScore') -> destinationSortKey = "displayOrder"
(task = 'edit' and entity.name = 'FormEdss' and propertyKey =
'edssScore') -> toOneUIStyle = "radio"
The rules regarding destinationDisplayKey and destinationSortKey are
ignored. I'm obviously doing something wrong.
Each edssScore has a "description" property and a "displayOrder"
property, the latter an integer.
I've tried lots of permutations of the destination keys, including
edssScore.description for example.
Grateful for any help!
Best wishes,
Mark
--
Dr. Mark Wardle
Specialist registrar, Neurology
Cardiff, UK
_______________________________________________
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