looks like you are passing int he wrong path to the form?
-igor
On 3/7/07, Murat Yücel <[EMAIL PROTECTED]> wrote:
Hi Jean
Yes i have tried tester.newFormTester("form"). I get the following error:
junit.framework.AssertionFailedError: path: 'form' does no exist for page:
DummyPanelPage
at wicket.util.tester.WicketTester.getComponentFromLastRenderedPage (
WicketTester.java:399)
at wicket.util.tester.WicketTester.newFormTester(WicketTester.java
:557)
at wicket.util.tester.WicketTester.newFormTester(WicketTester.java
:540)
Do i have to override DummyPanelPage? It seems like i dont have to because
it is a dummy
container containing the panel i want to test.
/Murat
2007/3/7, Jean-Baptiste Quenot <[EMAIL PROTECTED]>:
>
> * Murat Yücel:
>
> > Is it possible to test a panel that includes a form and make use
> > of ajax? If yes how is it possible and do you have an example
> > :)...
> >
> > I am already using this method WicketTester.startPanel but i can
> > only test that the panel is rendered without any errors. I cant
> > retrieve the form element. Well i cant figure out how to
> > retrieve them :)
>
> Have you tried tester.newFormTester("form")
> --
> Jean-Baptiste Quenot
> aka John Banana Qwerty
> http://caraldi.com/jbq/
>
> -------------------------------------------------------------------------
>
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user