On 7/13/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote:
> I have stateless login form on every page of the site. But it works only
> on the home page where the form "action" param looks like this:
>
> ?wicket:bookmarkablePage=%3Acom.xxx.web.main.WelcomePage&wicket:interface=%3A0%3Aheader%3AloginMenu%3AloginForm%3A%3AIFormSubmitListener%3A%3A
>
> When I try to login from the another page which is mounted to some url
> it doesn't work because wicket generates "hybrid" url without
> "wicket:bookmarkablePage" param. I tried to debug and I just see that
> when there's no this param in the request wicket just throws
> PageExpiresException :-( The url is:
>
> page_mount_point?wicket:interface=%3A0%3Aheader%3AloginMenu%3AloginForm%3A%3AIFormSubmitListener%3A%3A

Which Wicket version are you using? Check out the stateless example of
wicket-examples... that uses URL mounting as well and works fine.

Eelco

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to