You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Daniele Dellafiore <il...@gmail.com> on 2009/07/07 12:49:25 UTC
Different parameters passed in test and runtime
in the page MyStartPage...
add(new BookmarkablePageLink("new", MyTargetPage.class, new
PageParameters("action=new")));
in the test:
tester.startPage(MyStartPage.class);
tester.clickLink("new");
adding a system out, in the MyTargetPAge constructor, parameters have
this value:
action = "[new]"
while running the app and clicking on the link in the browser, I get:
artwork = "new"
this is related to the mount:
mount(new MixedParamUrlCodingStrategy("artworks", MyTargetPage.class,
new String[] { "artwork", "action" }));
but, it seems that something is wrong here, don't you?
wicket 1.4-rc6
--
Daniele Dellafiore
http://blog.ildella.net
http://twitter.com/ildella
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org