Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Exception: An operation is already pending
dianbo
Hi All,
1, I use jsapi to access the reports deployed in iServer Express 10.
2, I embed birt in a jsp file.
3, I bind two javascript object actuate.Parameter and actuate.Viewer to two div(s) whose ids are "paramPane" and "viewerPane".
4, I add a button to pass parameters to viewer and execute viewer.submit().
5, I can change different parameter combinations.
My question is:
1, When i execute viewer.submit() before the data of last request is OK, the following exception appears:
uncaught exception: actuate.viewer.ViewerException: Type: err_usage Message: An operation is already pending
what shall I do when i catch the exception?
2, is there any way to release the viewer object?
thanks
Find more posts tagged with
Comments
rmurphy
Use the callback methods to ensure that you are only asking for one operation to occur at a time. I have also used the event handlers to block user actions while operations are being processed.
Rob