You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by albgentius <ge...@gmail.com> on 2012/03/15 14:56:36 UTC

WicketTester.startPanel is returning DummyHomePage instead of DummyPanelPage

I have a Panel that has a form and inside that inner form there is another
panel with another internal form.
Before I used to have only the inner panel with the form and all wicket
tests were running fine.
Once I simply refactored that form to get a few buttons out of it so we
could re-use the internal panel with the form and modified the test
accordingly, I am not getting anymore a DummyPanelPage but a DummyHomePage
instead.

I thought a WicketTester.startPanel always returns a DummyPanelPage.

Any insight or any direction is highly appreciated.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-is-returning-DummyHomePage-instead-of-DummyPanelPage-tp4475046p4475046.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: WicketTester.startPanel is returning DummyHomePage instead of DummyPanelPage

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Direction: upgrade to Wicket 1.5 and use #startComponentInPage()
(#startPanel() is deprecated and delegates to the new method).
Even if this is broken in 1.4.x it wont be fixed. 1.4.x goes will
receive only security fixes from now on.

On Thu, Mar 15, 2012 at 3:56 PM, albgentius <ge...@gmail.com> wrote:
> I have a Panel that has a form and inside that inner form there is another
> panel with another internal form.
> Before I used to have only the inner panel with the form and all wicket
> tests were running fine.
> Once I simply refactored that form to get a few buttons out of it so we
> could re-use the internal panel with the form and modified the test
> accordingly, I am not getting anymore a DummyPanelPage but a DummyHomePage
> instead.
>
> I thought a WicketTester.startPanel always returns a DummyPanelPage.
>
> Any insight or any direction is highly appreciated.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-is-returning-DummyHomePage-instead-of-DummyPanelPage-tp4475046p4475046.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



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

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


Re: WicketTester.startPanel is returning DummyHomePage instead of DummyPanelPage

Posted by albgentius <ge...@gmail.com>.
We will probably upgrade sometime soon but probably not right now.

At the moment we're still using 1.4.18.

Thank you, 

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-is-returning-DummyHomePage-instead-of-DummyPanelPage-tp4475046p4475192.html
Sent from the Users forum mailing list archive at Nabble.com.

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