Thanks. This works. But it does not work with PackageMapper via WebApplication#mountPackage() with a Page constructor with IModel parameter.
Would this be an expected behavior? Regards, Bernard On Sun, 17 Feb 2013 01:27:13 +0100, you wrote: >Have a look to MountedMapper >And also the Wicket in Action blog >http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/ > > >François Meillet >Formation Wicket - Développement Wicket > > > > > >Le 17 févr. 2013 à 01:17, Bernard <[email protected]> a écrit : > >> Hi all, >> >> We mount all our pages so that the user can open them from bookmarks. >> >> But as soon as a page aquires some state - it does not matter how >> insignificant that state is - the page mount is discarded and we get >> URLs such as >> >> /wicket/page?0 >> >> which cause PageExpiredException. >> >> We can always re-create a formerly stateful page without state because >> that is very easy. It is far better than PageExpiredException. But we >> can't do it if Wicket does not tell us which page to create even if >> the page is mounted. >> >> The question: How to get a bookmarkable URL for a stateful page >> instead of /wicket/page?0 >> >> Regards, >> >> Bernard >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
