Re: TestNG & Injecting Testify services into pages

2010-01-31 Thread akochnev
Paul, things are working again , thanks for your help. Where I was running into trouble was that looking at the debugger, the field shows up as null up until the point the field is accessed for the first time (at which point the whole lookup of the injected field seems to occur). So, in the de

Re: TestNG & Injecting Testify services into pages

2010-01-29 Thread akochnev
1092  testStupidPageUnitTest m...@9633996 10/01/29 07:56:10 1095 <<tearDown   m...@9633996 akochnev wrote: > > Paul, >thanks for the quick response. Now, down the checklist : > > 1. I am extending from the testng version of the c

Re: TestNG & Injecting Testify services into pages

2010-01-29 Thread akochnev
I seem to remember that one of them outputs the sequence > of setup methods and tests? If you're still stuck can you also send the > testng configuration (xml) file? > > Let me know what you find. > > - Paul > > > > > akochnev wrote on 29/01/2010 11:24:01:

TestNG & Injecting Testify services into pages

2010-01-29 Thread akochnev
I'm running into trouble with using services declared inside of a Testify TestNG test case with @ForComponents into my pages - when I ask the tester to render a page, the services that were supposed to be injected, are null. Any tips on what I'm doing wrong ? Here is the sample code: public c

Re: ServletMultipartDecoder Question

2009-02-10 Thread akochnev
I tried responding to this from my email; however, I got bumped cause apache didn't like my email for spam reasons... Anyway.. Search for SwfUploader on the mailing list archive for more details, the short version of it is: 1. Add tapestry5-upload as a dependency to your project 2. In your pag

PageTester and form validation

2009-01-12 Thread akochnev
I have a page with a couple of required fields (set up in the template w/ t:validate="required"), as well as some custom validation in the page itself (e.g. in the "validate" event handler that calls registrationForm.recordError(...)). Despite the fact that there are missing values in the map (for

Live class reloading problems

2008-11-19 Thread akochnev
I'm running into some trouble w/ the live class reloading feature (the template reloading works fine), tested both on Tomcat 6 , Glassfish 3 Prelude, and Glassfish V2 (all three servers support exploded war deployment). If I re-deploy the application in these servers, then I get the new version o