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: Fabian Peters <email@hidden>
- Date: Thu, 19 Jul 2012 19:38:22 +0200
> 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 ?
It should be as simple as adding two rules like this:
100 : ((task = 'create' or task = 'edit') and entity.name = 'YourEntity') => subTask = tab
100 : ((task = 'create' or task = 'edit') and entity.name = 'YourEntity') => displayPropertyKeys = ((General, "an attribute", "another attribute"), ("Relationship A", "relationshipA"), ("Relationship B", "relationshipB"))
The second rule will create a tab inspect page with three tabs, titled "General", "Relationship A" and "Relationship B".
>
>> 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