|
Page Edited :
WICKET :
Passing parameters to pages
Passing parameters to pages has been edited by Will Hoover (Jan 23, 2008). Content:Passing Parameters to a Home PageIn your WebApplication: ... public Class<? extends WebPage> getHomePage() { return HomePage.class; } ... In your HomePage: ... public HomePage() { // Check the current state of everything before passing the parameters if (state == WORLD) { throw new RestartResponseException(PageWeArePassingParamsTo.class, new PageParameters(...)); } } ... |
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
