Does anyone know of any exsisting java progress bars for a java agent? Working on a notes web app thats running a bunch of peoplesoft stuff on wqo and wqs thats really slow on the peoplesoft side. Would love just some “please wait” progress bar/screen while the java agent runs. I searched the sandbox and google but only came up with some got for some ls2j stuff that required me to write my own java UI =)
Subject: “Please Wait”, screen. Java Agent
If your application was notes client based I would suggest this;
http://www.nsftools.com/tips/JavaTips.htm
A co-worker of mine has an example that displays an animated gif when the request is made. A javascript function that displays a DIV on submit and hides it otherwise would do the trick.
You can see it here (http://www.stjohns.ca/mapstjohns/servlet/onpoint) by zooming in on our map services. I had a quick look and you should be able to get what you want by view the page source.
Cheers,
Jon LeDrew
Subject: Try this…
- Create a Page (“mypage”) with the message or image you want users to see while the agent is running.2. Using javascript, open the page in a new window and then run the agent (“myagent”).
var f = document.forms[0];
var w = (window.screen.availWidth/2)-125;
var s = “",top=300,left=”+w+“,width=250,height=165,"”;
var pathname = window.location.pathname.toLowerCase().split (“.nsf”);
var t = pathname[0]+“.nsf/mypage?openpage”;
newwin = window.open (t,“mypg”,s);
newwin.location = pathname[0]+“.nsf/myagent?openagent”