cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Schneider" <>
Subject Re: Tapestry tutorial advice
Date Thu, 08 Jun 2006 18:27:46 GMT

We're still using 1.4, so this is how we do it.

Create a class, like (with a DataContext instance
variable).   In the <appname>.application file you add the following

<meta key="org.apache.tapestry.visit-class" value="com.nhl.cmseditor.Session"/>


public abstract Object getSession();


<inject property="session" type="state" object="visit"/>

I think that's it.


On 6/8/06, Andrus Adamchik <> wrote:
> I am reworking Cayenne tutorials for 1.2 final release. Since I
> haven't used Tapestry for almost a year, and totally missed on 4.0, I
> wanted to get some feedback from Cayenne/Tapestry users. What are the
> good ways to bind DataContext to a session?
> Current example puts it in the visit. I would personally use a
> regular web app setup with Cayenne filter (making Tapestry app just
> another web app case as far as Cayenne is concerned). I wonder what
> others are doing in this respect? Any HiveMind magic?
> Andrus

View raw message