Re: Getting old visit object

2006-06-24 Thread Yves Sy
Its working fine now. My code was correct -- but i somehow forgot i declared the following in a superclass which caused the runtime error... public abstract ApplicationStateManager getApplicationStateManager(); Thanks for the help! -Yves- On 6/25/06, Shing Hing Man <[EMAIL PROTECTED]> wrote:

Re: Getting old visit object

2006-06-24 Thread Shing Hing Man
> value="org.xxx.MyVisit"/> Instead of above, please try : Shing --- Yves Sy <[EMAIL PROTECTED]> wrote: > Thanks for the reply. > > Since I prefer to use non-deprecated methods, I'm > trying to do it the latter > way: > > @InjectState("visit") > public abstract MyVisit getMyVisit(); > >

Re: Getting old visit object

2006-06-24 Thread Yves Sy
Thanks for the reply. Since I prefer to use non-deprecated methods, I'm trying to do it the latter way: @InjectState("visit") public abstract MyVisit getMyVisit(); ..but this ends up with a runtime error" Unable to add field _$applicationStateManager to class $ProflightOptionsLink_106: duplica

Re: Getting old visit object

2006-06-24 Thread Kevin Menard
On Sat, 24 Jun 2006 12:50:48 -0400, Yves Sy <[EMAIL PROTECTED]> wrote: I have an old Tapestry app which I began to slowly port to Tapestry 4. How do I get a hold of the old visit object configured Tapestry-3 style in a Tapestry 4 page? The easiest thing to do is access it the same way you wo

Getting old visit object

2006-06-24 Thread Yves Sy
Hi, I have an old Tapestry app which I began to slowly port to Tapestry 4. How do I get a hold of the old visit object configured Tapestry-3 style in a Tapestry 4 page? I tried MyVisit visit = (MyVisit) getApplicationStateManager().get("visit"); but this doesn't work Thanks in advance, -Yves-