If you have set the ASO in the hivemodule.xml like this:
<contribution configuration-id="tapestry.state.ApplicationObjects">
<state-object name="session-data" scope="session">
<create-instance class="com.hp.eclaims.web.utils.Visit"/>
</state-object>
</contribution>
You can inject it in a page like this:
<inject property="visitObject" type="state" object="session-data"/>
Add this to your class:
public abstract Visit getVisitObject();
Now you can access the object in a method like this:
Visit v = getVisitObject();
Don't know if this is what you meant, but at least it enables you to
reset al the values.
I'm not using annotations btw because I'm on 1.4
-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of ABC
Sent: vrijdag 28 april 2006 9:01
To: [email protected]
Subject: re-initialize ASO objects
Hi,
Anyone have the idea of how to re-initialize an ASO object.
I have a situation where i need to reset all the values of an ASO object
that i m using.Is there any way to do that?.
Any help is appreciated :)
---------------------------------------------------------------------
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]