• 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
Passing an EOGenericRecord Refrence in a Direct Action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Passing an EOGenericRecord Refrence in a Direct Action


  • Subject: Passing an EOGenericRecord Refrence in a Direct Action
  • From: Daniel Eggert <email@hidden>
  • Date: Mon, 19 Sep 2005 12:10:35 +0200

Hi,

My App displays a list of items. When the oser clicks on one, I want to display a bookmarkable direct action with info about the item.

How do I go about passing a reference to an item (or its EOGenericRecord subclass instance)?

The primary key is not a class attribute, and the Apple docs say that exposing the primary keys is a bad idea:

Primary keys and foreign keys should not be marked as class properties. This is for two reasons: Enterprise objects have no knowledge of the primary and foreign keys of the tables from which they are mapped, and these keys are of no use to your business logic. Also, to ensure that the automatic primary key generation feature of Enterprise Objects is properly invoked, primary keys must not be marked as class properties.

What to do?

/Daniel
_______________________________________________
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: Passing an EOGenericRecord Refrence in a Direct Action
      • From: Arturo Perez <email@hidden>
  • Prev by Date: FW: Fetching of derived attributes failes with vertical inheritance
  • Next by Date: Re: Fetching of derived attributes failes with vertical inheritance
  • Previous by thread: Re: Fetching of derived attributes failes with vertical inheritance
  • Next by thread: Re: Passing an EOGenericRecord Refrence in a Direct Action
  • Index(es):
    • Date
    • Thread