Animation of page while loading page JSF is loading

JSF 2.1
Mojarra 2.1.7
JBoss 7.1.1

The support on my page JSF bean are in sight, and in the course of the initial request, method @PostConstructor from the bean of the backup may take some time to return, as he calls external systems that are beyond my control. Thus, the phase RENDER_RESPONSE of the initial request to the JSF page, can take, on average, 3-5 seconds back (sometimes longer than that... which is again, out of my control). While this is happening, the rendered page is of course empty because the answer was not yet written.

Naturally, I think a way to show an image of the loading animation.

(1) I've seen suggestions of using a4j: status and a4j:region, but these are valid only for the Ajax requests, whereas what I need is something that I can use during the initial application (not a post back), a life cycle of JSF.

(2) suggestions to use two Div HTML... a DIV shows the animated picture, while the other DIV wraps the actual content, but it is hidden initially. Then, use window.onload () to exchange the two div style so that the div wrapping the actual content becomes visible, as the DIV wrapping the motion picture becomes hidden.

But then again... these DIVs will NOT be written in the answer yet as I am still in phase RENDER_RESPONSE.


The only thing I can think is:

(3) create another page whose only purpose is to show the moving image, and then somehow immediately forward the request to the real page. The image hosted on the first page will continue hopefully animating up until the last page is rendered.

What did you guys?

3 (Alt)) show a view which displays the animation and then triggers the loading page to be requested (not before). Long loading page does not answer until there is really something to show, to keep the visible animation display.

(4) create a system of task that can be queried. Everything takes time to run is run as a background task. the view periodically queries the State of work through ajax and when it ends (or fails), displays the results.

Tags: Java

