Display of progress bar problem

Hello

I have a strange problem with dynamic action jQuery.

I worked with Apex 4.2 on IE 11. I tried 7 and 26 theme!

First of all, I modified a page template and added a div of progress bar:

...
<body #ONLOAD#>
  <div id="OWN_PROGRESS_BAR"
    <h1>Loading!</h1>
  </div>
...


#OWN_PROGRESS_BAR
{
  height:200px;
  width:400px;
  position:absolute;
  top:50%;
  left:50%;
  margin:-100px auto auto -200px;
  background:#fff;
  border:1px solid #555;
  z-index: 99999999;
  display: none;
}


I then added js functions fo show and hide the element:

  function ShowOwnProgressBar()
  {
    $("#OWN_PROGRESS_BAR").show("slow");
  }

  function HideOwnProgressBar()
  {
    $("#OWN_PROGRESS_BAR").hide("slow");
  }


Then I added a button that triggers an event, which is caught by a dynamic action.

In dynamic action, I do following steps:

1. run Javascript: ShowOwnProgressBar()

2 run PL/SQL (result of wait)

3 SetValue

4 SetValue

5 refreshment area

6 run Javascript: HideOwnProgressBar

It does not work! The progress bar is displayed for one second after completing the process of PL/SQL.

Does anyone have an idea where the problem would be?

I'm grateful for any help!

The problem is that the way in which the work DA browser will be busy and will not refresh the screen while the thread DA is running.

This can help, try calling ShowOwnProgressBar() with timer.

setTimeout (ShowOwnProgressBar (), 1);

I used 1 as gift ' r you really want a delay. But I think that this will make the enforcement code on its own thread.

Let me know if it helps.

Thank you

-Jorge

Tags: Database

