Re: T5: PageTester and Spring Integration

2007-03-22 Thread Kent Tong
chris at skipoles.co.uk writes: So, my question... is there a way that I can get spring integration working within PageTester? If not, then some thoughts... You may want to create a feature request at https://issues.apache.org/jira/browse/TAPESTRY and upload a test case. There is no

T5: PageTester and Spring Integration

2007-03-21 Thread chris
I'm using the PageTester class to run some unit tests against my Tapestry pages - it's a fantastic little tool! The problem comes when I hit a page that injects Spring Framework objects into my page (e.g. @Inject (spring:someService)). This obviously blows up because there is no Spring

Re: T5: PageTester and Spring Integration

2007-03-21 Thread Robert Zeigler
I haven't played with the spring integration, but... PageTester has a constructor: PageTester(String, String, String, MapString,Object), where the last argument is for service overrides. The tapestry-spring module defines a service called SpringObjectProvider (which relies on the