Hi, i am playing a bit with the mockwebapplication and have gotten it
to work so that it goes to the homepage. However now i would like it
to process the request for a bookmarkablepage. I tried this:
application.setupRequestAndResponse();
application.getServletRequest().setPath("/app);
application.getServletRequest().setParameter("bookmarkablePage",PageB.class.getName());
application.processRequestCycle();
and
application.setupRequestAndResponse();
application.getServletRequest().setPath("/app?bookmarkablePage="+PageB.class.getName());
application.processRequestCycle();
stepping trough wicket i notice wicket does not know how to process
this request (it does not see the bookmarkablepage parameter).
So obviously i am doing something wrong, i looked in the obvious
location for the junit test for wicket but the links package does not
manipulate the request like i am (except for the context).
So if anybody could point me in the right direction that would be much
appreciated.
Maurice
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop