dukejansen
2007-05-09 07:55:04 UTC
Anyone have any recommendations for how I would go about getting my Ajax
event handler method to trigger a refresh of the current page on the client
side after it is done with the Ajax request? My Ajax event handler needs to
first close the current modal window and then refresh the entire page.
I've tried:
ModalWindow.closeCurrent(target);
target.appendJavascript("window.location.reload()");
But I get the Javascript popup client side warning me that I'm navigating
away from a page while a modal window is still open. Seems like a bug. Is
there a better way to do this?
-Jason
--
View this message in context: http://www.nabble.com/Force-page-refresh-after-Ajax-request-completes--tf3714279.html#a10389905
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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/
event handler method to trigger a refresh of the current page on the client
side after it is done with the Ajax request? My Ajax event handler needs to
first close the current modal window and then refresh the entire page.
I've tried:
ModalWindow.closeCurrent(target);
target.appendJavascript("window.location.reload()");
But I get the Javascript popup client side warning me that I'm navigating
away from a page while a modal window is still open. Seems like a bug. Is
there a better way to do this?
-Jason
--
View this message in context: http://www.nabble.com/Force-page-refresh-after-Ajax-request-completes--tf3714279.html#a10389905
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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/