ZedroS Schwart a écrit :
> Hi all
>
> I've the following code :
> public class LogoutPage extends SecuredBasePage {
>       public LogoutPage() {
>               ((Session) getSession()).setUser(null);
>               
>               add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) {
>                       protected void onTimer(AjaxRequestTarget target) {
>                               setResponsePage(IntroPage.class);
>                       }
>               });
>       }
> }
>
> However the "onTimer" is never called...
>
> Am I forced to add the behavior to a component even if I don't need
> any component ?
>
> Thanks in advance
> ZedroS
>   
which wicket version do you use? It works fine on wicket1.X but not on 1.2.X
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to