i have read it and i do see one bit strange thing:
|PageParameters pageParameters = new PageParameters();
RequestCycle requestCycle = getRequestCycle();
PizzaModel pizzaModel = (PizzaModel) getModelObject();
pageParameters.put("pizzaModel", pizzaModel);
requestCycle.setResponsePage(getPageFactory().newPage(
WicketTestConfPage.class, pageParameters));
requestCycle.setRedirect(true);|
It seems to me that it isn't clear enough yet how you can make pages.
What i should do in youre submit is this:
| RequestCycle requestCycle = getRequestCycle();
PizzaModel pizzaModel = (PizzaModel) getModelObject();
requestCycle.setResponsePage(new WicketTestConfPage(pizzaModel));
requestCycle.setRedirect(true);|
And then of course i also have a PizzaModel constructor.
PageParameters are used for BookmarkablePages
And it shouldn't container full fetched objects (only Strings and Numbers)
because it is used to make urls
johan
David R. Heffelfinger wrote:
Hello,
I just finished posting a Wicket review/tutorial on my web site. I
would like to get some feedback on it. If some wicket users could take
a look and let me know how it can be improved I would really appreciate
it. The URL is http://ensode.net/wicket_first_look.html
Thanks,
David
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user