Hi Matecito ;-)

I'm using Tapestry 4.0.2, but @InjectSpring and @InjectObject
annotations are not from Tapestry 4.0.2 core, they are from
tapestry-spring module.
Anyway, if when you change something you get a bean error it means
that the problem is in other place. Are you sure that the NPE isn't
happening inside PersonDAO?

Alejandro.

On 4/26/07, Alex Fishlock <[EMAIL PROTECTED]> wrote:
I am T5 sorry

-----Original Message-----
From: mateamargo [mailto:[EMAIL PROTECTED]
Sent: 25 April 2007 19:16
To: users@tapestry.apache.org
Subject: Re: InjectSpring and NullPointerException



Alex Fishlock wrote:
>
> I use this with good results:
>
> @Inject("spring:somebean")
> private SomeBean somebean;
>

Without getter or setter?
Are you using a .page file for each class?
--
View this message in context:
http://www.nabble.com/InjectSpring-and-NullPointerException-tf3646961.html
#a10186539
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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