Where are you getting that local member from ? You can't have anything
injected and used as a local member because the method you add the
annotation to will likely be replaced...So if you've been trying to set a
member and seeing it null that's why - it's not actually using your method
to inject it.

On 4/25/07, mateamargo <[EMAIL PROTECTED]> wrote:


public List<Person> getPersons(){
    return PersonDAO.getAll();
}

This is because PersonDAO is null, and this is what I need to be injected
by
Spring.
--
View this message in context:
http://www.nabble.com/InjectSpring-and-NullPointerException-tf3646961.html#a10187525
Sent from the Tapestry - User mailing list archive at Nabble.com.


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




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to