Thanks for the reply.

I am very new to Wicket so please accept my apologies for being a bit
confused.
 
Say in a class I have:

WicketTester t = getTester();  
t.startComponentInPage( myMethod() );

and in a super class I have:

ITestPanelSource myMethod(){
    
   return new ITestPanelSource() {
                
        @Override
        public Panel getTestPanel(String panelId) {
                try {
                        setPanel(createPanel(panelId));
                        return getPanel();
                } catch (Exception e) {
                        e.printStackTrace();
                        fail(e.toString());
                }
                return null;
        }
    };
}

Are you saying I should replace ITestPanelSource with Panel?

Many thanks
Ramin



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-Migration-ITestPanelSource-and-ITestPageSource-tp4657146p4657150.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to