It's an optimization. So it depends on the kind of application you're building whether you 'need' it. Typically, I'd consider using bookmarkable pages for pages that have to be accessible regardless of any session (e.g. a bookmark). You can code your whole app using bookmarkable pages, but you will loose a lot of expressiveness of Wicket by doing that.
In general, stateless pages are probably good for public facing sites (or a public part of a site) where you can expect large fluctuations in the number of users and where you want to avoid creating sessions (and storing pages in those sessions) until you really need it. Just keep in mind that it's an extra feature to help you make Wicket apps better scalable; we don't encourage using stateless pages as the default. Eelco On 8/10/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > * Johan Compagner: > > > setResponsePage(Page) can be used just fine. Except you have to > > do then setRedirect(false) because if you redirect it (what is > > default when for example submitting a form) then the page is > > statefull because it has to be there after the redirect so that > > we can render it. > > Thanks for your helpful answer. > > Shall I also use BookmarkablePageLink instead of PageLink when I > don't have any parameter to pass, or is it the same? > -- > Jean-Baptiste Quenot > aka John Banana Qwerty > http://caraldi.com/jbq/ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user