• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wonder D2W and relationships on same entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Wonder D2W and relationships on same entity (From: Pierre Gilquin <email@hidden>)
 >Re: Wonder D2W and relationships on same entity (From: David Holt <email@hidden>)
 >Re: Wonder D2W and relationships on same entity (From: Pierre Gilquin <email@hidden>)
 >Re: Wonder D2W and relationships on same entity (From: Fabian Peters <email@hidden>)
 >Re: Wonder D2W and relationships on same entity (From: Pierre Gilquin <email@hidden>)
 >Re: Wonder D2W and relationships on same entity (From: Fabian Peters <email@hidden>)

  • Prev by Date: Move of wiki documents to a new space
  • Next by Date: Re: Git repo layout for own WO projects
  • Previous by thread: Re: Wonder D2W and relationships on same entity
  • Next by thread: Git repo layout for own WO projects
  • Index(es):
    • Date
    • Thread