you just want to refresh the page that is now in the browser a next page
after 1 minute?

use meta refresh tag. And generate the src so that it has a
(bookmarkable)ulr to that page..

johan




On 1/25/07, tbt <[EMAIL PROTECTED]> wrote:


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