Re: D2W rule to set the display key for recursive relationship
Re: D2W rule to set the display key for recursive relationship
- Subject: Re: D2W rule to set the display key for recursive relationship
- From: Ramsey Gurley <email@hidden>
- Date: Fri, 30 Jul 2010 15:26:16 -0400
On Jul 30, 2010, at 2:51 PM, David Holt wrote:
Hi all,
I would like to display one propertyKey for a recursive relationship
and the rule doesn't seem to work as it does for a normal
relationship to a different entity. Do I need to do something
special for this case? The rule I am using has no effect and I am
not sure why.
100 (entity.name = 'Activity' and propertyKey = 'parentActivity') =>
keyWhenRelationship = "activityTitle"
Thanks,
David
Looks like it should work... But you'll be writing a lot of rules that
way. Try something like
(propertyType = 'r' and relationship.destinationEntity.name =
'Activity') => keyWhenRelationship = "activityTitle"
If that doesn't work either, try refreshing your workspace.
Ramsey
_______________________________________________
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