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 protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
