If I'm not mistaken you add the framework, then add the array of attributes you're interested in following to your entity's userinfo dictionary.

Ramsey wrote:

Are you referring to the audit trails?  That's pretty easy to use.  Just include your list of ERXAuditKeys in the userInfo dictionary for the Entity and it handles the rest.  If you include the ERXAuditKeys key with an empty value, it will log all your attributes by default.  Also, the existing audit trail handler doesn't support flattened relationships (many-to-many's) so well, but you can provide your own audit trail handler subclass via a property if you need that.

If you want to track "who" makes changes, you'll also need to set up an actor entity. Otherwise, you just track changes.  Most everything you need to know happens in ERCAuditTrailHandler.java.

Ramsey




On 2011-07-03, at 11:13 AM, Daniel Beatty wrote:

Greetings Dave's, geniuses, Chuck, etc,
I was looking into ERAudit, heard Dave's talk, and foamed at the mouth to get use that framework with my little application.   Not surprising, the documentation is a bit hard to find.   

Could we help each other on this?  If you guide me, I will write the documentation.

Thank you,



Dan Beatty, ABD
Ph.D. Student 
Texas Tech University
(806)438-6620










_______________________________________________
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/programmingosx%40mac.com

This email sent to [email protected]

 _______________________________________________
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]

Reply via email to