Dmitry, I can't find any information on ApplicationStateObjectProvider. Can
you send me an example?
----Original Message Follows----
From: Dmitry Gusev <[EMAIL PROTECTED]>
Reply-To: "Tapestry users" <[email protected]>
To: Tapestry users <[email protected]>
Subject: Re: How to inject visit object into pojo
Date: Sat, 31 Dec 2005 11:20:20 +0300
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by
bay0-mc3-f6.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 31
Dec 2005 00:20:54 -0800
Received: (qmail 78084 invoked by uid 500); 31 Dec 2005 08:20:42 -0000
Received: (qmail 78073 invoked by uid 99); 31 Dec 2005 08:20:42 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by
apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Dec 2005 00:20:42 -0800
Received: pass (asf.osuosl.org: domain of [EMAIL PROTECTED] designates
64.233.162.198 as permitted sender)
Received: from [64.233.162.198] (HELO zproxy.gmail.com) (64.233.162.198)
by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Dec 2005 00:20:41 -0800
Received: by zproxy.gmail.com with SMTP id 8so2178855nzo for
<[email protected]>; Sat, 31 Dec 2005 00:20:20 -0800 (PST)
Received: by 10.36.5.14 with SMTP id 14mr5201769nze; Sat, 31 Dec 2005
00:20:20 -0800 (PST)
Received: by 10.36.159.1 with HTTP; Sat, 31 Dec 2005 00:20:20 -0800 (PST)
X-Message-Info: JGTYoYF78jG5ESbspB0TNKldSSYB6G2AHSTmeeZnuI0=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[email protected]>
List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org>
Delivered-To: mailing list [email protected]
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
b=BZ/h9+/u+cSNsukAjUEiVWqbyNcziIU+4PnrWZTrlvVdIBx9O9gCVTnfKRU86T9GFNxJ0Gi8/+amcpW39eA7RxjzyULeOXRqFUYl/TcZB4No8QvBoM38h0g12veh2zRl5ISD5v+9hpmkAkx+mgyvlquZbKcXqgFsj39tNAN5jtc=
References: <[EMAIL PROTECTED]>
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path:
[EMAIL PROTECTED]
X-OriginalArrivalTime: 31 Dec 2005 08:20:54.0260 (UTC)
FILETIME=[1E3BA340:01C60DE3]
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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]