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.
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
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 {
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