Re: Getting attribute-level userInfo at run-time
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