Re: [Wicket-user] How to force WicketTester object to type cast in other Application object

2007-04-27 Thread Igor Vaynberg
ah, not sure how to do it in 1.2.5 :| not sure if you even can. -igor On 4/26/07, Akshat [EMAIL PROTECTED] wrote: Hi Igor, Thanks for your reply. Here is the thing: (using wicket 1.2.5) I could not find the constructor that takes the Application object. So I tried the following.

[Wicket-user] How to force WicketTester object to type cast in other Application object

2007-04-26 Thread Akshat
package com.xyz.xyzcom.wicket.pages.sections; import com.xyz.xyzcom.wicket.pages.DefaultxyzPage; public class DefaultHomePage extends DefaultxyzPage { public static final String HOME = home; public String getSection() { return HOME; } public String

Re: [Wicket-user] How to force WicketTester object to type cast in other Application object

2007-04-26 Thread Igor Vaynberg
myapplication app=nnew myapplication(); wickettester tester=new wicketteseter(app); -igor On 4/26/07, Akshat [EMAIL PROTECTED] wrote: package com.xyz.xyzcom.wicket.pages.sections; import com.xyz.xyzcom.wicket.pages.DefaultxyzPage; public class DefaultHomePage extends DefaultxyzPage {

Re: [Wicket-user] How to force WicketTester object to type cast in other Application object

2007-04-26 Thread Akshat
Hi Igor, Thanks for your reply. Here is the thing: (using wicket 1.2.5) I could not find the constructor that takes the Application object. So I tried the following. tester = new WicketTester(); tester.set(new xyzApplication()); But this gives me the