Re: [Wonder-disc] Direct To Web Rule Practices?
Re: [Wonder-disc] Direct To Web Rule Practices?
- Subject: Re: [Wonder-disc] Direct To Web Rule Practices?
- From: Kieran Kelleher <email@hidden>
- Date: Tue, 25 Sep 2007 23:26:56 -0400
Q,
IIRC, ERXPatcher in ERXExtensions substitutes in ERXGenericRecord
as the class to load when the JVM gets told to load EOGenericRecord.
If you mean by this that classes which subclass EOGenericRecord are
automatically patched to subclass ERXGenericRecord instead, are you
sure this actually happens, or did you mean something different?
Actually looking at the Wonder source, it is not patched in at all
by ERXPatcher. ERXGenericRecord seems to be substitued for entities
declared as EOGenericRecord in the eomodel by default, unless
otherwise set in Properties file.
My "IIRC" was NRC (Not Recalled Correctly)!
@see ERXEntityClassDescription#prepareEntityForRegistration(...)
So Wonder source indicates that your custom EO's must subclass
ERXGenericRecord to get ERXGenericRecord functionality.
_______________________________________________
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