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: Pierre Gilquin <email@hidden>
- Date: Fri, 20 Jul 2012 10:24:15 +0200
Thanks, I manage to make it work.
The syntax for displayPropertyKeys is "[Tab]","(Section1)" ...
http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/directtoweb/pages/ERD2WPage.html
Fabian Peters a écrit :
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".
_______________________________________________
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