You could either:

1 - override isStateless and return true
or
2 - make it submit to a bookmarkable page and process the input from
the PageParameters


--
Jeremy Thomerson
http://www.wickettraining.com




On Fri, Jul 31, 2009 at 9:07 AM, Martin
Makundi<martin.maku...@koodaripalvelut.com> wrote:
> Hi!
>
> My login page html looks like this:
> <form id="loginForm" method="post"
> action="https://www.mydomain.com/?wicket:interface=:0:loginForm::IFormSubmitListener::";>
>
> Can set some switch to make it more "stateless"? I would like the form
> submit target to be a stateless url. Why? I assume that currently if
> the user does not have a session but attempts to login, he will get an
> error message. This often happens when the login page itself is cached
> or the session has died while being unused.
>
> In principle there should not be any problem to process the form
> statelessly, because the user is identified using the form so in
> general no previous informatin is needed. Ofcourse I could do this by
> building my own pageParameter parser I am curious if such
> functionality is available out-of-the-box in Wicket.
>
> **
> Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to