Re: D2W & an Unmodeled Relationship
Re: D2W & an Unmodeled Relationship
- Subject: Re: D2W & an Unmodeled Relationship
- From: Anjo Krank <email@hidden>
- Date: Thu, 7 Oct 2010 13:51:34 +0200
But the "embedded" part in the PC name refers to not having a wrapper. You can use the component to - say - bind a relationship in a plain page and have *it* create the wrapper.
Cheers, Anjo
Am 07.10.2010 um 13:48 schrieb David Avendasora:
>
> On Oct 7, 2010, at 6:24 AM, David Holt wrote:
>
>>
>>
>> On 2010-10-07, at 3:07 AM, David Avendasora <email@hidden> wrote:
>>
>>>
>>> On Oct 6, 2010, at 7:38 PM, David Holt wrote:
>>>
>>>>
>>>>
>>>>
>>>> On 2010-10-06, at 3:09 PM, David Avendasora wrote:
>>>>
>>>>> First of all, the changes to RuleModeler rock in that I could just copy paste your rules below directly into my rule files!
>>>>
>>>> It's a new world!
>>>>
>>>>>
>>>>> Second. It doesn't quite work yet. The paging controls are there, but no listing. Hard to explain. Here's a screen shot (yes, I have my own Skin for ERModernD2W)
>>>>
>>>> Your second rule listConfigurationName is named correctly?
>>>
>>> That was it. I had forgotten to change that. Works perfectly now. Thanks!
>>>
>>> Out of curiosity, why is it listConfigurationName and not listEmbeddedConfigurationName?
>>
>> The configuration name tells the rule system it's embedded.
>
> But it is embedded, isn't it? Or am I misinterpreting what Embedded means? Am I the Vizzini of the D2W world?
>
>>
>> David
>>
>>>
>>> Dave
>>>
>>>>
>>>> Your priority for these rules is high enough?
>>>>
>>>> You don't have other rules that are overriding the display somehow?
>>>>
>>>> There's nothing in CSS that is hiding the listing?
>>>>
>>>>
>>>>>
>>>>> <PastedGraphic-1.png>
>>>>>
>>>>> You can see that there are 139 items in the array, but they aren't being displayed.
>>>>>
>>>>> Dave
>>>>>
>>>>>
>>>>> On Oct 6, 2010, at 5:08 PM, David Holt wrote:
>>>>>
>>>>>> For details see the thread from last week: Re: [Wonder-disc] derived related non-modeled EO List display
>>>>>>
>>>>>> Short answer:
>>>>>> 95 : propertyKey = 'distinctPrivileges' => componentName = ERDList [com.webobjects.directtoweb.Assignment]
>>>>>> 95 : propertyKey = 'distinctPrivileges' => listConfigurationName = ListEmbeddedERPrivilege [com.webobjects.directtoweb.Assignment]
>>>>>>
>>>>>> distinctPrivileges is the method
>>>>>> I don't know if you need the second rule, it depends where you are trying to display your array.
>>>>>>
>>>>>> d
>>>>>>
>>>>>> On 2010-10-06, at 2:01 PM, David Avendasora wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I'm working on a ERModernD2W app and I have a cross-DB toMany relationship that I can't model because DB is on a different physical server, so I've just created a method that fetches the related object by qualifying on the PK. All quite straight-forward.
>>>>>>>
>>>>>>> But when I add that method to the list of displayPropertyKeys for my entity, the result is the toString() of the NSArray of results. How do I get it to treat it like a modeled relationship?
>>>>>>>
>>>>>>> Thanks!
>>>>>>>
>>>>>>> Dave _______________________________________________
>>>>>>> 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