I have a custom modal window (not ModalWindow) that, upon closure, updates
the grid on my home page.  This processing can take 5-10 seconds and if a
user tries to interact with a checkbox or link in the grid during that time,
they get a component not found exception.  

Basically, what I'm looking for is a busy indicator and IAjaxIndicatorAware
seemed to be a perfect solution to this problem.  However, it doesn't seem
to work for modal closure as getAjaxIndicatorMarkupId() never gets called. 

I then attempted to create a new AjaxRequestTarget in my onClose method for
my modal.  My thought was that if I could append some custom javascript with
a busy indicator to the new target, I could then call it's respond() method
to send it to the browser, and it would execute until the original
AjaxRequestTarget was done.  At this point, I could add more custom
javascript to the original target to stop the indicator.  This solution also
didn't work.  I couldn't figure out how to actually get the new target to
fire.  

I'm out of ideas and don't have a path forward.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/IAjaxIndicatorAware-Busy-Indicator-Problems-tp4029525p4029525.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to