Display loading image before pre page load

hi,
We have requirement some pages are loading very slow, while the page is processing we need to display a loading image. How to achieve this requirement.
Especially in IPC on click of one portlet it is taking some time to display in other portlet.
Thanks
Manu

Use Javascript

Similar Messages

  • Dynamically setting where clause parameter before the page load

    Hi Experts,
    I do have the following requirement.
    I am working on jsf page in ADF10.1.3.3. I have a View Object which displays the results on the screen. Can someone provide me some example where I can dynamically set the where clause parameter to my Query in VO before the Page Load happens(By Overriding the Prepare Model) and display results on screen.
    Thanks

    Hi,
    Thanks for yor advice.
    I need to write the method in Prepare Model method when the page loads and not in AM.
    Here in the page there is no action as such.
    On the Page load we need to directly set the Where Clause on the VO.
    Provide me some examples if any.
    Thanks

  • Firefox not loading images on certain pages

    All of a sudden, Firefox no longer loads images on certain pages. I updated to 32.0.3. yesterday so thought that was the problem. I uninstalled and reinstalled 32.0.3. but that didn't help. I deactived the add-ons, but that didn't help either. I then installed FF 31, but the problem persists. I don't have the problem with Safari.
    I'm lost ….
    P.S. I had to upload the image via Safari, didn't work via Firefox

    Your System Details list shows that you were only allowing images from the originating page and were blocking third-party images hosted on other servers.
    *permissions.default.image: 3
    These days a lot of sites store content on other dedicated servers, so it is best to leave such a setting at its default of 1 to allow all images.

  • Have been running version 4 for a week without problems. Today, downloaded MS live security update, and have had problems since. when I click on a favorite site, it takes 20 to 40 seconds before the page load's and the same if I click a link on the page.

    been running version 4 for a week without problems. Today, downloaded MS live security update, and have had problems since. when I click on a favorite site, it takes 20 to 40 seconds before the page load's.'''bold text'''

    http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • How to initialize an adf component before a page loads

    Hi all
    I use JDeveloper 11.1.2.2.0
    I have two pages:
    first page has a link to a second page
    <af:document title="first.jspx" id="d1">
      <af:form id="f1">
        <af:commandLink text="Page 2" id="cl1" action="goToSecondPage" actionListener="#{Bean.handleLinkActionEvent}"/>
      </af:form>
    </af:document>and the second page has an inputText component:
    <af:document title="second.jspx" id="d1">
      <af:form id="f1">
        <af:inputText label="Text" id="it1" binding="#{Bean.inputText}" readOnly="true"/>
      </af:form>
    </af:document>First I load first.jspx and than I click the link. This event is handled in handleLinkActionEvent() method, in which I want to set a value to the inputText component of the second page. But I can't do it, because as expected I get NullPointerException.
    So the question is how to initialize an adf component before a page loads?
    Evgeny Michuk
    Edited by: Evgeny Michuk on Oct 4, 2012 11:30 PM

    Thanks a lot for your replies and links, it gives me some new knowledges.
    I got your approach and achieved the aim for the described situation with tag <f:setPropertyActionListener>:
    <af:commandLink text="Page 2" id="cl1" action="goToSecondPage"
                           actionListener="#{Bean.handleLinkActionEvent}" binding="#{Bean.firstPageLink}">
      <f:setPropertyActionListener target="#{pageFlowScope.text}" value="Hello, World!"/>
    </af:commandLink>and for the inputText component I set the value:
    <af:inputText label="Text" id="it1"  binding="#{Bean.inputText}"
                                  readOnly="true" value="#{pageFlowScope.text}"/>I used request scoped managed bean and it is shared for both pages.
    I understand that I can set a value of some attribute for managed bean
    and use it to set a value for inputText component of the second page,
    but as I understand it is almost the same way as usage of tag <f:setPropertyActionListener>.
    In my real situation on the second page I have a dynamic table, and it's field is read only.
    Structure of this table depends on a link clicked on the first page.
    So I define components for table columns in runtime, it may be outputText, inputDate, goLink and some others.
    And I have to get table through the UIComponent binding to set columns.
    Certainly I can define all needed components for all columns
    and render it according to the column types
    <af:table value="#{Bean.collectionModel}" var="row" id="t1" binding="#{Bean.mainTable}">
       <af:forEach items="#{Bean.columnDescriptionList}" var="column">
          <af:column headerText="#{column.caption}" id="c1">
             <af:outputText value="#{row[column.fieldName]}" id="ot1" rendered="#{column.type == '1'}"/>
             <af:inputDate value="#{row[column.fieldName]}" id="ot2" rendered="#{column.type == '2'}"/>
             <af:selectBooleanCheckbox id="sbc1" selected="#{row[column.fieldName] == '1'}" rendered="#{column.type == 'n'}"/>
          </af:column>
       </af:forEach>
    </af:table>but I think it is not very good.
    Have you any idea?
    P.S. I hope I clearly explained my situation =)
    Evgeny Michuk

  • Safari Not Displaying All Images On Web Page

    When I look at a web page in Safari on my iPhone 3GS, not all of the images on the page load. Instead, I see little blue squares with question marks in them. However, if I look at the same web page on an iPhone 4, the images DO load. Why is this happening?
    Here are two screenshots to prove my point:
    iPhone 3GS
    iPhone 4

    Settings>Safari>Javascript On maybe?
    May find an answer here as well:
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf

  • How to display uploaded image in jsp page.

    Hello,
    I am using struts 1.2.9 and and have uploaded image on the server. Now what I want to do display the image in jsp page after clicking on one link in jsp. I have tried many thing to display image in jsp page. But I am getting an error during displaying image in jsp. I have displayed absolute path in servlet. and used InputStream and outputstream to display image in jsp page.
    Can any one help.
    Thanks in advance
    Manveer Singh

    Follow this. This topic is very popular recently on the forum.

  • TS3408 why will some websites which loaded fine before now not load - when other favourites load fine, and new searches are fine?  This only affects 2 websites, both of which were bookmarked.  I have removed them as bookmarks and this makes no difference.

    why will some websites which loaded fine before now not load - when other favourites load fine, and new searches are fine?  This only affects 2 websites, both of which were bookmarked.  I have removed them as bookmarks and this makes no difference.

    From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • The connection to complaints.donotcall.gov was interrupted while the page was loading." All other pages load okay. Everything loads perfectly on I/E 8

    When logging on to the "do not call website" to file a complaint I get the following message "The connection to complaints.donotcall.gov was interrupted while the page was loading." All other pages load okay. Everything loads perfectly on I/E 8.
    I have started Firefox in the safe mode and got the same results.
    Turned off firewall and virus programs, no help. I have 2 new computers about 2 years old both have the same problem with ver. 12.0

    Try to rename the cert8.db file in the Firefox profile folder to cert8.db.old or delete the cert8.db file to remove intermediate certificates that Firefox has stored.
    If that helped to solve the problem then you can remove the renamed cert8.db.old file.<br />
    Otherwise you can rename (or copy) the cert8.db.old file to cert8.db to restore the previous intermediate certificates.<br />
    Firefox will automatically store intermediate certificates when you visit websites that send such a certificate.

  • Loading Image from HTML page into Flash component

    Ok, after doing much research on the internet, I am pretty
    sure you have to be a Flash and Actionscripting Jedi in order to
    solve this issue. Here we go:
    I have created an HTML page using PHP and MySql that displays
    image thumbnails. When a user chooses and clicks on one of the
    thumbnails, I want the larger image to be loaded into my swf. It is
    a jigsaw puzzle component I picked up here: www.crifano.com. Here
    is the puzzle on my page with an image manually inserted using
    Flash 8 (Note: This is only working in Internet Explorer right now,
    for whatever reason):
    http://premieretans.com/puzzle/jigsaw.php.
    I want the image on this page to be chosen by the user from a
    number of images that are populated on a regular PHP/HTML page from
    a MySql database. What is the best way to go about this?
    Thanks so much for the help on this matter. I know I am not
    the only person who has run into this dilemma, so I hope your
    knowledge will save others with a similar problem the hours I have
    spent on this issue myself. Thank you!
    Cheers-
    Charles

    Hi,
    There's no direct support for this. But you could implement
    drag and drop the way you normally would in javascript. Except
    here, on mouseUp over a div encapsulating the object or embed tag
    (the flash object), you'll need to make a call into actionscript
    from javascript indicating that a drag and drop happened.
    For more info, see
    how
    to drag and drop using javascript and
    actionscript
    and javascript communication

  • Safari browser is not loading images in web pages..

    It happens so often nowadays.. When I login to my Facebook, it wouldn't load any images, where it will all be blank..Also, few web pages are not loading in Safari, whereas it loads well in other browsers.. I am using Macbook Pro.. Mac OS X Lion 10.7.4.. Safari Veersion 5.1.7.. Has anyone faced this issue ??

    Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found

  • Exception in Loading Images in JSP pages

    Hi All,
    I am trying to load an image many number of times(to create a sort of graph).
    I am using Buffered Image & Graphics.drawImage().Still when my page loads I can see only the lines I draw btween the images but not the images.The images are seen only on refresh.
    I get Illegal State Exception ServletHttpResponse.getWriter().
    Can anyone help me with this at the earliest
    THANKS

    Hi,
    Here is part of my code:
    image= new BufferedImage(1000,img_height, BufferedImage.TYPE_INT_RGB);
    grph=image.getGraphics();
    Then in for loop i execute the following ,changing the co-ordinate,required no of times.
    grph.drawImage(myImage,xCord,yCord,xBlock,yBlock,null);
    Finally I do this:
    ServletOutputStream out1 = response.getOutputStream();
    JPEGImageEncoder encoder= JPEGCodec.createJPEGEncoder(out1);
    encoder.encode(image);
    The page that has this code is called by another jsp in the image tag.<img src="drawimage.jsp">
    Please Reply

  • Progress bar/Icon before the page loads

    Hi,
    I am having a page which takes 1-2 mins to load and render the data now i want to display animated icon/progress-bar immediately the page pops up(ie. when blank). Ive already done progress bar on the page load but in this case i want it to display much early when the page is still blank, any idea please. If this is not doable in Apex i might borrow JS/JQuery......thanks all.

    All,
    I got this issue to work in a better way using Skillbuilder's pop-up plugins but again I am having issue with that too as described below,
    The first time the popup page comes up the background is totally black, how can i change this to make it meaningful color?
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    workspace=proj2010
    userid/pwd=demo/demo123
    thanks in advance.
    Edited by: jieri on Jul 30, 2012 1:18 PM

  • Black screen appears before a page loads, but this does not happen in IE

    When a page of a website opens, it displays a black screen and then loads that page in Firefox 3.6.11. But the same does not happen in IE. I don't want that black screen to appear on my page.So please provide me with a solution as soon as possible.
    And my page layout also gets distorted when viewed my firefox but not in IE. Please do the needful.

    Thanks for your reply. I tried the same way but there is no option "Use hardware acceleration when available". Is there any other way out from my code or other Firefox settings as the page loads instantly on IE but on Firefox initially a black screen comes and then the whole page gets loaded. This page is built using java applet. Thanks in advance.

  • Problem with displaying BLOB images on JSP page using a servlet

    hi. I have a big problem with displaying BLOB images using JSP. I have a servlet that connects to the oracle database, gets a BLOB image , reads it, and then displays it using a BinaryStream. The problem is , this works only when i directly call that servlet, that is http://localhost:8080/ImageServlet. It doesn't work when i try to use that servlet to display my image on my JSP page (my JSP page displays only a broken-image icon ) I tried several coding approaches with my servlet (used both Blob and BLOB objects), and they work just fine as long as i display images explicitly using only the servlet.
    Here's what i use : ORACLE 10g XE , Eclipse 3.1.2, Tomcat 5.5.16 , JDK 1.5
    here is one of my image servlet's working versions (the essential part of it) :
                   BLOB blob=null;
              rset=st.executeQuery("SELECT * FROM IMAGES WHERE ID=1");
              while (rset.next())
                   blob=((OracleResultSet)rset).getBLOB(2);
              response.reset();
              response.setContentType("image/jpeg");
              response.addHeader("Content-Disposition","filename=42.jpeg");
                    ServletOutputStream ostr=response.getOutputStream();
                   InputStream istr=blob.getBinaryStream(1L);
                    int size=blob.getBufferSize();
              int len=-1;
                    byte[] buff = new byte[size];
                         while ((len=istr.read( buff ))!=-1 ) {
                   ostr.write(buff,0,len);
             response.flushBuffer();
             ostr.close(); and my JSP page code :
    <img src="/ImageServlet" border="0"  > If you could just tell me what i'm doing wrong here , or if you could show me your own solutions to that problem , i would be very greatful ,cos i'm realy stuck here , and i'm rather pressed for time too. Hope someone can help.

    I turns out that it wasn't that big of a problem after all. All i had to do was to take the above code and place it into another JSP page instead of into a servlet like i did before. Then i just used that page as a source for my IMG tag in my first JSP. It works perfectly well. Why this doesn't work for servlets i still don't know, but it's not a problem form me anymore . Ofcourse if someone knows the answer , go ahead and write. I would still appriceatte it.
    here's the magic tag : <img src="ImageJSP.jsp" border="0"  > enjoy : )

Maybe you are looking for

  • IMovie 6.0.3 vs 7.1.4

    I am using 6.0.3, and does all I want, my friend has 7.1.4, and is so difficult to use, can I change my friends to 6.0.3?

  • Web forms in dreamweaver with godaddy. Help.

    Please Help. Regarding web form mailers using Dreamweaver cs4. I’m a newbie to hosting and forms please help. My scenario: I have a WINDOWS hosting account with GoDaddy. I am designing a simple little website that I want a form attached to it. You ca

  • X201 - upgrading to 8GB of ram - Starting windows hangs

    I just bought a used X201 (non tablet).  It came with 4GB of RAM (2x2GB).  I loaded windows 7 pro 64bit on a new Solid state drive and the little laptop worked great.  I work for a company that recently purchased dozens of new X230's and T430 laptops

  • Quicktime insertion to Powerpoint

    I am inserting movies into a powerpoint presentation. When I am in the editing window the movie will be present in an image with editing dots and at other times a different movie will be present with only the editing dots and no image. Movies are in

  • Restore iPhone even if you get Error (1604) from iTunes

    I hope this post helps my fellow iPhone owners avoid the frustration that I experienced last night. My iPhone was acting up, not charging even when it was seen by the USB 2 port on my Powerbook G5 and not being seen in the latest version of iTunes. I