Content getting disappear after page load in safari

Content of the webpage get dissappear after the page load in safari. I am currently using IOS7.1 in my ipad mini
Url:
http://wealthforumezine.net/ThinkBIGBusinessPerspective230314.html#.UzAF2PmSyrM
http://wealthforumezine.net/FundFocusSBI180314.html#.UzAF6fmSyrM
the website is devloped using HTML 4.
Thanks in advance

I have a similar problem in Leopard with Safari not loading pages correctly. I'm trying to troubleshoot now, so let me ask you some questions to see if its the same problem as mine.
Are you using an administrator account? On my machine it only acts up on non-administrator account.
Does Firefox or another web browser load the pages correctly? On my machine it has similar problems to Safari.

Similar Messages

  • After upgrading to 8.0 the add-on compatability tool runs and the Getting Started web page loads every time the browser starts.

    After upgrading to 8.0 from 7.0.1 every time I start FF I get the add-on compatibility tool to run and the Getting Started web page loads along with my homepage in separate tabs as well. So far I have tried running the installer again, disabling all add-0ns and custom settings and restarting and turning off automatic updates. Nothing worked there. I got the same behavior each time. I don't know what else to try other than a full uninstall and reinstall. Something I'd like to avoid if it's possible because of the time involved. This is the second time I have posted regarding this issue. The first time I didn't get a response. A solution or a possible workaround would be greatly appreciated if anyone knows of any. As a staff member and a global forum moderator for an anti-virus company I understand how hectic things can be at times but some feedback, good or bad, on this issue would be very welcomed! Regards, Ritchie...

    Hi michaell, thanks for the reply. I tried everything in the Preferences are not saved link you provided and nothing worked there. If creating a new profile will delete all my add-ons and custom settings I might as well just do a complete uninstall and reinstall. That actually would be easier. That article told me how to save my bookmarks though so I don't have to loose those which is nice. I don't know if this makes any difference but there is a discrepancy between the preference file in the article which is: prefs.js and what's showing on my PC which is: prefs with no .js suffix. I tried to rename the file to prefs.js and restarted. No luck there either. It just created another prefs file. I guess we've pretty much exhausted all the avenues to try! I'm just going to go ahead and do a reinstall when I get the time. Thanks so much for your help michaell. I do appreciate the effort. Regards, Ritchie...

  • How to execute a method after page Load?

    My question is very similar to what was discussed in following thread:
    How to execute a method after page Load?
    My requirement is that I want to run a method in backing bean of a page, immediately after the page gets loaded. In that method I want to invoke one of the method action included in the pagedef of this page, conditionally.
    I tried using the approach given in the above thread, i.e to use <f:view afterPhase="#{backing_security.setPermPriv}">, but the problem is that our page is not using 'f:view' , so I explicitly added one f:view with afterPhase property set , but it is not working, page it self is not getting loaded, it is throwing the error:
    Root cause of ServletException.
    java.lang.IllegalStateException: <f:view> was not present on this page; tag [email protected]e8encountered without an <f:view> being processed.
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.setProperties(UIXComponentELTag.java:108)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:733)
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1354)
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:71)
         at oracle.adfinternal.view.faces.taglib.UIXQueryTag.doStartTag(UIXQueryTag.java:41)
         at oracle.adfinternal.view.faces.unified.taglib.UnifiedQueryTag.doStartTag(UnifiedQueryTag.java:51)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
         at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
         at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
         at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:665)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:387)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:822)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:746)
    Please help to resolve this issue, or am I doing anything wrong?

    Hi,
    I assume that your view is a page fragment and here - indeed - the f:view tag cannot be used. If you use ADF then one option would be to use a custom RegionController on the binding layer to listen for the render phase to invoke the method. Another option would be to use a hidden field (output text set to display="false" and have this component value referencing a managed bean property. The managed bean property's getter method can now be used to invoke the method you want to run upon view rendering
    Frank

  • Major annoyance - Safari switching tabs/windows after page load

    When I cmd-click on a link to open a page in a new tab, it starts to load the page. If I switch tabs or windows before the page is loaded, it will switch back to that tab/window when the page load is complete.
    Who thought this would be a good idea?!? This is the kind of impossibly poor user interface that I expect when I run Windows. Why has it infected my Mac? I DO NOT WANT MY SOFTWARE CHANGING MY INTERFACE ON ME!!! When I bring a tab or window to the front, I expect it to STAY in the front!!!!!
    PLEASE, FOR THE LOVE OF EVERYTHING SANE, FIX THIS NOW APPLE!!!

    BTW, this does not happen all the time - only on certain pages. A good example is the Washington Post. Click on an article, then switch to a different tab/window before the page completes loading. When the page load completes, it will switch your tab/window, bringing the article to the front. Very annoying.
    I suppose if could be an issue with the site using some severely twisted JavaScript. However, I have never seen this behavior before in Safari until very recently, and it does not happen in FireFox.

  • Cpu not releasing after page load

    I'm a newby to flash. I need to show movie clips based on the
    XML data. The problem is after page is loaded with flash file,
    still CPU is not getting released. What am I doing wrong? After
    page is loaded with the flash file, I want the CPU to go its
    original utilization.
    Here is the sample code.
    import flash.geom.Matrix;
    import flash.geom.Point;
    import flash.display.*;
    import flash.geom.*;
    import mx.services.*;
    _root.lineStyle(1, 0x0000FF, 100);
    var mcMapContent = map_sp.content;
    var my_xml:XML = new XML();
    my_xml.ignoreWhite = true;
    var number_fmt:TextFormat = new TextFormat();
    number_fmt.font = "NumFont";
    number_fmt.size = 4;
    var fileName:String;
    if (!fileName)
    fileName = "test1";
    if (_global.styles.List == undefined)
    _global.styles.List = new mx.styles.CSSStyleDeclaration();
    _global.styles.List.setStyle("themeColor", 0x3366CC);
    _global.styles.List.setStyle("color", 0x000000);
    _global.styles.List.setStyle("backgroundColor", 0xFFFFFF);
    _global.styles.List.setStyle("borderStyle", "solid");
    _global.styles.List.setStyle("borderColor", 0x000000);
    _global.styles.List.setStyle("rolloverColor", 0x5a6970);
    _global.styles.List.setStyle("scrollTrackColor", 0xEEEEEE);
    _global.styles.List.setStyle("selectionColor", 0xCCCCCC);
    my_xml.load("XML/" + fileName + ".xml");
    my_xml.onLoad = function(success)
    var currentNode:XMLNode = my_xml.firstChild.firstChild;
    var LoopI:Number;
    var tmpDepthLevel:Number;
    var X1:Number, Y1:Number, Length:Number, Width:Number;
    var Code_str:String;
    currentNode = currentNode.firstChild;
    tmpDepthLevel = mcMapContent.getNextHighestDepth();
    try
    for (var child_xmlnode = currentNode; child_xmlnode != null;
    child_xmlnode = child_xmlnode.nextSibling, i++)
    TotalVertex_int =
    Number(child_xmlnode.attributes.VERTEX_COUNT);
    X1 = child_xmlnode.attributes.X1;
    Y1 = child_xmlnode.attributes.Y1;
    Width = Number(child_xmlnode.attributes.WIDTH);
    Length = Number(child_xmlnode.attributes.LENGTH);
    Code_str = child_xmlnode.firstChild.nodeValue;
    var my_mc:MovieClip = mcMapContent.attachMovie("MyRect",
    Code_str, tmpDepthLevel, {Name:Code_str});
    tmpDepthLevel++;
    my_mc._x = X1;
    my_mc._y = Y1;
    my_mc._width = Width;
    my_mc._height = Length;
    newMainColor = new Color(my_mc.rect_mc);
    my_mc.Num_txt.setTextFormat(number_fmt);
    name_fmt.font = "NumFont";
    newMainColor.setRGB(0xFF99FF);
    my_mc.Num_txt._yscale = my_mc.Num_txt._yscale * (Width /
    Length);
    my_mc.Num_txt._y = (20 - my_mc.Num_txt._height);
    my_mc.Num_txt._x = 0;
    catch (myError:Error)
    trace("error caught: " + myError);
    finally
    //trace("No Error");

    I'm a newby to flash. I need to show movie clips based on the
    XML data. The problem is after page is loaded with flash file,
    still CPU is not getting released. What am I doing wrong? After
    page is loaded with the flash file, I want the CPU to go its
    original utilization.
    Here is the sample code.
    import flash.geom.Matrix;
    import flash.geom.Point;
    import flash.display.*;
    import flash.geom.*;
    import mx.services.*;
    _root.lineStyle(1, 0x0000FF, 100);
    var mcMapContent = map_sp.content;
    var my_xml:XML = new XML();
    my_xml.ignoreWhite = true;
    var number_fmt:TextFormat = new TextFormat();
    number_fmt.font = "NumFont";
    number_fmt.size = 4;
    var fileName:String;
    if (!fileName)
    fileName = "test1";
    if (_global.styles.List == undefined)
    _global.styles.List = new mx.styles.CSSStyleDeclaration();
    _global.styles.List.setStyle("themeColor", 0x3366CC);
    _global.styles.List.setStyle("color", 0x000000);
    _global.styles.List.setStyle("backgroundColor", 0xFFFFFF);
    _global.styles.List.setStyle("borderStyle", "solid");
    _global.styles.List.setStyle("borderColor", 0x000000);
    _global.styles.List.setStyle("rolloverColor", 0x5a6970);
    _global.styles.List.setStyle("scrollTrackColor", 0xEEEEEE);
    _global.styles.List.setStyle("selectionColor", 0xCCCCCC);
    my_xml.load("XML/" + fileName + ".xml");
    my_xml.onLoad = function(success)
    var currentNode:XMLNode = my_xml.firstChild.firstChild;
    var LoopI:Number;
    var tmpDepthLevel:Number;
    var X1:Number, Y1:Number, Length:Number, Width:Number;
    var Code_str:String;
    currentNode = currentNode.firstChild;
    tmpDepthLevel = mcMapContent.getNextHighestDepth();
    try
    for (var child_xmlnode = currentNode; child_xmlnode != null;
    child_xmlnode = child_xmlnode.nextSibling, i++)
    TotalVertex_int =
    Number(child_xmlnode.attributes.VERTEX_COUNT);
    X1 = child_xmlnode.attributes.X1;
    Y1 = child_xmlnode.attributes.Y1;
    Width = Number(child_xmlnode.attributes.WIDTH);
    Length = Number(child_xmlnode.attributes.LENGTH);
    Code_str = child_xmlnode.firstChild.nodeValue;
    var my_mc:MovieClip = mcMapContent.attachMovie("MyRect",
    Code_str, tmpDepthLevel, {Name:Code_str});
    tmpDepthLevel++;
    my_mc._x = X1;
    my_mc._y = Y1;
    my_mc._width = Width;
    my_mc._height = Length;
    newMainColor = new Color(my_mc.rect_mc);
    my_mc.Num_txt.setTextFormat(number_fmt);
    name_fmt.font = "NumFont";
    newMainColor.setRGB(0xFF99FF);
    my_mc.Num_txt._yscale = my_mc.Num_txt._yscale * (Width /
    Length);
    my_mc.Num_txt._y = (20 - my_mc.Num_txt._height);
    my_mc.Num_txt._x = 0;
    catch (myError:Error)
    trace("error caught: " + myError);
    finally
    //trace("No Error");

  • Incomplete page loads with Safari

    Let me preface by saying that I am accessing the internet through Earthlink Satellite and I know there is a chance that my problems relate to that, but being that it takes me about seven-and-a-half months of hold time to reach a support person, I'm hoping that one of you may have insights in the event that this is a Safari problem.
    I'm using MacBookPro (OSX 10.4.9) with Safari and I am geting many errors when loading complicated sites such as USA Today, MSNBC and MLB.com. I either get question marks or no image at all and Quicktime related images come up with the QT logo with a question mark. I've found that if I clear my Cache and delete all previous cookies, I can get nearly error free loads (although Quicktime stuff still comes up with question marks). But the problem returns soon after the purging.
    If anyone has ideas regarding these problems I would be very grateful for help.

    Hi
    For the Quicktime ?, go to System Preferences>Quicktime>Advanced>Mime Settings>Miscellaneous - uncheck "flash media". Restart Safari
    Earthlink:
    Go to your System Preferences>Network.
    - Location - set up a personal location by clicking on the drop down menu and selecting "add a location". Use a name familiar to you. Once established, select "apply".
    - Next, click on the "Show" drop down menu and select Network Port Configurations. Depending on whether you use a direct connection into the computer, or wirelss, only Ethernet or Airport, respectively ought to be checked. Move it to the top of the list (you can drag it). Select "apply".
    - Back to the "Show" menu, select either "Ethernet" or "Airport" (whichever applies). Click on the TCP panel. There, enter 207.69.188.171 and 207.69.188.172 (separate lines) in the DNS servers box and select "apply". These are Earthlink Codes as cited in this related article.
    Select Apply.
    Lastly, in the Finder, go to your Utilities folder and select "Terminal". Once the screen is open enter lookupd -flushcache and press return. This clears out the DNS cache. Once done, quit Terminal.
    Creating a personal location, plus adding the DNS codes ought to improve the page loads.
    Post back

  • Loading... spinner persists after page load complete

    Our site uses Ajax and web-services to build html content. At times, the spinning "Loading..." image continues endlessly, seemingly after the page load is complete. This behavior does not occur with Chrome, IE or Firefox. Using the Web Inspector, it appears that all images, xml docs, web-service calls, etc. have completed successfully. To see an example: http://www.bunkerhill.com/dev/website/WebMessages.aspx
    Any help is appreciated.
    TIA

    Is the site entirely Safari compatible? Maybe some part of it isn't working in Safari, and the browser is still attempting to make it work. I'm not a coder (I can barely do anything with HTML), so what I just wrote might be of no use to you.

  • Slow web page loading in Safari with DSL

    I've got an intermittent problem which may not be Safari-related, but I need to ask it anyway because Mac friends of mine have experienced similar problems.
    I just changed my ISP from satellite interenet to mid-speed DSL. Ever since the changeover, I've found that more often than not, pages seem to load about 66%, then data reception seems to stop. When pages DO load, they load quickly, but most of the time, pages seem to stop loading at a certain point. If I hit refresh (often after several times), then the page loads as fast as lightning.
    Could there be something with Safari that interacts with the DSL connection which causes the loading to stall? Many times, pages don't load at all, and I'm wasting time waiting for pages to "just pop up", Other times, I will get "Page Not Found" even though I KNOW there's a page existing at that particular location, yet Safari doesn't display it unless I first hit "Refresh". Still other times, The same pages load just fine, whether or not I empty the cache and close the downloads window.
    Any ideas, people?
    Jim Barg
    Power Mac G5 Dual 2.0GHz   Mac OS X (10.4.3)   What other computer?

    Hi Jim,
    The 'refresh to force the page to load' symptom is usually a sign that you either have the wrong DNS addresses specified in your Network preferences or your ISPs DNS server are very slow.
    Have a search for DNS on the Safari forum - there's quite a few posts and sample addresses for you to try out.
    Good luck.

  • Text shifts after page load

    When viewing my site online, the page loads and then the text sometimes shifts and re-positions slightly. Long text blocks may even re-format and become one line less in height. This happens in Safari, Explorer, and Mozilla on Mac and Windows. This only happens occasionally but, where it happens, it is consistent and happens every time. I am using Arial standard font, left justified only, and default text settings for space and inset. So no special font or settings at issue. This happened with iWeb 08 as well as 09.
    Any ideas please ... it makes my site look so scruffy ...... :o(

    Sorry to be slow in coming back on this but I wanted to try Roddy's solution before troubling anybody further. Loosening the text boxes has indeed done the trick. The amount need to loosen is surprisingly large in some cases, and it took several attempts to get everything OK.
    Thank you both for replying so quickly. If you want see the results of your advice in a problem free site then go www.cambiguities.com. It is my first attempt at a site and is quite ambitious for a first go. I am a photographic illusion creator and it is my showcase. Who knows ..... you might enjoy it ...... ;o)
    Thanks again

  • Getting error while page load

    Hi All,
    I am using Jdevloper 11.1.1.2 and i have an adf application where i have a taskflow and pages related to their page fragments.I have not used any adf security and i have a page which loads when i click on login button.But when my page loads it gives me this error.
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2128)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3126)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:168)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3084)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:21)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Please suggest !!
    Thanks.

    Hi,
    Do you get this error when deploying to the Integrated WLS? Or a standalone instance? If it is standalone instance, does this work fine when you run with Integrated WLS?
    -Arun

  • No pages load in Safari

    My email got hacked. I used antivirus software in an attempt to resolve the issue.
    I don't know if this is related, but now when I launch Safari, no pages load. No matter what URL I use, I just get a white window. I have attempted to uninstall or delete Safari and reinstall it, but because it is part of the system software (thanks Apple, for limiting my flexibility!) I cannot.
    Does anyone have any suggestions? I have had to switch to Firefox just to get on the Internet.
    I have searched the discussion groups, but have found nothing.
    I tried to use Time Machine to load an earlier version, but can't replace the newer Safari, because "it is part of the system!"
    Surely there must be a way to resolve this.

    Your email password getting hacked it totally unrelated to a virus.
    Your profile indicates your Mac has v10.7.3 installed.
    So, restart your Mac while holding down the Command + R keys so you can access the built in utilities to restore OS X.
    The only way to reinstall Safari on Lion is to restore OS X using OS X Recovery
    Apple does recommend a high speed broadband connection for OS X Recovery.
    And if you have not done so this yet, change your email password ASAP. Changing it on a timely basis will help prevent it being hacked again.
    If you ever have problems with Safari loading pages again, come here and ask for help. And having a backup browser installed was a very smart thing to do on your part 
    Message was edited by: CS

  • ADF Question: included jsp action firing after page load

    Hi all,
    I am using JDeveloper 10.1.3.3 and ADF + BC.
    Here is another interesting situation for you. I have a page with an included jsp at the top with tabbed navigation.
    My page is for entering an order. Users can have multiple orders "open" in other tabs at the same time. Users can also have many other non-order pages opened in tabs. We are using the same View Objects (Entity Based) along with Transient View Objects on each order.
    Each order tab needs to "remember" the orderId so that when the user clicks on a tab, the appropriate rows are set in the order that is to be "opened". This occurs in a tab's action() - setting the orderId and forwarding to the appropriate page (if different) or reloading the same page with the new id.
    On page load we try to get the tab's orderId and load that as the current row of all of our view objects. This should make it seem like they are all concurrently running.
    The problem is when going from order to order, once the tab is clicked, the page's OnPageLoad method runs BEFORE the action of the tab click is processed. Therefore the order that loads thinks it is the previous order, and does not load the correct View Object rows.
    Does anyone know how we can force the tab action to occur before the page load so that we can get the proper orderId?
    Thanks,
    Heather

    Thanks for your speedy reply Frank,
    We are using the onPageLoad from the OnPageLoadBackingBeanBase which implements the PagePhaseListener.
    In this we are doing something like:
            if (isPostback()) {
                String selectedTabNum =
                    EL.getAsString("#{TabCounter.currentSelectedTab}");
                String test = EL.getAsString("#{TabCounter.tabOrderId" + selectedTabNum + "}");
                System.out.println("tab num " + selectedTabNum);
                System.out.println( "testing " + test );
            }our tab counter (a session bean) has these two methods (among others):
        public void setCurrentSelectedTab(int currentSelectedTab) {
            this.currentSelectedTab = currentSelectedTab;
            for(int i=1;i<= 20; i++) {
                EL.set(BACKING_START+"selectedTab"+i+"}", false);
            EL.set(BACKING_START+"selectedTab"+currentSelectedTab+"}", true);
        public String getNextAvailableTab () {
            for(int i=2;i<=20;i++) {
                boolean isTab = (new Boolean (String.valueOf(EL.get(BACKING_START+"render"+i+"}")))).booleanValue();
                if (!isTab) {
                    return String.valueOf(i);
            return "0";
        }our tab header (request bean) has this method as the action for clicking a tab:
            System.out.println("handleTabNavigation");
            String componentId = actionEvent.getComponent().getId();
            String selectedTab = componentId.replaceFirst("tab","");
            int selectedTabNum = new Integer(selectedTab).intValue();
            EL.set("#{TabCounter.currentSelectedTab}", selectedTabNum);
            String tabType = EL.getAsString("#{TabCounter.tabType"+selectedTabNum+"}");
            if (tabType.equals("regular")) {
                String orderId = EL.getAsString("#{TabCounter.tabOrderId"+selectedTabNum+"}");
                EL.set("#{processScope.unfinishedHeaderId}", orderId);
            } else if (tabType.equals("standing")) {
                String orderId = EL.getAsString("#{TabCounter.tabOrderId"+selectedTabNum+"}");           
            }Thanks,
    Heather

  • Trip Number gets disappeared after clicking the UWL work item

    Hi All,
    When i click on work item in UWL to make a decision on it, a pop up gets opened trip form(there is error on trip formu201D Error while initiating travel form") . When i close this popup & return to UWL , trip number of that item gets disappeared.
    Similarly when i launch UWL , some trip numbers do not appeared.
    Please help.
    Regards,
    Amit S

    Hi Piyush,
    Thanks for replying.
    I already tried it. it is not useful . following is XML file for tsk TS20000118. I think there is problem inside code.since i am not able to locate Action & view in Content folder. Please see the bold texts.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
      >
    <UWLConfiguration version="1.0">
      <ItemTypes>
        <ItemType name="uwl.task.webflow.decision.TS20000118" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.tra.view.RequestApprovalView" defaultAction="com.sap.pct.erp.mss.tra.action.DisplayRequestForm" executionMode="default">
          <ItemTypeCriteria externalType="TS20000118" connector="WebFlowConnector"/>
          <CustomAttributes>
            <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
              <Attribute name="TripNumber" type="string" displayName="Trip Number"/>
              <Attribute name="EmployeeNumber" type="string" displayName="Employee Number"/>
            </CustomAttributeSource>
          </CustomAttributes>
          <Actions>
            <Action name="com.sap.pct.erp.mss.tra.action.DisplayRequestForm" groupAction="" handler="SAPAppLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="toolbar=no,menubar=no">
              <Properties>
                <Property name="SAPIntegrator" value="ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.area_travel_expenses/com.sap.pct.erp.ess.tripform"/>
                <Property name="sap.xss.tra.TripComponent" value="R"/>
                <Property name="sap.xss.tra.PersNo" value="${item.EmployeeNumber}"/>
                <Property name="display_order_priority" value="10"/>
                <Property name="sap.xss.tra.TripNo" value="${item.TripNumber}"/>
              </Properties>
              <Descriptions default="com.sap.pct.erp.mss.tra.action.DisplayRequestForm"/>
            </Action>
          </Actions>
        </ItemType>
      </ItemTypes>
      <Views>
        <View name="com.sap.pct.erp.mss.tra.view.PlanApprovalView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS01000124" columnOrder="TripNumber, statusIcon, subject, priority, creatorId, createdDate, dueDate, processor, forwardedDate, attachmentCount, detailIcon, APPROVE, REJECT, SENDBACK" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="0" dueDateWarning="0" emphasizedItems="none" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="com.sap.pct.erp.mss.tra.PlanApproval">
          <DisplayAttributes>
            <DisplayAttribute name="REJECT" type="checkbox" width="" sortable="no" format="default" actionRef="com.sap.pct.erp.mss.tra.action.approver.RejectPlan" referenceBundle="com.sap.pct.erp.mss.tra.Reject" hAlign="CENTER" vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes"/>
            <DisplayAttribute name="SENDBACK" type="checkbox" width="" sortable="no" format="default" actionRef="com.sap.pct.erp.mss.tra.action.approver.SendBackPlan" referenceBundle="com.sap.pct.erp.mss.tra.SendBack" hAlign="CENTER" vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes"/>
            <DisplayAttribute name="APPROVE" type="checkbox" width="" sortable="no" format="default" actionRef="com.sap.pct.erp.mss.tra.action.approver.ApprovePlan" referenceBundle="com.sap.pct.erp.mss.tra.Approve" hAlign="CENTER" vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes"/>
            <DisplayAttribute name="TripNumber" type="string" width="" sortable="yes" format="default" referenceBundle="com.sap.pct.erp.mss.tra.TripNumber" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
          </DisplayAttributes>
          <Actions>
            <Action name="com.sap.pct.erp.mss.tra.action.approver.ApprovePlan" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.Approve" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="decisionKey" value="0001"/>
              </Properties>
            </Action>
            <Action name="com.sap.pct.erp.mss.tra.action.approver.SendBackPlan" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.SendBack" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="UserDecisionNote" value="true"/>
                <Property name="decisionKey" value="0002"/>
              </Properties>
            </Action>
            <Action name="com.sap.pct.erp.mss.tra.action.approver.RejectPlan" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.Reject" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="UserDecisionNote" value="true"/>
                <Property name="decisionKey" value="0003"/>
              </Properties>
            </Action>
            <Action reference="submitUserDecisions"/>
            <Action reference="com.sap.pct.erp.mss.gotoWorkcenter"/>
            <Action reference="refresh"/>
            <Action reference="defaultGlobalWizard"/>
            <Action reference="addToNavigation"/>
            <Action reference="removeFromNavigation"/>
          </Actions>
        </View>
        <View name="com.sap.pct.erp.mss.tra.view.RequestApprovalView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS20000118" columnOrder="TripNumber, statusIcon, subject, priority, creatorId, createdDate, dueDate, processor, forwardedDate, attachmentCount, detailIcon, APPROVE, REJECT, SENDBACK" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="0" dueDateWarning="0" emphasizedItems="none" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="com.sap.pct.erp.mss.tra.RequestApproval">
          <DisplayAttributes>
            <DisplayAttribute name="REJECT" type="checkbox" width="" sortable="no" format="default" actionRef="com.sap.pct.erp.mss.tra.action.approver.RejectRequest" referenceBundle="com.sap.pct.erp.mss.tra.Reject" hAlign="CENTER" vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes"/>
            <DisplayAttribute name="SENDBACK" type="checkbox" width="" sortable="no" format="default" actionRef="com.sap.pct.erp.mss.tra.action.approver.SendBackRequest" referenceBundle="com.sap.pct.erp.mss.tra.SendBack" hAlign="CENTER" vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes"/>
            <DisplayAttribute name="APPROVE" type="checkbox" width="" sortable="no" format="default" actionRef="com.sap.pct.erp.mss.tra.action.approver.ApproveRequest" referenceBundle="com.sap.pct.erp.mss.tra.Approve" hAlign="CENTER" vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes"/>
            <DisplayAttribute name="TripNumber" type="string" width="" sortable="yes" format="default" referenceBundle="com.sap.pct.erp.mss.tra.TripNumber" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
          </DisplayAttributes>
          <Actions>
            <Action name="com.sap.pct.erp.mss.tra.action.approver.ApproveRequest" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.Approve" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="decisionKey" value="0001"/>
              </Properties>
            </Action>
            <Action name="com.sap.pct.erp.mss.tra.action.approver.SendBackRequest" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.SendBack" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="UserDecisionNote" value="true"/>
                <Property name="decisionKey" value="0002"/>
              </Properties>
            </Action>
            <Action name="com.sap.pct.erp.mss.tra.action.approver.RejectRequest" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.Reject" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="UserDecisionNote" value="true"/>
                <Property name="decisionKey" value="0003"/>
              </Properties>
            </Action>
            <Action reference="submitUserDecisions"/>
            <Action reference="com.sap.pct.erp.mss.gotoWorkcenter"/>
            <Action reference="refresh"/>
            <Action reference="defaultGlobalWizard"/>
            <Action reference="addToNavigation"/>
            <Action reference="removeFromNavigation"/>
          </Actions>
        </View>
        <View name="com.sap.pct.erp.mss.tra.view.TravelApproverWOC" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS20000131, uwl.task.webflow.decision.TS01000124, uwl.task.webflow.decision.TS20000118, uwl.task.webflow.decision.TS20000135" columnOrder="TripNumber, statusIcon, subject, dueDate, priority, creatorId, createdDate, processor, forwardedDate, attachmentCount, detailIcon" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="0" dueDateWarning="0" emphasizedItems="none" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="top" referenceBundle="com.sap.pct.erp.mss.tra.Travel">
          <DisplayAttributes>
            <DisplayAttribute name="TripNumber" type="string" width="" sortable="yes" format="default" referenceBundle="com.sap.pct.erp.mss.tra.TripNumber" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
          </DisplayAttributes>
          <Actions>
            <Action reference="refresh"/>
            <Action reference="defaultGlobalWizard"/>
            <Action reference="addToNavigation"/>
            <Action reference="removeFromNavigation"/>
            <Action name="viewDetail" groupAction="" handler="uwlExcludeAction" returnToDetailViewAllowed="yes" launchInNewWindow="no">
              <Descriptions default="viewDetail"/>
            </Action>
            <Action reference="com.sap.pct.erp.mss.gotoWorkcenter"/>
          </Actions>
        </View>
        <View name="com.sap.pct.erp.mss.tra.view.TripApprovalView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS20000131" columnOrder="TripNumber, statusIcon, subject, priority, creatorId, createdDate, dueDate, processor, forwardedDate, attachmentCount, detailIcon, APPROVE, REJECT, SENDBACK" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="0" dueDateWarning="0" emphasizedItems="none" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="com.sap.pct.erp.mss.tra.TripApproval">
          <DisplayAttributes>
            <DisplayAttribute name="REJECT" type="checkbox" width="" sortable="no" format="default" actionRef="com.sap.pct.erp.mss.tra.action.approver.RejectTrip" referenceBundle="com.sap.pct.erp.mss.tra.Reject" hAlign="CENTER" vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes"/>
            <DisplayAttribute name="SENDBACK" type="checkbox" width="" sortable="no" format="default" actionRef="com.sap.pct.erp.mss.tra.action.approver.SendBackTrip" referenceBundle="com.sap.pct.erp.mss.tra.SendBack" hAlign="CENTER" vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes"/>
            <DisplayAttribute name="APPROVE" type="checkbox" width="" sortable="no" format="default" actionRef="com.sap.pct.erp.mss.tra.action.approver.ApproveTrip" referenceBundle="com.sap.pct.erp.mss.tra.Approve" hAlign="CENTER" vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes"/>
            <DisplayAttribute name="TripNumber" type="string" width="" sortable="yes" format="default" referenceBundle="com.sap.pct.erp.mss.tra.TripNumber" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
          </DisplayAttributes>
          <Actions>
            <Action name="com.sap.pct.erp.mss.tra.action.approver.ApproveTrip" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.Approve" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="decisionKey" value="0001"/>
              </Properties>
            </Action>
            <Action name="com.sap.pct.erp.mss.tra.action.approver.SendBackTrip" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.SendBack" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="UserDecisionNote" value="true"/>
                <Property name="decisionKey" value="0002"/>
              </Properties>
            </Action>
            <Action name="com.sap.pct.erp.mss.tra.action.approver.RejectTrip" groupAction="yes" handler="UserDecisionHandler" referenceBundle="com.sap.pct.erp.mss.tra.Reject" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="UserDecisionNote" value="true"/>
                <Property name="decisionKey" value="0003"/>
              </Properties>
            </Action>
            <Action reference="submitUserDecisions"/>
            <Action reference="com.sap.pct.erp.mss.gotoWorkcenter"/>
            <Action reference="refresh"/>
            <Action reference="defaultGlobalWizard"/>
            <Action reference="addToNavigation"/>
      Regards,
    Amit

  • Using af:clientListener after page load

    Hi,
    I need to run a js function after* the page finishes loading.
    I tried to use <af:clientListener type="load" method="fillProjectList"/>, but the script starts running before the table on the page finished loading.
    The table has: clientComponent="true"
    How can I make the script to start runng only after all table components are loaded?
    Thank you,
    Nina

    Ah.. i guess it will not work as you cannot do any UI activity after the render response phase. May be try this
    Javascript into JSPX and run after page is loaded?

  • Javascript  before/after Page Load

    hi, i want to call javascript before or after page is loading,
    is it possible?

    Hi,
    Under Page Rendering--->
    Open the page definition
    Under --> Display Attributes
    change to 'Donot focus cursor'
    In Page html body attributes
    enter --> onload="set_focus();"
    bye
    Srikavi

Maybe you are looking for