Re: Wonder D2W and relationships on same entity
Re: Wonder D2W and relationships on same entity
- Subject: Re: Wonder D2W and relationships on same entity
- From: Johan Henselmans <email@hidden>
- Date: Wed, 25 Jul 2012 09:44:25 +0200
On 19-jul.-2012, at 19:20, Ramsey Gurley wrote:
> Hi Pierre,
>
> We should really post this somewhere obvious. It's a known issue with the ERModern look due of the way it handles ids for update containers.
>
> If you look in your page source, you'll see more than one ajax update container with the same id. That's what is causing your error. IDs must be unique.
>
> A workaround is to put the relationships in separate tabs/steps so there is no id collision. Another workaround is to assign the idForMainContainer manually with a rule.
>
> The one time I had the problem, I assigned the id manually. I don't remember the exact LHS, but I think it was similar to:
>
> 100: session.context.page.d2wContext.propertyKey = 'contactTypeA1' => idForMainContainer = "hokuspokus" [Assignment]
>
> 100: session.context.page.d2wContext.propertyKey = 'contactTypeA2' => idForMainContainer = "abracadabra" [Assignment]
>
> That assumes your top level page is the one with the duplicate ids.
>
> Johan H. recently had this same problem. He may have some other workarounds to share :-)
Ah, yes, um, I looked at it, looked at it some more, and decided to wait for WOWODC to sort everything out, but then, well, you know, eh,
No, I did not find a solution.
I'll let you know when I can come up with something more suitable.
>
> Ramsey
>
> On Jul 19, 2012, at 9:18 AM, Pierre Gilquin wrote:
>
>>
>> Thanks Fabian,
>>
>> As a complete beginner with d2w, I have not any idea how to make many tabs.
>> By default, I have a "Main" tab. You are taking about this tab, right ?
>>
>>
>>> Hi Pierre,
>>>>> What are your display property keys?
>>>> Something like ("contactTypeA1","contactTypeA2","contactTypeB1" etc)
>>>>
>>>>> What do you mean by "not responding"?
>>>> When clicking "Search" or "New" nothing happen. Well only the image "wait" !
>>>> For the first one, I get the "Query Contact" panel.
>>> I seem to have come across this, but don't remember any details. You could try using a tab inspect page, placing each relationship on a different tab.
>>> Fabian
>>>>> David
>>>>> On 2012-07-19, at 8:13 AM, Pierre Gilquin wrote:
>>>>>> hi,
>>>>>>
>>>>>> I have a problem with a wonder D2W app.
>>>>>> In my data model, an entity A has many relationships on the same entity B.
>>>>>> NB ; Not a to-many relationship but several to-one relationships.
>>>>>> In edit mode, the first visible relationship can be managed but all others relationships are not responding.
>>>>>>
>>>>>> Thanks in advance for any help
>>>>>> _______________________________________________
>>>>>> 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
Johan Henselmans
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