• 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: Getting attribute-level userInfo at run-time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting attribute-level userInfo at run-time


  • Subject: Re: Getting attribute-level userInfo at run-time
  • From: Paul Hoadley <email@hidden>
  • Date: Thu, 22 Oct 2009 20:49:28 +1030

On 22/10/2009, at 6:25 PM, Paul Hoadley wrote:

2. What's the easiest way to get at this information inside my EO (ERXGenericRecord sub-)class? I can't see an easy path to an EO's EOAttributes. Do I need to retrieve the EOModel, and if so, is there a more direct way to retrieve _that_ (from an EO class) than via ERXModelGroup.defaultGroup().modelNamed(), which I assume would require that I hard-code the model name into this class, wouldn't it?

I found ERXGenericRecord.entity(), from which I can call EOEntity.attributes(), so that's that part solved.



-- Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


_______________________________________________ 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: 
 >Getting attribute-level userInfo at run-time (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Getting attribute-level userInfo at run-time
  • Next by Date: Re: WOSwitchComponent question
  • Previous by thread: Getting attribute-level userInfo at run-time
  • Next by thread: Re: Getting attribute-level userInfo at run-time
  • Index(es):
    • Date
    • Thread