Similar Questions

  • How to display the progress bar of the rendering in the Windows Dock?

    Is there a setting preferably under Windows that allows you to display a progress bar of the rendering on the icon in the dock for the first way AE does?

    N °

    Mylenium

  • in IE progress bar problem with on call for application

    I have several on the enforcement of the application process that I have called from javascript. The application process call pl/sql procedures in turn. Some of the procedures can take up to 10 seconds to complete, and while they are running, the screen just to freeze so that the user does not know that they are actually running. So, I would add some kind of a progression or Hourglass bar or an indication that things are moving.

    So I found the instructions of Re: hourglass display when the Page is processing . This works fine in Firefox but not in Internet Explorer.

    My footer text:

    < Style > #AjaxLoading {padding: 5px; do-size: 18px; width: 200px; text-align: center; left: 50%; top: 20%; position: absolute; border: 2px solid #666; background-color: #FFF ;}}
    < / style >
    < div id = "AjaxLoading" style = "" display: none; ">..." Treatment...
    < img src = "" #IMAGE_PREFIX #processing3.gif "id ="wait"/ >"
    < / div >

    My javascript:

    function create_invoice (pMilestoneNumber) {}
    Okay var = ("are confirm you sure you want to charge this invoice?");
    get var = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is P110_CREATE_INVOICE', $v ('pFlowStepId'));
    If (! OK)
    return;
    html_ShowElement ('AjaxLoading');
    get.addParam('x01',pMilestoneNumber);
    gReturn = get.get ();
    Alert (gReturn);
    get = null;
    doSubmit();
    }

    In Firefox, the progress bar is displayed immediately after the user clicks ok to the confirmation request. In Internet Explorer, it does not appear until the application process of return with the return message.

    Any help would be greatly appreciated.

    Hello

    OK, it wasn't - it is just because there was a bug in my process it seemed that it worked. Sorry end that.

    So I re-tested, and the same problem that you experience will occur if you use Chrome. I think the best way is to use the technique suggested in the original thread that you connected. I so like this:

    function AjaxTest(){
         if(confirm("Are you sure you want to bill this Invoice?")){
              html_ShowElement('AjaxLoading');
              var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=IE_TEST',$v('pFlowStepId'));
              gReturn = get.GetAsync(g_AsyncReturn);
         }
    }
    
    function g_AsyncReturn(){
         if(p.readyState == 4){
              alert(p.responseText);
         }else{
              return false;
         }
    }
    

    That seems to work for me.

    In addition, you will notice in the example page, it shows the AjaxLoading element when loan State == 1, but in my experience, it doesn't work well not with chrome, so who's right for which I left out of the call back and just show before the process begins.

    Van
    Trent

  • Display the progress bar when you use the Calculate function

    Hello

    For my project, I need to convert the raw values of a signal in physical quantities.

    To do this, I use the function "calculate".

    Because I have a lot of data, it takes time, and the user does not know if it works or not.

    The first thing I did, is to Add Dialog.BeginWaitCursor and Dialog.EndWaitCursor which works well, but is not enough.

    To view activity, I want to display a progress created bar before calling 'Calculate' and stopped after that.

    The progress bar does not need to show real progress, but displayed only a movement of progress even if it again to zeor until the end of the calculation.

    I have read some information on the progress made on this forum, but he did on selfmade function and tiara not call functions.

    This is why it is not useful to me.

    I don't know how to do this using vbs.

    Is it possible to create something like this?

    The best solution would be to get the status of the function of 'Calculate' to see where he is, but the function is not created to do this.

    Thanks for all the ideas,

    Best regards

    CFOE

    Hey CFOE,

    I asked R & D at the same time, because I thought I remembered seeing a progress bar continued in tiara before, but I didn't know if it was something we might call with a VBScript command.  I just heard back that you can, and it's here...

    Call AutoLoopInit
    MsgBox "ready to stop the progress bar?
    Call LoopDeInit

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Download of the updates of Windows 7 is no longer displays a progress bar and shows instead download Windows 10 which is not. How can I fix?

    For a few months now, since Windows 10 became available, download updates to Windows 7 is no longer shows the progress bar during download or installation u [pdates.  It shows only 10 of Windows that is not downloading.  Indeed updates get installed OK, but no progress of any dind is shown.  I have downloaded and run the Mocrosoft update tool that does nothing to fix this.  I'm not entering the registry to fix this if necessary.  Microsoft has a fix available that I have not yet found?

    FIXED A PROBLEM.  May 18, 2016, I chatted online with Oliver, a Microsoft technology and explained my problem.  I told her I used Windows uptate tool and repair Microsoft tool nothing helps.  He took control of my desktop with my permission and completely removed all Windows 10 applications since I don't foresee the download of Windows 10.  To my surprise this morning I received a notice to update regularly Windows for 8 major updates Windows 7.  When I chose to download, the porgram climbed the alsways has showing the progress of the download as well as the progress of the installation.  The reference to Windows 10 has now disappeared from the update page, thank God.  Thank you, Oliver.

  • How to display a progress bar on download the file?

    Hello

    Is it possible to display a progress on the blackberry.io.filetransfer.download function bar? I don't know how to get a file size before downloading from the server? I noticed bbui.js has also a progress indicator that works ok if I knew how to calculate the total size of the file before you download and change the size of the file in bytes on the device.

    Thank you

    Finally, I found a solution for this proglem. You must use html5 XMLHttpRequest to which you can link the onprogress event and calculate procent of the loaded data. https://github.com/BlackBerry/BB10-WebWorks-samples/tree/master/fileTransfer is an example for this, but unfortunately a pure html5 file transfer does not work here because blobbuilder has been deprecated. Thr disadvantage of this approach is that all of the loaded data is kept in memory before writing to a file system and it is not suitable for large files. The device is out of memory and the operating system closes all windows/applications open in the end, it will close even the running application

  • Display a progress bar in a script

    I have a script that simply brings together a number of elements of VirtualCenter. It takes a long time to run.

    How can I add a progress bar to the script so that I can see what is happening. I assume that using write-progress, but I can't understand how it works.

    Here is the code of the script.

    $report = @)

    % {$totalnohosts = (get-vmhost------| spell name - descending------| % {$server = $_------| get-view; $server.config.product------| select {$server.name}, version}------| measure-object) .count = $TotalDatastores (get-datastore------| spell name - descending------| % {$server = $_------| get-view; $server.summary}------| select name------| measure-object) .count = $TotalnoVMs (Get - VM------| spell name - descending------| % {$server = $_------| get-view; $server.config.name}------| select name \|measure-object).count $TotalClusters = (Get-cluster------| spell name - descending------| % {$server = $_------| get-view; $server.config.name}------| select name \|measure-object).count $TotalDatacenters = (get-data center------| spell name - descending-| % {$server = $_------| get-view; $server.name}------| select name------| measure-object) .count = $TotalTemplates (get-template------| spell name - descending------| % {$server = $_------| get-view; $server.name}------| select name------| measure-object) .count))}                $TotalCustom = (get-OSCustomizationSpec------| measure-object) .count

    If ($TotalClusters - gt 0) {$cluster = $TotalClusters} else {$cluster = '0'}

    $row = ""------| Select "no hosts', 'no. Data warehouses', 'no. VM (s) ","No. " The clusters', 'no. Data centers', 'no. Models', 'no. Customizations "$row." N °"Hosts"= $totalnohosts $row. "" N ° data warehouses "= $TotalDatastores $row. "N ° VM (s)"is $TotalnoVMs $row. "" N ° Clusters "= $cluster $row. "" N ° data centers ' = $TotalDatacenters $row. "" N ° models ' = $TotalTemplates $row. {"" N ° customizations "= $TotalCustom $report += $row} $report

    Thanks in advance for any help.

    Here is a simple example, I added a sleep to emulate a work...

    $i = 1
    $VMs = Get-VM
    $Length = $VMs.Length
    ForEach ($vm in $VMs)
    {
              Write-Progress -Activity "Processing Information" -Status "$vm ($i of $Length)" -PercentComplete (100*$i/$Length)
              # Do something with the object.......
              Write-Output $vm.name
              sleep 2
    }
    

    If you found this information useful, please consider the allocation of points for correct or helpful.

    Alan Renouf

    http://Virtu-al.NET

  • How can I display a progress bar in TestStand and update using expressions?

    Topic says it all...

    Thank you

    Dominik

    I threw together.  I would like to know if this is enough or if you have any questions.

    Kind regards

  • How to close the new colored under the address bar progress bar?

    In Firefox 7, there is now a little color "progress bar", under the URL that loads with color segmentation like loading a web page. While some might find it useful, I consider that it both inconvenient and unpleasant. Can someone tell me how to disable this "feature" in subject: config? I want to keep the color granularixation of sections of the address, but it is not necessary to make this load as a color whenever a page loads. If I wanted rainbows in my browser, I would create a good luck theme. I have need, thank you.

    Just to be safe, you have started Firefox backup mode?

    • Help > restart with disabled modules

    A screenshot that displays the progress bar would be useful.

    Maybe anyone recognizes.

  • progress bar jQuery UI in the apex report rows

    Hello

    Anyone know how I can display the progress bar from jQuery UI in each line of a report to the Apex 4? Each measure must the length according to the value in one of the columns.

    Thank you.
    Andy

    http://www.talkapex.com/2009/06/displaying-percentage-bar-in-apex.html

    Does that help?

  • Problems with the current time of the progress bar reading

    First of all, a terminology.

    As Adobe Flash Player is about to play a video, it shows a spinning icon in the center of the video window.  I've seen web pages which call it the beach of rotation ball.  I'll call it simply as the icon of "spinning".

    Adobe Flash Player is playing a video, when we move the cursor over the video window (or moves the cursor when playing the video in full screen), we see a progress at the bottom of the window bar.  To the left of the status bar is a pause button.

    The progress bar has a pointer representing the playing time in the video.  The progress bar also has a display of the playing time and duration of the video (for example, 40:37 / 01:12:35, which means that read is 40 minutes and 37 seconds in a video that lasts 72 minutes and 35 seconds).

    On my Windows XP system, when Flash Player V10.0.32.18 is playing a streaming video, the video pauses when the bandwidth is temporarily insufficient to provide the video bit stream.  Rotation icon appears in the center of the video window.  Currently reading on the progress bar stops too, as it should.  But when the video continues, the playback time does not begin incrementing again.  He remains at a standstill at the time of the break, which is irritating, because it is no longer possible to say how long he remains in the video.

    It took me a long time to discover that once the current play time has stalled, pressing the pause button will cause the current play time refresh to the correct playing time and begin to increase again.  Yaaayyyyyy!

    Now, maybe someone can help me with a challenge that I have been unable to solve.

    Occasionally, I want to save a few seconds in a video.  But if I use my mouse to get the pointer in the progress bar and move it to the back, move the pointer a few seconds is a huge challenge.  Even a slight movement of my mouse moves the pointer back a minute or two.

    Is it possible to move the pointer using a key (for example, an arrow key) so that each press of button moves the pointer to return only one or two seconds?

    And how about being able to key in an hour and press on enter, what causes the pointer move on time? Any way to do it?

    Hi, OSW, you say that you are using XP, SP1, 2 or 3? What version of IE are you using with XP? You are speaking of two different computers or just XP? You use a different browser?

    The Flash Player version is very old, who would be part of your problem as most of the sites have updated to the latest,

    who is 10.0.45.2.

    In my opinion, it is the cause of everything you encounter.

    After return of the news and we'll go from there.

    Thank you

    eidnolb

  • Safari 9.0.2. I find safari hangs and does not open pages as it should. Blue progress bar moves to half way then stops. Reload the page do me later, but it is slow. No idea what's causing the problem. WiFi is good.

    Safari. When opening a site, the page frequently does not. The blue progress bar moves about half way and then stops. I can get to move usually by reloading the page, but it's slow and frustrating.

    It does occur on a particular site. Now, it seems to be fairly general.

    WiFi is good so I don't think that's the problem.

    Any ideas?

    Go step by step by step and test.

    1. turn off the power to the router. Unplug it from the wall. Wait a while.

    Plug it in, back to the wall. Turn on the router. Wait for all lights are light up properly. It will take a while.

    Restart the computer.

    Boot mode safe.

    https://support.Apple.com/kb/PH18760?locale=en_US

    2 remove Caches.db

    Close all windows and close all applications.

    Hold down the 'option' key, then click on the "Go" menu in the Finder menu bar.

    Select 'Library' in the menu dropdown.

    Library > Caches > com.apple.Safari > Caches.db

    Right-click on the Caches.db file and select "move to trash".

    Close the windows.

    Restart and restart Safari.

    3 empty Caches

    Safari > Preferences > advanced

    Tick the box "Show develop menu in menu bar."

    Develop menu will appear in the Safari menu bar.

    Click on develop and select 'Empty cache' in the menu dropdown.

    4. remove the Cookies

    Safari > Preferences > privacy > Cookies and other data from the website:

    Click on the button "Details".

    Delete all cookies except those from Apple, your internet service provider and the banks.

    5 Disable Extensions and test them.

    Safari > Preferences > Extensions

    Uncheck 'Enable the Extension' and test.

    Enable the Extensions one by one and test.

    To uninstall any extension, select it and click the "Uninstall" button

  • When I select a sequence of five frame to render HDR in Lightroom it merges files in a preview very well. But when I click on the Merge option, the progress bar is obstruction of about 42% complete. I suspect a memory problem, so I spent a few hours Unite

    When I select a sequence of five frame to render HDR in Lightroom it merges files in a preview very well. But when I click on the Merge option, the progress bar is obstruction of about 42% complete. I suspect a memory problem, so I spent a few hours uninstalling a bunch of useless software on my laptop and still photography will not merge the HDR sequence. It worked once before, but now it does not work. Help!

    I just 8 GB of RAM and have been able to put together five separate images HDR images. I compared these files 5-image HDR with files - 2 and 3-image and see improvement very few (if any) using all five. Your results may vary, but you can try to reduce the number of images until you get your new laptop.

  • How to make the progress bar display in the icon in the taskbar for WIN 7?

    How to make the progress bar display in the icon in the taskbar for WIN 7? I see Eclipse Helios can show the loading progress bar in the icon in the taskbar of WINDOWS 7 at startup.

    Is not the feature that provides JavaFX, you must write a native connection called technology such as JNI to make specific Windows API call for updating the icon in the taskbar for the application.

    Maybe you could go through the Eclipse source code to see how Eclipse and see if you can make use of the same mechanism in your application.

    More tips on how you can implement this are outside my area of expertise.

  • Display the elapsed time in the progress bar?

    Hi, is it possible to display the time elapsed in the progress bar from a Captivate video instead of projection that frame the user is on?

    Hello

    You will need a Flash programmer to adapt a play bar for this purpose. BTW: it displays the current slide, not the frame

    If you want to display the time elapsed (in real time or estimated time based on the length of the slide) by using a text caption, check out my blog:

    Display information in time

    Lilybiri

Maybe you are looking for

  • Can I set up a secondary monitor to the HD on my iMac mid 2011

    Can I set up a secondary monitor to the HD on my iMac mid-2011 with no problems. I cannot afford to upgrade to the new iMac 27-inch and wanted to update my monitor. Is this possible on the Mid 2011 iMac?

  • My ReadyNAS NV + is confused.

    Hello My ReadyNAS NV + seems to be confused. I was doing some winter spring cleaning top it - I went in a sharing and deleted a bunch of files. Rather than to remove them, all network shares disappeared. I restarted the NV +, but the shares are not r

  • After getting my A200 Satellite games run slower

    I have a laptop Satellite A200 - 14 d with Vista (32) that came pre-installed. I had to format and use the product recovery DVD for vista reinstalled with all the drivers. The problem is: before formatting, according to me, there was another applicat

  • Prevent users to restore it to factory settings

    I was wondering if it is possible. At the moment no matter what standard user with a legitimate password is able to press F8 when windows is loaded, enter repair and restore default computer. Is it possible to prevent ordinary users to do?

  • ACER ASPIRE E5 571-56UQ TOUCHPAD DESIREE MISSING PARAMETER

    I've had my laptop for 10 days.  The cursor jumps so badly that the computer is almost unusable for anything other than the electronic reading or browsing the web.  The only way I can stop the cursor jump is to dsiable the touchpad through Fn + F7.