In the message that I sent I am sure that the text that Igor sent was
included.

if not here it is:

Igor Vaynberg wrote::
onclick() {
  final string url=urlfor(HomePage.class);
  getsession().invalidate();
  getrequestcycle().pushTarget(new RedirectRequestTarget(url));
}

Only this:
getRequestCycle().setRequestTarget(new RedirectRequestTarget(url));

Instead of this:
getrequestcycle().pushTarget

That is what I meant.

On 4/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:

> Great, both of them worked.
>
> Only this:
>
> getRequestCycle().setRequestTarget(new
> RedirectRequestTarget(url));

What do you mean?

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

-------------------------------------------------------------------------
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