Re: Tapestry 5.3.3, Spring 3.1 and @Inject

2012-05-17 Thread m...@raibledesigns.com
Jonathan Barker wrote > > It just occurred to me that these errors are during the running of > tests. Suffice it to say I've had challenges getting tests working > with Spring, while getting an application running has been easy. > > If you don't run your tests, what do you get? Can you get a r

Re: Tapestry 5.3.3, Spring 3.1 and @Inject

2012-05-17 Thread m...@raibledesigns.com
Lance Java wrote > > I see that you are trying @Inject @Service("personManager") > > Can you try @InjectService("personManager") > > http://tapestry.apache.org/defining-tapestry-ioc-services.html > I tried that, it gives the same error. -- View this message in context: http://tapestry.10457

Re: Tapestry 5.3.3, Spring 3.1 and @Inject

2012-05-17 Thread Lance Java
I see that you are trying @Inject @Service("personManager") Can you try @InjectService("personManager") http://tapestry.apache.org/defining-tapestry-ioc-services.html

Re: Tapestry 5.3.3, Spring 3.1 and @Inject

2012-05-17 Thread Jonathan Barker
It just occurred to me that these errors are during the running of tests. Suffice it to say I've had challenges getting tests working with Spring, while getting an application running has been easy. If you don't run your tests, what do you get? Can you get a runnable application - minus tests?

Re: Tapestry 5.3.3, Spring 3.1 and @Inject

2012-05-17 Thread m...@raibledesigns.com
Lance Java wrote > > Take a look at the tapestry-spling 5.0 compatability mode > http://tapestry.apache.org/integrating-with-spring-framework.html#IntegratingwithSpringFramework-5.0CompatibilityMode > I have compatibility mode enabled in my web.xml: tapestry.use-external-spring-co

Re: Tapestry 5.3.3, Spring 3.1 and @Inject

2012-05-17 Thread Thiago H. de Paula Figueiredo
On Thu, 17 May 2012 00:36:09 -0300, Jonathan Barker wrote: I don't think the situation has changed since this thread was written: http://tapestry.1045711.n5.nabble.com/How-to-inject-Spring-Bean-by-name-td3817612.html It would be nice to have the ability to inject by name. Perhaps this wiki

Re: Tapestry 5.3.3, Spring 3.1 and @Inject

2012-05-17 Thread Lance Java
Take a look at the tapestry-spling 5.0 compatability mode http://tapestry.apache.org/integrating-with-spring-framework.html#IntegratingwithSpringFramework-5.0CompatibilityMode -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-3-Spring-3-1-and-Inject-tp5711099p571

Re: Tapestry 5.3.3, Spring 3.1 and @Inject

2012-05-16 Thread Jonathan Barker
I don't think the situation has changed since this thread was written: http://tapestry.1045711.n5.nabble.com/How-to-inject-Spring-Bean-by-name-td3817612.html It would be nice to have the ability to inject by name. Perhaps this wiki entry could provide some hints: http://wiki.apache.org/tapestry

Tapestry 5.3.3, Spring 3.1 and @Inject

2012-05-16 Thread m...@raibledesigns.com
Hey all, I'm trying to get AppFuse's CRUD generation to work with the latest Tapestry 5.3.3 release and Spring 3.1. I can't seem to get Tapestry to recognize a Generics-based Spring class. Here's the code that's generated in PersonList.java: import org.apache.tapestry5.ioc.annotations.Inject; i