Re: D2W Question
Re: D2W Question
- Subject: Re: D2W Question
- From: David LeBer <email@hidden>
- Date: Thu, 05 Sep 2013 15:42:20 -0400
'entity' is an EOEntity. It has a parentEntity method. I've never tried, but that may give you what you want.
http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/com/webobjects/eoaccess/EOEntity.html
D
--
David LeBer
Codeferous Software
On 2013-09-05, at 3:27 PM, Johnny Miller <email@hidden> wrote:
> One more thing...
>
> How about writing rules for entities that extend an abstract entity? Is there an entity.parent.name rule?
>
> On Sep 5, 2013, at 9:26 AM, Johnny Miller <email@hidden> wrote:
>
>> It works. Sununvagun I thought I had tried it and it did not. Now I can go delete some of the longest rules written in the history of D2W.
>>
>>
>> On Sep 5, 2013, at 8:02 AM, David Holt <email@hidden> wrote:
>>
>>> No special assignment.
>>>
>>> Have you tried it??
>>>
>>> David
>>>
>>>
>>> On 2013-09-05, at 9:24 AM, Ramsey Gurley <email@hidden> wrote:
>>>
>>>> 100: entity.name like 'XYZ*' => ...
>>>>
>>>> should work.
>>>>
>>>> On Sep 4, 2013, at 8:22 PM, Johnny Miller wrote:
>>>>
>>>>> Hi David,
>>>>>
>>>>> Do you think you can't do that or that you don't need a special assignment?
>>>>>
>>>>> Johnny Miller
>>>>> Kahalawai Media Co.
>>>>>
>>>>> On Sep 4, 2013, at 2:37 PM, David Holt <email@hidden> wrote:
>>>>>
>>>>>> I don't think so.
>>>>>>
>>>>>> David
>>>>>>
>>>>>> Sent from my iPad
>>>>>>
>>>>>> On 2013-09-04, at 5:23 PM, Johnny Miller <email@hidden> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I would like to use an entity qualifier that treats all entities with a prefix the same way i.e. entity.name like 'XYZ*'
>>>>>>>
>>>>>>> Is there a special assignment I need to use to make that work?
>>>>>>>
>>>>>>> Aloha,
>>>>>>> Mr. Johnny Miller
>>>>>>> Web Development Manager
>>>>>>> Kahalawai Media Company
>>>>>>> Lahaina, HI 96761
>>>>>>> tel: (808) 661-7962 | mobile: (808) 283-0791
>>>>>>> website | e-mail
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>
>>>
>>
>
> _______________________________________________
> 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