Similar Questions

  • I want to refresh my page jsf click on the command button.

    Hi all

    I m using JDEV 11.1.2.1.0

    I created a page jsf with fragment I want to refresh my entire page during the click on the command button that is present in the page fragment. Besause I want to refresh some field but those that are present in the jsf page so I can't apply partial trigger because the property of the command button in the support page fragment bean class and the attribute I need to refresh its property in another class.


    Thank you.



    Rafat

    Check this http://adfandjdeveloper.blogspot.in/2011/07/adf-page-refresh-using-java-code.html

  • Why my interactive pdf file shows the animation between pages only in full screen

    Is it possible to display the animation between two (or more) pages in pdf format when you are not using full screen.

    I made a file in indesign CC and exported (fade effect) interactive PDF form.

    But the animation is shown in the view full screen, can I change this?

    Hope to hear from you soon

    Jachim,

    What you call animation between pages is called the Page Transitions in English. (Animation in the Animation Panel does not in PDF, of course.)

    However, in the PDF files, it can only be displayed using the full screen. It's just the way it was designed. There is no way to change this, I'm afraid.

  • In e-mails AOL, verification of the individual messages in the results of regular system in this error message: there was an error while loading the message. Please try again later.

    In access to AOL e-mail via the full version, I can navigate my account (old messages, new messages, spam, etc.) very well, but when I try to open an individual email, I get this error message: "there was an error while loading the message. Please try again later. »

    This is identical to a problem someone else was described in another thread... Unfortunately, nothing suggested you him seemed to work. I have BEEN cheated at the opening of a file attached to an e-mail immediately before this started, so I think it's a virus or something. IN ANY CASE... I AM able to open the messages when I use the basic version of AOL. Initially, the problem seemed to be in Firefox, but I tried with Internet Explorer now also and it's the same thing, and the basic version is accessible while the full version is still blocked.

    On both browsers, after the error message, I can't even click on individual posts to TRY to open another, and there are a few not-very-right boxes and the x and the things that appear on the screen that do not belong.

    Please tell me that you can not do that, go away... I tried uninstalling and reinstalling... Firefox who did not. I also enjoy McAffee, and that has not changed anything.

    You can do a check of malware with several digitization programs of malicious software on the Windows computer.

    Please scan with all programs, because each program detects a different malicious program.

    All of these programs have free versions.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • is it OK to use your macbook while loading

    is it OK to use your macbook while loading

    Yes.

  • New dv6t-7000 Quad Edition BSOD while loading classpnp.sys

    Hi all:

    New edition of 7000 dv6t Quad, 8 GB drive HARD 750 GB, 32 MB "SSD", nVidia graphics, Win 7 Home Premium 64 - bit, core i7-3610QM. Does not start - gets to the Windows startup screen, then the BSOD. Windows "repair" does not BSOD. None of the options available when you press F8 to start Windows are of no use - last known good config, etc. In SafeMode BSOD occurs while loading classpnp.sys. Searched in the BIOS without result - then back to 'default '. Nothing is plugged into any external port. All BIOS diagnostic tests - memory, HARD drive, etc. (I ran everything else) don't report any problems.

    This laptop is old - about three days, initially worked well, then it started to happen.

    I am ready for a re - install, but it seems that this issue has been around for awhile and it does not help.

    Any ideas?

    Thanks to another thread in the forum, I was able to restore the BIOS and everything works fine (hold the key [Windows key] and [b] - keys with the system off, then press and hold power for 3 seconds turn it on).

    Function of the BIOS is quite handy.

  • [CARS] [root.sh FAILS] sqlplus: error while loading shared libraries

    Good,

    Let me explain the whole scenario...

    -Installation 11.2.0.3.0 RAC on RHEL 6.5

    -Silent Install (GI 4 RAC nodes)

    -Every success, except resolve.conf (that we do not use DNS to resolve the scan) prerequisites in the scene runcluvfy.sh - pre...

    -Installation launched, remote operations successful, root.sh script prompted and DAMN... gave below error

    = o/p of the root.sh on screen script =.

    User ignored the prerequisites during installation

    /U01/app/11.2.0/grid/bin/sqlplus - V... has no rc = 127 with message:

    /U01/app/11.2.0/grid/bin/sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory

    Cannot add (property/value): ('VERSION / ") for the control point: ROOTCRS_STACK. Error code is 256

    /U01/app/11.2.0/grid/bin/ocrconfig.bin: symbol lookup error: /u01/app/11.2.0/grid/lib/libclntsh.so.11.1: undefined symbol: nnfyboot

    Cannot create or upgrade OLR

    /U01/app/11.2.0/grid/Perl/bin/perl-I/U01/app/11.2.0/grid/Perl/lib-I/U01/app/11.2.0/grid/CRS/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

    = root.sh records ends =.

    Now, this question is there for nearly 20 hours with Oracle Support and I have tried almost possible workaround suggested by Oracle Support (reboot, reinstall and...)

    Well I have no doubt in the Support of Oracle asking here on the issue, but to get chance that someone had already faced this same question.

    Now, I wish ultimately I find a culprit who are lower than o/p.

    =========================================

    [lib root@node1] # ls - ltr libsqlplus.so

    -rw - r - r - 1 grid oinstall 1477446 August 5, 2011 libsqlplus.so

    [lib root@node1] # ls - ltr libclntsh.so.11.1

    -rw - r - r - 1 root oinstall 52697691 December 10, 00:46 libclntsh.so.11.1

    [root @node1 lib] # ls - ltr libnnz11.so

    -rw - r - r - 1 root oinstall 7955322 August 17, 2011 libnnz11.so

    [root @node1 bin] # ls - ltr sqlplus

    -rwxr-xr-x 1 grid oinstall 9352 sqlplus August 5, 2011

    ======

    [@node1 grid grid] $ ldd /u01/app/11.2.0/grid/bin/sqlplus

    Linux - vdso.so.1 = > (0x00007fff7e72a000)

    libsqlplus.so = > not found

    libclntsh.so.11.1 = > not found

    libnnz11.so = > not found

    libdl.so.2 = > /lib64/libdl.so.2 (0x00000031f7400000)

    libm.so.6 = > /lib64/libm.so.6 (0x00000031f8400000)

    libpthread.so.0 = > /lib64/libpthread.so.0 (0x00000031f7c00000)

    libnsl.so.1 = > /lib64/libnsl.so.1 (0x00000031f9c00000)

    libc.so.6 = > /lib64/libc.so.6 (0x00000031f7800000)

    /lib64/ld-linux-x86-64.so.2 (0x00000031f7000000)

    ========================================

    your questions and comments are welcome...

    Re-install gcc libraries and test it.

  • Issue while loading data using the file Rules Essbase

    Hi all

    I am facing problem while loading data using the Rules file. In the rules file, I rejected several members in two areas (two dimensions). Now if I load the data using the rules file I'm getting errors for all members in the dataload.err file. If I reject mutiple members of a single field, the data load without settling errors in the dataload.err file.

    I want to know how rmany members of several fields of ejection for loading data using the file Rules Essbase? Is it possible?

    Okay, okay... I think that you must assign Global Select / reject Boolean in the parameters of loading data as 'Or':

  • FNDCPASS: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: no such file or directory...

    Hello friends,

    After the end of my process of cloning... I try to change my login user ID pwd through FNDCPASS, but, unfortunately it show me this error as I try to used the @CMclean.sql. also, you cannot run.


    FNDCPASS: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: no such file or directory...


    Score help out me

    Post the details of the version of the application and the operating system.

    Have you from the correct env file before running FNDCPASS? See (Doc ID 943005.1) for more details.

    If it comes to 12.1.x on Linux OS, please make sure that you follow all the steps by (Doc ID 761564.1) / (Doc ID 761566.1) and you have all applied pre - req OS packages.

    Thank you

    Hussein

  • sqlplus: error while loading shared libraries: /opt/oracle/lib/libclntsh.so.11.1: ELF file data encoding not little-endian not

    Hello

    I get the error message below.

    We have made the correction but the suite spot not be able to start the database.

    sqlplus: error while loading shared libraries: /opt/oracle/u01/app/oracle/product/11.2.0.3/lib/libclntsh.so.11.1: ELF file data encoding not little-endian not

    Need your help in resolving this issue.

    Thank you

    Srinivasan R wrote:

    Hello

    FYI,.

    We have applied the fix for database only and there's OS patching.

    Thank you

    Srinivasan R

    Realize that Oracle provides the PATCH of the DATABASE for different versions of the OS & if you apply the patch to the database for the version of Solaris on a HP version.

    then the problems will result.

    If sqlplus worked without error before applying the patch & now ENDIAN error reports, problem exists between keyboard and Chair!

  • Why make a 'met while loading HTML javascript error' when I insert a google map into indesign?

    In the past I have integrated a google map in my DPS projects very well. Now, I get this error "error while loading HTML javascript" how to solve this?

    Here's a thread on the InDesign forum where the issue has been resolved: Indesign HTML does not

  • VMware ESXi 3.5 U3 Installation hangs while "loading module ide."

    Hello.

    I tried to install ESXi on a server (motherboard: Supermicro P4SDA;) Processor: Pentium 4; 3 x HDD: Samsung SP0411N & 2 x WD 400BB) and installation stops while loading add-on ide...  And that's it, no error messages - nothing.

    How can I get rid of this problem?

    Thank you!

    Had a similar problem on a box.  He had a problem with the onboard IDE drive.

    Disabled the onboard IDE and a USB DVD drive to install ESXi.

    Not sure if this will help, but the suggestion that' her.

    Jase McCarty

    http://www.jasemccarty.com

    Co-author of VMware ESX Essentials in the virtual data center

    (ISBN:1420070274) Auerbach

    Please consider awarding points if this post was helpful or appropriate

  • ggsci: error while loading shared libraries: libnnz10.so:

    Hello

    I try to install goldengate software 32 bit oel.

    I had this executable
    fbo_ggs_Linux_x86_ora10g_32bit.tar
    After download and extraction of V26187 - 01.zip

    but when I try to run ggsci
    He complains about

    [oracle@localhost gg_amer] $ ggsci
    ggsci: error while loading shared libraries: libnnz10.so: cannot open shared object file: no such file or directory

    I don't see libnnz10.so on my source database. my source database is a database of GR 11, 2 and I see libnnz11.so
    ./11.2.0.2/lib/libnnz11.so

    can someone point me to the right direction.

    appreciate any suggestion.

    Thank you
    Kart

    1. make sure that you have installed the correct version of GoldenGate. The part number for Oracle 11 g (edelivery.oracle.com) is 26188, not 26187 (99.99% sure this is the exact reason for your error).

    2. launch GGSCI in the installation directory (even if you can boot from outside this directory, you need to address LD_LIBRARY_PATH and some other brain damage).

    3 make sure that your OS GoldenGate username is at least a member of the group that belongs to your Oracle software owner (for example, owner is oracle, group s/n, so make sure your owner member of dba).

    4. from the prompt of your OS, it seems you are using oracle, but in this shell session, is your Oracle environment squared away (ORACLE_HOME and SID, for example)?

  • VMware ESXi 3.5 U3 Installation hangs while "loading module sata_svw.

    I tried to install ESXi on a DELL 2970 with PERC 5 / i and the installation stops while loading module sata_svw...

    the last entry in the log of the kernel is:

    WARNING: LinSCSI: 3494 driver didn't scsi_done of its abort handler and yet he returned SUCCESS

    How can I get rid of this problem?

    Thank you!

    Hello

    had the same problem, its clearly the sata on the PE2970 :_| device.

    If you turn off (both) controller sata in BIOS Setup will work. Pretty sad: you won't miss your CD-Rom I drive so I used a USB CD-ROM for installalation.

    I know that this is only a workaround, cause I need the CD of shortcut for the guest computers, but I hope that there will be an update of the driver soon.

    Respect of

    Thomas

  • error while loading shared libraries: libdb.so.3

    Hello

    During the execution of adconfig, I am getting error below:

    / IAS/apache/perl/bin/perl: error while loading shared libraries: libdb.so.3: cannot open shared object file: no such file or directory.

    It's the new cloned environment 11.5.10.2 with 11g db on linux 64-bit server.

    I checked for rpm compat-db - 3.3.11 - 4, it is in force. What is the problem?

    Thank you
    Kouadio

    Hi Steve;

    Check the following note:
    On 11.5.10.2/Redhat Enterprise version 5.2, adconfig Autoconfig running. SH, Perl, error while loading shared libraries: the libdb.so.3: cannot open shared object file: no such file or directory [730656.1 ID]

    Respect of
    HELIOS

Maybe you are looking for

  • Not able to see the semi colon and comma when sending email

    Hello I am not able to see the semi colon and comma everything by typing the e-mail address to "TO" However in the body of the email, I'm able to see. Thank you Rakesh K *. ***********

  • R8500 disorder connect through C1100Z modem (Qwest)

    I'm having difficulties to keep the connection or sometimes even to make connection through my modem. (the modem) works on its own, but I bought this router on Ebay non-recorded. Any help appreciated.

  • No output from USB 6008

    Hello I have connected a USB-6008 to my computer, but can not read all the output using a multimeter when I run my program. I went in the measurement and automation explorer, disappeared to the USB6008 device, click on test panels and selected the ou

  • Opening of loop control HP TouchSmart 600 password

    I think that we can guarantee the HP TouchSmart 600 using the 'lock' feature when the computer is current in the standby state. If the power is off, then the computer restarts all right on the desktop without the password screen. What is a feature of

  • Selection of English, but seeing the Japanese in CS3... Help!

    I recently reinstalled my Adobe CS3 production premium suite when I was studying in my Windows 10 PC. Specifically, I installed Photoshop, After Effects and Premiere, selecting English in installation options.After Effects installed okay, but the fir