• 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
Tabs in ERMODTabInspectPage not showing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tabs in ERMODTabInspectPage not showing


  • Subject: Tabs in ERMODTabInspectPage not showing
  • From: Ângelo Andrade Cirino <email@hidden>
  • Date: Sun, 04 May 2014 15:41:02 -0300

Hi,

I have used tabs in subtasks for editing entities in the past without problems. Now I can't figure out why my rules below don't work:

100 : ((pageConfiguration = 'EditParty' or pageConfiguration = 'InspectParty') and isPerson = 1) => subTask = "tab" [com.webobjects.directtoweb.Assignment]
100 : ((pageConfiguration = 'EditParty' or pageConfiguration = 'InspectParty') and isPerson = 1) => tabSectionsContents = (("Status", "status", "created", "lastModified", "notes"), ("PersonData", "person.firstName", "person.lastName", "person.birthDate")) [com.webobjects.directtoweb.Assignment]
100 : ((pageConfiguration = 'EditParty' or pageConfiguration = 'InspectParty') and isPerson = 1) => tabSectionsContents = ("(Status)", "status", "created", "lastModified", "notes", "(PersonData)", "person.firstName", "person.lastName", "person.birthDate") [com.webobjects.directtoweb.Assignment]
100 : ((pageConfiguration = 'EditParty' or pageConfiguration = 'InspectParty') and isPerson = 1) => tabSectionsContents = ("[Status]", "status", "created", "lastModified", "notes", "[PersonData]", "person.firstName", "person.lastName", "person.birthDate") [com.webobjects.directtoweb.Assignment]

Only one of the three tabSectionsContents is active at once, because I wanted to try the three configurations, but none is displayed. If I turn on the following rule

100 : ((pageConfiguration = 'EditParty' or pageConfiguration = 'InspectParty') and isPerson = 1) => displayPropertyKeys = ("[Status]", "status", "created", "lastModified", "notes", "[PersonData]", "person.firstName", "person.lastName", "person.birthDate") [com.webobjects.directtoweb.Assignment]

D2W will throw an exception:

UnknownKeyException: <models.Party 0x6bda6308> valueForKey(): lookup of unknown key: '[Status]'.

This class does not have an instance variable of the name [Status] or _[Status], nor a method of the name [Status], _[Status], get[Status], or _get[Status]


By the way, to show only the attributes I want I had to set up this rule:

100 : ((pageConfiguration = 'EditParty' or pageConfiguration = 'InspectParty') and isPerson = 1) => displayPropertyKeys = ("status", "created", "lastModified", "notes", "person.firstName", "person.lastName", "person.birthDate") [com.webobjects.directtoweb.Assignment]

because the other rules won't work.

Here is a screen capture showing that it is apparently well configured:



Thanks for any help,

Ângelo
 _______________________________________________
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

  • Follow-Ups:
    • Re: Tabs in ERMODTabInspectPage not showing
      • From: Fabian Peters <email@hidden>
  • Prev by Date: Re: AjaxNotificationCenter and D2W clarification
  • Next by Date: Wonder documentation on jenkins.wocommunity.org broken?
  • Previous by thread: Re: AjaxNotificationCenter and D2W clarification
  • Next by thread: Re: Tabs in ERMODTabInspectPage not showing
  • Index(es):
    • Date
    • Thread