Kevin,

Thanks for your input.

Unfortunately I am still getting the same error.
Played around with changing the name of the Visit class implementation.
Plus also tried casting it. I am still getting the same error.

Anyone with any other suggestions


Regards
 
Andrew Pym

-----Original Message-----
From: Kevin Menard [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 7 September 2005 10:40 PM
To: Tapestry users
Subject: Re: Issue with Visit & PropertySelection


On Sep 7, 2005, at 6:42 AM, Andrew Pym wrote:
>
>     @InjectState("visit")
>
>     public abstract Visit getVisit();
>
>
> Error at context:/WEB-INF/AddEditLookup.page, line 5, column 76:  
> Method
> 'public abstract au.com.goldenmean.ir.Visit
> au.com.goldenmean.ir.Pages.AddEditLookUpValues.getVisit 
> ()' (declared in
> class au.com.goldenmean.ir.Pages.AddEditLookUpValues) has no  
> implementation
> in class au.com.goldenmean.ir.Pages.AddEditLookUpValues (or enhanced
> subclass $AddEditLookUpValues_27).
>

I haven't actually tried injecting ASOs yet, but according to the  
User's Guide:

"The IPage interface defines two read-only properties: visit and  
global. These are both type Object. This is a holdover from Tapestry  
3.0, which only supported these two application state objects. If you  
want to access the visit or the global application state objects  
without needing casts, you will have to inject as a differently named  
property (say appVisit or visitObject)."

Could that be your problem?

-- 
Kevin




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

Reply via email to