A page is stateless when there are no callbacks to the page. That means there are no forms
or no Links on it that callback the page when the form is submitted or link is clicked.
If you want stateless pages. Don't use the Form component and only use Bookmarkable or ExternableLinks.
johan
On 4/23/06, Marco Geier
<[EMAIL PROTECTED]> wrote:
just wanted to minimize session memory consumption by using "stateless"
pages, but one thing puzzles me:
in Page.java there is this code:
/**
* @return Return true from this method if you want to keep a page out of
* the session.
*/
final boolean isStateless()
{
return stateless;
}
this method is *final* and *package protected*, so how am i supposed to
return "true" in my own statless pages?
Shouldn't this method be *protected* and *non final*?
Or am i completely missing something?
Regards,
Marco
-------------------------------------------------------
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