You may create ApplicationStateObjectProvider to set the Visit object as a
property of a pojo via hivemind.

2005/12/30, John Smith <[EMAIL PROTECTED]>:
>
> 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]
>
>

Reply via email to