Hi

Currently T5.1 was not compatible with spring 3.0, but if you use spring
2.5.6 you should have no problem using T5.1 or T5.2.

The only difference if you use a ContextLoaderListener to load Spring is
that you will not be able to inject Tapestry services inside Spring beans.
Make sure you have declared TapestrySpringFilter instead regular
TapestryFilter in your web.xml file.

see http://tapestry.apache.org/spring.html


2010/11/28 Roy Chan <onj888-tapes...@yahoo.com.hk>

> hi list,
>
> I'm new to tapestry 5, so I follow tutorial from wiki to learn
> t5+spring+hibernate.
> <
> http://wiki.apache.org/tapestry/Tapstry5First_project_with_Tapestry5,_Spring_and_Hibernate
> >
> However, I use the t5.2.4, spring 2.5.6 and hibernate 3.3 instead.
>
> I had a problem of double context, so I checked out the web site knowing
> that T5
> no longer create  contextLoaderListener.  After delete it from the
> web.xml, I have
> "userManager service id undefined" error.  After digging the web,  I
> down load the
> tapestwitter <https://github.com/andyhot/tapestwitter> to find out that
> it is using contextLoaderListener with t5.2, I was confused.
> so which one is right? can anyone can give me some hints to fix the
> problem, or can
> any one point me to a more recent t5+spring+hibernate tutorial?
>
> Thanks
> John Chan
>
>


-- 
Regards,
Christophe Cordenier.

Committer on Apache Tapestry 5
Co-creator of wooki @wookicentral.com

Reply via email to