That seems to work.  I was trying to do exactly that earlier.  At the time, I
couldn't seem to access the setResponsePage() method but I must have been
doing something wrong.  For anyone who might be reading this later, I ended
up calling setResponsePage(getPage() );

The only problem I am having now is that ModalWindow has an annoying "are
you sure you want to navigate away from this page" JavaScript confirm since
the modal window is open when the browser tries to move on.  Maybe there's
something in the API to disable that warning...

Anyway, thanks for the help everyone.

-Brandon


John Ray wrote:
> 
> 
> UPBrandon wrote:
>> 
>> Is there any way to have an AjaxButton "trigger" a complete non-Ajax page
>> refresh?
>> 
> 
> Call setResponsePage() passing the page you want to be loaded after the
> AJAX call is complete. To refresh the current page simply pass in the
> current page i.e. "this".
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Refresh-a-page-from-an-AjaxButton--tf4469626.html#a12745497
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to