Hi Chrstophe,

thank you for your reply, I followed the example to local
ApplicationContext.xml in my web.xml.
I know if it is configured externally or internally, the information on
the page is just not enough.
Can you point me some other references?

Thanks
John

於 2010/11/29 0:55, Christophe Cordenier 提到:
> I forgot to say that T5.1 was compatible with Spring 3 but in external
> configuration (Spring ContextLoaderListener)
>
> 2010/11/28 Christophe Cordenier <christophe.corden...@gmail.com>
>
>> 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
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to