Display ("Please Wait") message WHILE the page loads
Hello All,
I have adf/jsf application. How to add message " Please Wait While Page Loads" WHILE+* the page is loading ?
I am thinking of Window.confirm(" Please Wait While The Page Loads") Is there a better (More Modern) way to do this?_
Many Thanks,
John, when I type <af:statusIndicator and ctrl + space, JDev does not show statusIndicator as one of the choices. I tried adding code but it seems it does not recognize statusIndicator as one of the tags. I am using other jsf and adf tags on the same page :(
Thanks,
Similar Messages
-
I get a please wait message, and the pdf document never loads?
I get a Please Wait message, and the pdf document never loads. i have the latest version on my mac- no luck!
windows xp version x1 the latest. trying to open in gmail.
On Mon, Feb 17, 2014 at 1:23 PM, Claudio González -
Want to show a "Please Wait" message while processing
Hi,
I'm developing an image-processing tutorial applet where the user selects an image and then sets some parameters before pressing an update button which will run a JPEG compression on the image and show the compressed image.
The compression takes a few seconds, so I want the program to show an image saying "Please wait" in the position that the compressed image will appear while the compression is done.
Here is the relevant code:
public void paint (Graphics g) {
if (updating) {
updating = false;
g.setColor(getBackground ());
g.fillRect(575, 370, 250, 250); //clear the area where the image will appear
g.setColor(Color.white);
g.drawImage(updatingImg, 575, 370, 250, 250, this); //updatingImg just displays a "Please Wait" message
doImage = true;
if (doImage) {
doImage = false;
//perform the compression to get the new image and then show it
newImg = imagetest.compressImage(origImg, quantizationMat);
g.setColor(getBackground ());
g.fillRect(575, 370, 250, 250);
g.setColor(Color.white);
g.drawImage(newImg, 575, 370, 250, 250, this);
public void actionPerformed(ActionEvent evt) {
if (evt.getSource() == update){
//perform some error checking
if (errorFound == false){
updating = true;
repaint();
}The problem is that the "Please wait" image never gets shown.. while the compression is carried out that part of the screen remains blank and then the new image is shown.
Can anyone tell me how to fix this?
Thanks.Never mind, I've figured it out.. needed to put the time consuming code in a new thread.
-
Display Temporary wait message while host is processing
Hi there,
On my jsp, I'm calling stored procedure. That stored procedure would take enough time to execute and return resultset.
Is it possible to display message on screen, while stored procedure is being executed at host? Also, this message should be displayed conditionally.
Thanks in anticipation
Edited by: google_me on Oct 23, 2009 4:03 AMYes, you're guessing it right that I'm having hard time with Ajax. It seems like the control doesn't flow in linear order. :( .But now I can't go back. I think only the ajax function is what needs some adjustment
Here is something I've put up with my little ajax knowledge (the ajax function which polls the progress of the update)
function ajaxGetForamtStatus()
var ClaimsKey = document.getElementById('ClaimsKey').value;
var status = "Y";
var responseData;
while(status =="Y")
var setProgressStatus = function(responseData)
if(responseData && responseData == "run")
status = "N";
var ajax;
if (window.XMLHttpRequest)
ajax=new XMLHttpRequest();
else if (window.ActiveXObject)
ajax=new ActiveXObject("Microsoft.XMLHTTP");
else
alert("Your browser does not support XMLHTTP!");
return;
var url="../jsp/FormatStatus.jsp?ClaimsKey="+ClaimsKey;
if(ajax.onreadystatechange)
status = ajax.responseText
ajax.open("GET",url,true);
location.href = '../jsp/DisplayResult.jsp?ClaimKey=' +ClaimKey + '&FirstTime=Y';
}And here is the FormatStatus.jsp
<jsp:useBean id="db" class="com.csc.pt.access.DbBean" scope="request" />
<%@ page import="java.util.* "%>
<%
String usr = (String)session.getAttribute("User");
String pwd = (String)session.getAttribute("Password");
String env = (String)session.getAttribute("env")+"DAT";
String ClaimsKey = request.getParameter("ClaimsKey");
if(!db.isConnected())
db.connect(usr,pwd, env);
String returnValue="";
String query = "Select 1 from BASPCL100 WHERE CLAIM = '"+ClaimsKey+"' FETCH FIRST 1 ROW ONLY";
java.sql.ResultSet rs=db.execSQL(query);
if(rs.next())
returnValue = "wait";
else
returnValue = "run";
if (db!=null) db.close();
out.println(returnValue);
%>As obvious, the ajax function gets caught in an infinite loop and the browser go to non-responding state.Please help me out. -
OT: How can I manage a "Please Wait" message with this scenario?
I have a page which allows you to paste in a potentially
large list of zip
codes.
When you submit this page, the list is de-duped, and then
checked against a
table of ~22,000 zips for matches.
Where and how in this process could I bring up a "Please
Wait" message while
the transaction is being completed?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================> you could also just use the PVII script on body load to
show the
> appropriate div - you could change the name in the" with
the appropriate
> switch statement.
Ew. Double ew.
I'm going to let it ride as is, until someone complains.
Thanks for the
neurons, though. Do you need them back? Or I should say, "you
DO need them
back"!
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"crash" <[email protected]> wrote in message
news:[email protected]...
> you could also just use the PVII script on body load to
show the
> appropriate div - you could change the name in the" with
the appropriate
> switch statement.
>
> It's my belief that some of your html elements will be
able to show while
> others are still being built. I guess I could be wrong
on this, but I
> think practically I'm right (ie, you can see elements on
my page building
> before the page is completely done).
>
> HTH,
>
> Jon
>
> "crash" <[email protected]> wrote in message
> news:[email protected]...
>> summation:
>> In your SQL, at the bottom of the statement, you
should be able to put a
>> javascript call that will re-structure the
visibility of the elements
>> according to the variabels returned by the SQL. One
page, reloaded once.
>>
>> My switch statement got a little convoluted. You
should be able to just
>> set one variable, or set one number and go from
there (ie, if $v=3, hide
>> other two), but i've not had any coffee or caffinne
yet.
>>
>>
===========================================================
>> Is the code in the third message on this post from
the originating page?
>> I took that it was, that it had a form, that form
reloaded the same page?
>>
>> If so, you should be able to put a switch in there:
>>
>> switch($stage){
>> case "upload":
>> #this should be once the form has been completed
>> $status=1; //status equal one, two or threee is one
method you could
>> use.
>> break;
>> case "complete"://you could aalso set a variable for
each section, i
>> think the one above is better, but this one made
more sense right now,
>> lol.
>> #show the results,
>> $resultsState="show";
>> $formState="hide";
>> $waitState="hide";
>> break;
>> case default:
>> #empty, or first state, show the form to upload the
data
>> $live="form";
>> break;
>> }
>>
>> then, below:
>>
>> <div id="form" class="<?php echo $formState
?>">
>> <form>
>> whatever
>> </form>
>> </div>
>>
>> <div id="wait" class="<?php echo $waitState
?>">
>> <img src="img/wait.gif" />
>> </div>
>>
>> <div id="results" class="<?php echo
$resultsState ?>">
>> <h1>Results</h1>
>> <p>stuff here</p>
>> </div>
>>
>>
>>
>>
>>
>>
>> "Murray *ACE*"
<[email protected]> wrote in message
>> news:[email protected]...
>>>I can do that. I'm worried about passing the zips
array (which has been
>>>exploded from the input) to the process page. How
would I best do that?
>>>
>>> --
>>> Murray --- ICQ 71997575
>>> Adobe Community Expert
>>> (If you *MUST* email me, don't LAUGH when you do
so!)
>>> ==================
>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>> ==================
>>>
>>>
>>> "crash" <[email protected]> wrote in
message
>>> news:[email protected]...
>>>> THis is how I see the process, I guess I
might not be following you:
>>>>
>>>> 1. User goes to form page, to submit zips.
>>>> 2. User completes form, hits upload
>>>> 3. Page refreshes itself, publishes please
wait message (ie, could you
>>>> not put an if [form submit] is true, echo
this image, then begin the
>>>> sql calculations)
>>>> 4. As the calculations are finished, toggle
visibility of image off,
>>>> toggle div with results on.
>>>>
>>>> If that doesn't work, sorry, I completely
misunderstand and will leave
>>>> you be.
>>>>
>>>> "Murray *ACE*"
<[email protected]> wrote in message
>>>> news:[email protected]...
>>>>> But then there's no opportunity to slam
the waiting message up
>>>>> there....
>>>>>
>>>>> --
>>>>> Murray --- ICQ 71997575
>>>>> Adobe Community Expert
>>>>> (If you *MUST* email me, don't LAUGH
when you do so!)
>>>>> ==================
>>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>>> ==================
>>>>>
>>>>>
>>>>> "crash" <[email protected]>
wrote in message
>>>>>
news:[email protected]...
>>>>>> couldn't you just have it reload the
same page (isn't it anyway?).
>>>>>>
>>>>>>
>>>>>> "Murray *ACE*"
<[email protected]> wrote in message
>>>>>>
news:[email protected]...
>>>>>>> Thanks, Joe. This troubles my
mind, either way!
>>>>>>>
>>>>>>> --
>>>>>>> Murray --- ICQ 71997575
>>>>>>> Adobe Community Expert
>>>>>>> (If you *MUST* email me, don't
LAUGH when you do so!)
>>>>>>> ==================
>>>>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM)
>>>>>>> Technotes
>>>>>>> ==================
>>>>>>>
>>>>>>>
>>>>>>> "Joe Makowiec"
<[email protected]> wrote in message
>>>>>>>
news:[email protected]...
>>>>>>>> On 23 Oct 2006 in
macromedia.dreamweaver.appdev, Murray *ACE*
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> LOL - OK, see, I was
hoping to avoid breaking it into separate
>>>>>>>>> pages
>>>>>>>>> like that, but that way
looks like it'll work....
>>>>>>>>
>>>>>>>> You can just re-call the
page which processes the form data, and
>>>>>>>> check
>>>>>>>> whether or not the
processing has been done:
>>>>>>>>
>>>>>>>> <?php
>>>>>>>> if ($dataWasProcessed) {
>>>>>>>> echo '<h1>Thank you
for using Murray's Data Processing</h1>';
>>>>>>>> } else {
>>>>>>>> // Code to process form goes
here
>>>>>>>> // Code to re-call page with
$dataWasProcessed set goes here
>>>>>>>> // How to set that var left
as an exercise for the reader
>>>>>>>> }
>>>>>>>>
>>>>>>>> Personally, I find that it
troubles my mind less to do such things
>>>>>>>> in
>>>>>>>> separate files.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Joe Makowiec
>>>>>>>>
http://makowiec.net/
>>>>>>>> Email:
http://makowiec.net/email.php
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
> -
Question about Page Builder behavior - how to get a "please wait message" ?
Hi all together,
I got a question about Portal Framework / Page Buider handling iView Integration.
We are working with a lot of App Integrator iViews and often the pages includes with app integrator are loading longer than the rest of the portal. So there is the idea to put in a "please wait while loading message" for the enduser.
I analysed the html code, the page builder is generating and foud out 3 diffrent approaches how the page buider is rendering the IFRAME with the integrated application configured with an app integrator iView.
My question is how can I influence this behavior to put a "please wait while loading message"?
Different types of iView integration in the client I have seen:
a) direct loading of the content in the IFRAME (<iframe id="" ... scr="/mysource">)
b) Filling the iframe with 'about:blank' and loading the content later by filling a form with JS
( <iframe id="" .... scr="about:blank">and after the iframe <form id="" action="mysource" ...>
c) Filling the iframe with a html file from the portal layout and loading the content later by filling a form with JS (similar to b)
( <iframe id=""" ....scr="/irj/portalapps/com.sap.test.mylayout/html/blank.html>
I checked that variant b) is getting generated when loading a page with different components on the side (not only the app integrator iview) and variant c) is generated when just one app integrator iView is positioned (no portal page).
Goal: To get the "please wait picture" I want to know how to get variant c) in cases of different elements on one page
So I would be able to put this picture on the HTML-Page in the Portal layout (blank.html)
Hope, someone with a deep portal / page builder know-how can help me out!
Another way: Does anybody knows another way how to put a "please wait message" while app integrator application is not loaded yet?
Thanks in Advance and kind regards,
Jens
Edited by: Jens Kohne on Nov 24, 2010 9:08 AMHi Jens,
there are several reasons why you don't get the loading animation:
Web Dynpro ABAP: https://service.sap.com/sap/support/notes/1432358 -> missing configuration
Wrong height size for iView: https://service.sap.com/sap/support/notes/1358494 -> alter configuration of the iFrame height (loading animation gets displayed, but is hidden)
FPN, BSP, BEx: https://service.sap.com/sap/support/notes/1290995 -> AI isn't showing the animation because of performance considerations. I guess that is your case. Depending on your portal version this is a simple service configuration or involves some customization.
br,
Tobias -
Displaying 'please wait' graphic during long running process
I have an Apex process that takes about 30 seconds to run. Is there any way to display some kind of 'please wait' graphic on the page to inform the user that something is going on?
I assume some Javascript will be required. Or is there a way of doing it using pure Apex?Antilles,
You can get started learning about there from Carl's demo:
http://apex.oracle.com/pls/otn/f?p=11933:69
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur
You can reward this reply by marking it as either Helpful or Correct ;-) -
I have used Firefox for a number of years but some time ago I got a virus on my computer. I loaded eset nod32, removed the virus and cleaned the old files etc. using ccleaner.com. Now I keep getting the "The connection to the server was reset while the page was loading" message and I haven't been able to use firefox since then. I have uninstalled and re-installed it several times with no avail. I suspect there is something in my windows frrewall stopping it.
If you want to check the Firewall, follow this-
1. Click Start Menu > Control Panel > Security Center.
2. Under the "Manage security settings for" click Windows Firewall.
3. On the Exceptions tab, do one of the following-
1. If Mozilla Firefox Firefox is there in the list, make sure it's checked.
2. If Mozilla Firefox is not there, close the Windows Firewall window. -
I get the following message when trying to connect to firefox:
"The connection to the server was reset while the page was loading." I have to click on "try again" and then it connects.Did you check your security software (firewall)?
A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox.
See [[Server not found]] and [[Firewalls]] and http://kb.mozillazine.org/Firewalls -
I am able to access the internet, but none of the search engines like Google, Yahoo or Bing will work. the page will not load. I get the error message:
The connection to the server was reset while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in a few moments.
* If you are unable to load any pages, check your computer's network connection.
* If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.Your plugins list shows two Flash plugins and other outdated plugin(s) with known security and stability risks.
# Shockwave Flash 10.0 r45
# Shockwave Flash 10.1 r53
# Adobe Shockwave for Director Netscape plug-in, version 11.0
# Next Generation Java Plug-in 1.6.0_19 for Mozilla browsers
Flash Player uninstall: http://www.adobe.com/go/tn_14157 (this will remove the Firefox Flash plugin and the ActiveX control for IE)
Update the [[Flash]] and [[Shockwave|Shockwave for Director]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
*http://www.adobe.com/shockwave/welcome/
*http://www.adobe.com/downloads/
Update the [[Java]] plugin to the latest version.
*http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
Do a malware check with a few malware scan programs.<br />
You need to use all programs because each detects different malware.<br />
Make sure that you update each program to get the latest version of the database.
*http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
*http://www.superantispyware.com/ - SuperAntispyware
*http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
*http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
*http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]] -
I've been working on our church website and all of a sudden this week, my computer will not connect to the site. I keep getting a message saying that the the connection to the server was reset while the page was loading. Does anyone have any ideas of how I can fix this?
The "The connection was reset" error message can be caused by a bug fix for the BEAST (Browser Exploit Against SSL/TLS) attack that the server doesn't handle.
*[[/questions/918127]]
*[[/questions/918028]] -
I am playing in Pogo and cannot open the games even though the homepage and others will open. The message is THE CONNECTION WAS RESET WHILE THE PAGE WAS LOADING.
All my friends are playing and it seems I am the only one have this problem.The "The connection was reset" error message can be caused by a bug fix for the BEAST (Browser Exploit Against SSL/TLS) attack that the server doesn't handle.
*[[/questions/918127]]
*[[/questions/918028]] -
On startup of Mozilla I recieve a message saying "The connection was reset ".
The connection to the server was reset while the page was loading.
Try again? After hitting the try again button it works.
== This happened ==
Every time Firefox opened
== After loading FirefoxI can connect http://www.bbc.co.uk/ & you may be interested in http://www.bbc.co.uk/iplayer/diagnostics
Is your problem with streaming audio broadcasts to and are you outside the UK ?
If so you may have fallen prey to the BBC's Content Distribution Network which often seems to produce problems they keep re-issuing advice such as:
*''Why am I having problems listening to BBC radio outside the UK, such as experiencing poor sound quality or the station is not working?25 May 2011 20:28'' [http://iplayerhelp.external.bbc.co.uk/help/outside_the_uk/radio_problems_international/ <-- this ] -
When I select a website the message that appears is "The connection to the server was reset while the page was loading."The option to Retry is offered.On pressing the Retry butto thhe web page appears.
Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
*Tools > Options > Privacy > Cookies: "Show Cookies"
Which security software (firewall, anti-virus) do you have? -
The connection to the server was reset while the page was loading. is the error message I receive when trying to access google groups.
Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
*Tools > Options > Privacy > Cookies: "Show Cookies"
Which security software (firewall, anti-virus) do you have?
Maybe you are looking for
-
I have a email address . It is not possible to buy icloud storage for it or to add to my first account where i have plenty of icloud storage available. <Email Edited by Host>
-
Macbook Pro Retina (Late 2013) HDMI External Display
I just bought a new MacBook 13" (late 2013). I have two LG displays (LG22LS4R) which I am trying to hook up. One via MB HDMI port to HDMI and the other is Thunderbolt adpater to HDMI. The issue is when I connect MB HDMI port to HDMI, my external disp
-
I downloaded OSX Lion and it keeps telling me on my MacBook to restart by pressing power button then powering back up. Every time same message comes up. I can't get past that although I restart every time.
-
How do I get pages, numbers, keynote, iPhoto and iMovie to update after installing OS X 10.10? I have the original disk.
-
I updated safari to 7.0.3 and pages to 5.2 and can no longer attached files in gmail that are pages or exported to word. Any suggestions?