getVisit was a nice simple way to get an object associated with that session, 
which could contain other objects.

Now, it would appear I need to get into configuring hivemind, adding a property 
specification to every page and adding abstract get/set methods to every page?

For my uses it seems a bit overkill?

Greg

-----Original Message-----
From: Hugo Palma [mailto:[EMAIL PROTECTED]
Sent: Friday, February 10, 2006 9:53 AM
To: Tapestry users
Subject: Re: getVisit is deprecated?


I think they are great. What don't you like about it ?

On 10/02/06, Greg Cormier <[EMAIL PROTECTED]> wrote:
>
> Hmm I see. These ASO's look ugly :( getVisit was nice and simple for me.
>
> -----Original Message-----
> From: Hugo Palma [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 10, 2006 9:38 AM
> To: Tapestry users
> Subject: Re: getVisit is deprecated?
>
>
> That method being deprecated is a way of saying "don't use the old ways,
> join the evolution" :o), which in turn means that now you should define
> ASO
> as you like and give them the name you like. See more here
> http://jakarta.apache.org/tapestry/UsersGuide/state.html#state.aso
>
>
> Cheers
>
> Hugo
>
> On 10/02/06, Greg Cormier <[EMAIL PROTECTED]> wrote:
> >
> > I checked the Javadocs and there's no nice "use abc instead" :)
> >
> > What's the new way to retrieve your visit object?
> >
> > Thanks,
> > Greg
> >
> > --
> >
> > public java.lang.Object getVisit()
> >
> >     Deprecated.
> >
> >     Returns the visit object obtained from the engine via
> IEngine.getVisit
> > (IRequestCycle).
> >
> >     Specified by:
> >         getVisit in interface IPage
> >
> > ---------------------------------------------------------------------
> > 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to