Re: Example needed for ERD2WEditToOneRelationshipWithFilter
Re: Example needed for ERD2WEditToOneRelationshipWithFilter
- Subject: Re: Example needed for ERD2WEditToOneRelationshipWithFilter
- From: Markus Ruggiero <email@hidden>
- Date: Thu, 10 Mar 2011 08:51:11 +0100
On 09.03.2011, at 12:00, Markus Ruggiero wrote: Could someone please give me a short example for the use of ERD2WEditToOneRelationshipWithFilter? The minimalist documentation is (to me) of not much help. Lets say I need to create a toOneRelationship to entity TechnicalDoc where the attribute isReady is true. Relationship to technical docs that are not ready should not be allowed. What would the rules be? I am particularly interested in the ERD2WDelayedBooleanAssignment rule.
Thanks a lot ---markus---
Any takers? My problem is not so much how to use ERD2WEditToOneRelationshipWithFilter but how to specify the necessary rule(s) with the ERD2WDelayedBooleanAssignment.
The doc for the editToOne... only says
Adds a filter for the select list. How to use: Set a delayed boolean assignment on restrictedChoiceKey or restrictedFetchSpecification based on the condition key defined by filterKey
For me this is not enough. What is restrictedChoiceKey? What is and how do I specify condition key and filterKey? I found an example rule in one of the ERFramework's rule file but I cannot "translate" the pattern of that rule into my problem space.
Thanks ---markus---
|
_______________________________________________
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