Hi!
I'd like to know how to redirect a page automatically using wicket after a
given time interval. Currently i'm using the following java class to do this
Timer timer = new Timer();
timer.schedule(new TimerTask()
{
public void run()
{
setResponsePage(new LogOutConfirmationPage());
}
}
, 1 * 60 * 1000);
This is supposed to redirect the page after 1 minute but Wicket is throwing
the following runtime exception "There is no application attatched to the
current thread"
Is there any way to do this using the wicket framework?
--
View this message in context:
http://www.nabble.com/Redirecting-a-page-after-a-given-time-interval-tf3097478.html#a8599996
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user