Re: How to test ActivationRequestParameter using PageTester

2011-01-23 Thread Taha Hafeez
at 2:37 PM, Angelo C. wrote: > > if the page contains some injected services, how to use PageTester with > this > kind of page? thanks. > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/How-to-test-ActivationRequestParameter-using-PageTester-tp335344

Re: How to test ActivationRequestParameter using PageTester

2011-01-23 Thread Angelo C.
if the page contains some injected services, how to use PageTester with this kind of page? thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-test-ActivationRequestParameter-using-PageTester-tp3353447p3353466.html Sent from the Tapestry - User mailing list

Re: How to test ActivationRequestParameter using PageTester

2011-01-23 Thread Taha Hafeez
Hi When I have to test a page with context parameter, I create another page say Index which has a page link to this page along with the context Page to Test and then load Index page and click on the pagelink Hope it helps regards Taha On Sun, Jan 23, 2011 at 1:44 PM, Jun Tsai wrote: > hi,

How to test ActivationRequestParameter using PageTester

2011-01-23 Thread Jun Tsai
hi, page(scala): class Start{ @ActivationRequestParameter("name") private var name:String = _ def onActivate():Object={ return new TextStreamResponse("text/plain",name) } } test (scala): val appPackage = "mq.api"; val appName = "App"; // App1Module.java h