I'm a beginner. But I thought I s'd make an attempt to answer this question.
So I'm sorry if this is not what you are looking for.
Are'nt session objects stored in META-INF/hivemodule.xml in tapestry4 and
then injected into the page using <inject> element when using JDK < 1.5 ?

--- hivemodule.xml --

<?xml version="1.0"?>
<module id="com.your.package" version="1.0.0">
 <contribution configuration-id="tapestry.state.ApplicationObjects">
  <state-object name="visit" scope="session">
   <create-instance class="com.YourClass"/>
  </state-object>
 </contribution>
</module>

and later in the page specification -

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

and in the page,

public abstract YourClass getVisit();

regards
karthik

* *

Reply via email to