WicketTester#startPanel marked deprecated??

2011-09-28 Thread splitshade
Hi, 

I´m just upgrading a quire large Application to Wicket 1.5.
I just saw that the Method 
public final Panel startPanel(final ITestPanelSource testPanelSource)

is marked deprecated with the hint:

@deprecated since 1.5 use {@link #startComponentInPage(Class,
IMarkupFragment)} instead

But that does not make sense, since startComponentInPAge only allows the
Single-Argument-String-Constructor.
Or am I wrong?

Regards

Martin

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-marked-deprecated-tp3850565p3850565.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WicketTester#startPanel marked deprecated??

2011-09-28 Thread Martin Grigorov
Use org.apache.wicket.util.tester.BaseWicketTester.startComponentInPage(C)

On Wed, Sep 28, 2011 at 12:01 PM, splitshade
martin.dil...@googlemail.com wrote:
 Hi,

 I´m just upgrading a quire large Application to Wicket 1.5.
 I just saw that the Method
 public final Panel startPanel(final ITestPanelSource testPanelSource)

 is marked deprecated with the hint:

 @deprecated since 1.5 use {@link #startComponentInPage(Class,
 IMarkupFragment)} instead

 But that does not make sense, since startComponentInPAge only allows the
 Single-Argument-String-Constructor.
 Or am I wrong?

 Regards

 Martin

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-marked-deprecated-tp3850565p3850565.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WicketTester#startPanel marked deprecated??

2011-09-28 Thread splitshade
ah there you go, got it.
Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-marked-deprecated-tp3850565p3850659.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org