Page 1 of 1

popup while loading large document

Posted: Fri Feb 05, 2010 11:55 pm
by guna@ebscohost.com
Hi,
Is there a way in oxygen to show a popup (example "Loading .....") while document is getting loaded into the Author mode.

example, we have a large xml document, which takes more time to load. so we want to display something for the user to wait.

Re: popup while loading large document

Posted: Mon Feb 08, 2010 10:53 am
by Radu
Hi,

The API is only activated when the document is fully loaded in the Author page.
A progress should appear if the document is opened directly in the Author page from the "Open" toolbar actions.
Indeed, if the document is opened in the Text page and then switched to the Author page the progress is not shown as the operation is blocking the AWT thread.

How large is your document and how much time does it take to load?
Does it reference any remote DTD's or schemas?

Regards,
Radu

Re: popup while loading large document

Posted: Mon Feb 08, 2010 5:03 pm
by guna@ebscohost.com
Hi,
we are opening the document using a custom url handler. currently it takes more than a minute, since it has multiple snippet(x:includes) inside the document.

if we could display progress bar, then it would be helpful for the user

Re: popup while loading large document

Posted: Mon Feb 08, 2010 6:06 pm
by Radu
Hi,

Now I understand your problem.

The actions that you can contribute to the toolbar and menu are blocking and do not allow the progress to appear.
We will try to fix this in the next Oxygen version (11.2) which will probably be available in late March this year.
So in Oxygen 11.2, if you have many xi:includes in the document Oxygen will present a progress tracker for them (and you will not have to).

Regards,
Radu