Hi! I'm using spring dataDao in my tapestry 5 application. Tapestry's filter used is org.apache.tapestry5.spring.TapestrySpringFilter in web.xml
I can inject my dataDao in com.myapp.pages package, there is no problem. But I have a package com.myapp.model where I need to use dataDao as well, injecting doesn't work in this package, I end up with null pointer exception. So as workaround I have to pass my dataDao bean from pages classes to model classes as argument in constructor of any model's class. Could someone point the correct way to inject spring dao not in pages package, but some other in same web application. Regards, Vladimir Bauer