Re: D2W and non-relational insertion lists.
Re: D2W and non-relational insertion lists.
- Subject: Re: D2W and non-relational insertion lists.
- From: Joe Little <email@hidden>
- Date: Tue, 15 Feb 2011 21:49:27 -0800
Ok, I'll try to give a more specific example.
I have a Membership entity with such properties as beginDate, endDate,
company (relationship) and primaryContactName and primaryContactEmail.
The end users want to select these last two values from a pull down
list of known company.Affiliates, where Affiliates are people with
name, email, etc.
However, affliates move around so they want to store those values
relative to one this membership whenever its created, so five years
from now, those values stick. A slightly better example is Projects
who have among other thing a String property of VisitingScholar or
Fellow, which is just the name of an Affiliate again. In the same way,
they want this name to stick with project even if that Affiliate
changes companies or disappears altogether. I've done this before, but
have no clue of how to do this with D2W. I want one to be able to set
the value when say primaryContactName == null via a pull down of
current company.Affiliates if company itself is != null, and then
later, allow for just standard text field manipulation.
On Tue, Feb 15, 2011 at 9:17 PM, David Holt <email@hidden> wrote:
> I'd love to help but this makes no sense to me at all.
>
> Can you be more specific? What are your entities?
>
>
> On 2011-02-15, at 8:49 PM, Joe Little <email@hidden> wrote:
>
>> I want the certain fields (String) to take the values from a pull down
>> from another Entity, inserting Entity.name or Entity.type for the
>> string on selection. I don't want a relation since the choices are to
>> be archival and not reflect what Entity.type is presently, but what it
>> was at time of creation/edit. I was wondering how this is normally
>> done with D2W rules. Also, I was hoping to do this on initial setting
>> of the property only, but allow free-form editing when not null. I'm
>> presuming pull downs like this are par for the coarse, but haven't
>> found ready examples to point me to the right d2w keys.
>> _______________________________________________
>> 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
>
_______________________________________________
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