There is a post in this list about injecting hivemind services into pojos using hiveutils. The post title is "Injecting registry services to POJOS" and "PROBLEM SOLVED | Re: Injecting registry services to POJOS".

Best Regards.

Raul Raja



John Smith wrote:
I apologize for just mooching help off this list, but I haven't been able to figure this out other places.

For my database layer, I want to always write in the database the username of the user that is changing the record. So if I create a new record, I want to write who created it (created_by).

The db code I have is several layers removed from tapestry, but the db code is managed by hivemind.

I want to inject the Visit object into the db code and then use the Visit object to get the username and write that into the "created_by" field of the db table.

Tapestry pages can easily just inject application state objects into pages, but this is not a page. But I am betting that it is not that hard, if I only knew how to do it.

thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to