• 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
ERD2WWizardCreationPage Rules for Creation vs Editing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERD2WWizardCreationPage Rules for Creation vs Editing


  • Subject: ERD2WWizardCreationPage Rules for Creation vs Editing
  • From: Kevin Hinkson <email@hidden>
  • Date: Sun, 27 Jan 2013 14:14:37 -0400

I have a rule which works well when creating an EO and it's relationships for the first time. 

    100 : (task = 'edit' and entity.name = 'Periodic') => displayPropertyKeys = ("[Page 1]", "(Periodic Details)", "title", "details", "[Page 2]", "(Publish Details)", "published", "visible", "hyperlinkReferences") [com.webobjects.directtoweb.Assignment],


However, when editing an existing EO I encounter an exception due to the wizard keys being interpreted as EO properties.

<com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message '<co.name.eo.Periodic 0x1cc3b4c1> valueForKey(): lookup of unknown key: '[Page 1]'. This class does not have an instance variable of the name [Page 1] or _[Page 1], nor a method of the name [Page 1], _[Page 1], get[Page 1], or _get[Page 1]' object '<co.name.eo.Periodic pk:"2">' key '[Page 1]'>


Does anyone know how to avoid this other than removing the keys that indicate how to split the property editing across pages? Any help would be appreciated.
 _______________________________________________
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: ERD2WWizardCreationPage Rules for Creation vs Editing
      • From: Jesse Tayler <email@hidden>
  • Prev by Date: Re: more on the Vertical Inheritance, the sql
  • Next by Date: Re: more on the Vertical Inheritance, the sql
  • Previous by thread: I meant "Single Table Map" Inheritence
  • Next by thread: Re: ERD2WWizardCreationPage Rules for Creation vs Editing
  • Index(es):
    • Date
    • Thread