JSPX page inside (i)frame is blank in IE

I have a simple login.jspx that does not load correctly when it is placed in a frame or an iframe. Chrome and Firefox show no problems, but with Internet Explorer, the frame is blank. When loading the JSPX outside a frame, the application works as usual in all browsers. The parent page is a regular website and the URL of the (i )frame is http://{ip}:{port}/{appname}/faces/login.jspx. So both pages are on different domains.
I have configured framebusting in web.xml to get it to work in Chrome and Firefox:
<context-param>
    <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
    <param-value>never</param-value>
  </context-param>
<context-param>
    <param-name>org.apache.myfaces.trinidad.security.FRAME_BUSTING</param-name>
    <param-value>never</param-value>
</context-param>
When I use F12 in Internet Explorer, I noticed it only loads the ADF loopback-script, which ends with these lines:
if (oldUri == newHref && (hash != null || isOldFirebug)) {
   document.location.reload(true);
} else {
   newHref = (hash == null) ? newHref : newHref + '#' + hash;
   document.location.replace(newHref);
It looks like IE did not succesfully execute the script, since there is no noticable reloading of the page / frame. In debugging mode, I can't step through the script or find any errors.
Searching the web for line 2 gives me one case where document.location.reload(true) does not work on IE:
http://stackoverflow.com/questions/15910484/document-location-reloadtrue-not-working-in-ie9
However, when I test this function in IE10, it seems to reload the page.
I've searched the forums for a good way to disable this loopback-script. I have found that this is not possible for my ADF version and it is not recommended either.
I am using JDeveloper 11.1.2.3, WebLogic 10.3.6 and Internet Explorer 10.0.9.

I am using JDeveloper 11.1.2.3, WebLogic 10.3.6 and Internet Explorer 10.0.9.
So, I test it on IE10.
I noticed a difference between pages with a <frame> and pages with a <iframe> in IE10. The framed pages are blank, whereas the iframed pages keep loading forever (and at the same time, are blank).
I also tested IE 8.0.6 on another machine. This browser keeps loading forever, both with the frame and the iframe.
Does anyone experience the same problems when your ADF Faces application is (i )framed, even in a simple local HTML file?

Similar Messages

  • How to split one page into different frames in ADF?

    Hi,
    Can any one please guide me how to split a jspx into different frames.
    i.e., left frame contains <af:panelSideBar> which contains multiple <af:commandMenuItem> s. And whenver we click on the one <af:commandMenuItem>, it has to show the corresponing page inside center frame in this page itself. Is it possible in ADF? Which component we need to use?
    Can anyone guide me on this?
    Thanks in advance,
    Regards,
    Suresh Kethireddy

    You can use a combination of the ADF Faces 10.1.3 components like:
    af:panelPage
    af:panelSideBar
    af:panelHorizontal
    af:panelGroup
    to organize the screen layout, but it is not the interactive splitter that the 11g product provides.
    You can all all the 10.1.3 ADF Faces Components here:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/imageIndex.html

  • Move jspx page to the top inside an iframe

    Hi,
    I have an application which is residing in an iframe. However, i realise each time when i click a submit button on the application jspx page during form submission, the response page is rendered but becomes scroll down to the bottom of the iframe.
    How do i rendered the response page so that it always appear top inside the iframe?
    Thanks for any help

    stqn wrote:For what it's worth, I also found it very strange and annoying that half the links were at the top and the other half at the bottom of the page. But now I use the RSS feed to be informed of new topics, and subscribe to those of interest, so I don't navigate on the forum anymore. This works much, much better for me than using the "Show last posts" or whatever.
    Exactly.
    I use the list of topics to which I'm subscribed if I know what I'm looking for: "There was a thread like that yesterday or the day before yesterday ..." - it's often faster to browse a relatively small list than try to guess / remember some search phrases :-)

  • Events in a JSPX page

    Hi,
    I have this problem now.. I don't know if its a very simple one, but I couldn't find a way through it yet.
    I have a text box (af:inputText) inside a .JSPX page.. I want to capture the "onKeyPress" or "onKeyUp" event from this text box. For example, when I'm typing a letter inside the text box, I want the onKeyPress event to be captured and handled. How can I do it?
    I have a backing bean for the JSPX page. How can i tell the JSPX page to call a specific function when the event is thrown?
    Thanks in advance
    Pravin

    Hi Frank,
    Thanks for the reply.. When i dropped a text box into the JSPX page and checked its properties, it had onKeyUp, onKeyPress, etc.. So i thought i could possibly use them.. I'll do it the Servlet way then. Thank you.. :)
    Pravin

  • HTTP Error 403 - Forbidden  error when auto including a jspx page

    Hi All -
    We have a situation where one of different reports pages gets included inside a main reports page based on user selection via a selectOneChoice control.
    But when the Reports Main page tab is clicked for the first time we get a "You are not authorized to view this page" HTTP Error 403 - Forbidden error.
    Upon clicking "Refresh" and then clicking the Reports Main page tab again, the page renders correctly.
    This is our code snippet. All the report related pages(MainPage.jspx, Schedule.jspx and Budget.jspx) are inside a reports folder under the context root. Please help.
    Thanks for your time.
    MainPage.jspx
    =====================
    Here I have a selection box, and based on the user selection I include different JSPX pages. The page Definition of this page
    contains all the executables and the bindings of the included pages also.
    <af:selectOneChoice value="#{backing_Reports.measureSelected}"
    label="Measure" unselectedLabel="Select One"
    id="selectmeasure" autoSubmit="true"
    immediate="true">
    <af:selectItem label="Schedule Data"
    value="Schedule.jspx"/>
    <af:selectItem label="Budget Data"
    value="Budget.jspx"/>
    </af:selectOneChoice>
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected}" flush="true"/>
    </af:panelGroup>
    Faces Config:
    ===================
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>GlobalHome</from-outcome>
    <to-view-id>/pages/Welcome.jspx</to-view-id>
    <redirect/>
    </navigation-case>
    <navigation-case>
    <from-outcome>GlobalReports</from-outcome>
    <to-view-id>/reports/MainPage.jspx</to-view-id>
    </navigation-case>
    <!-- 1. Reports menu tab item -->
    <managed-bean>
    <managed-bean-name>menuItem_Reports</managed-bean-name>
    <managed-bean-class>cs.view.menu.MenuItem</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>label</property-name>
    <value>#{resources['scorecard.menu.reports']}</value>
    </managed-property>
    <managed-property>
    <property-name>viewId</property-name>
    <value>/reports/MainPage.jspx</value>
    </managed-property>
    <managed-property>
    <property-name>outcome</property-name>
    <value>GlobalReports</value>
    </managed-property>
    </managed-bean>
    :

    We have solved this, temproarily. But don't know if this is the best method to do this. Please post if somepne has a better way of doing this.
    While debugging we found that the ${backing_Reports.measureSelected} field which was set to a default value in backing bean was returned as null when the page renders for the first time. So we had a work around like this in our MainPage.jspx
    <af:panelBox width="80%" partialTriggers="selectmeasure"
    inlineStyle="margin:40.0px;">
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected==null?'BlankPage.jspx':backing_Reports.measureSelected}"
    flush="true"/>
    </af:panelGroup>
    </af:panelBox>
    Thanks.

  • Accessing properties files in jspx page in ADF Generic application

    Hi All
    I have created an genric application .I have jdevloper 11.1.1.3.I need to add the .properties file in my application and access that properties file in my .jspx page.
    so i have created the Resources folder and added the properties file in that folder and now i am trying to access that contents of that properties file in my jspx page using below code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
              <f:loadBundle basename="Resources.sampleproperty" var="props"/>
               <af:panelGroupLayout id="pgl1">
                 <af:outputText value="testing"  id="ot1" />
                  <af:outputText value="#{props['sample.label.text1']} " />
                  <af:outputText value="#{pageFlowScope.UserId}" />
              </af:panelGroupLayout>
    </jsp:root>but iam not able to access the propert and blank page is only displayed
    so what more steps i need to do to access it?
    Note:-previously i created the application of type Fusion Web Application ,where it added the folder named view and we used to add the .property file in it and accessed the contents of the .property file using above code and tthe above code was running fine.
    Thanks and Regards
    Bipin Patil

    Hi All
    I solved this issue
    by adding the following code in faces config.xml
    <application>
    <resource-bundle>
         <base-name>com.property.sampleproperty</base-name>
          <var>props</var>
        </resource-bundle>
    </application>note :The sampleproperty.properties should be present in java package com.property.sampleproperty
    please visit below link for more details.
    http://www.laliluna.de/articles/posts/jsf-2-evaluation-test.html

  • How to load another page in a frame?

    Hi!
    I have a frame with a page where is a button. I need to load another page in the frame when I click the button. How can I make it on the ADF? I work on JDeveloper 10.1.3.4.

    I found example. Thank you for help. Refresh works very well! This code:
        protected void refreshPage(String refreshpage) {
            FacesContext fc = FacesContext.getCurrentInstance();
            ViewHandler ViewH = fc.getApplication().getViewHandler();
            UIViewRoot UIV = ViewH.createView(fc, refreshpage);
            UIV.setViewId(refreshpage);
            fc.setViewRoot(UIV);
        refreshPage("/transfers/ClaimForm.jspx");

  • f: verbatim problem in jspx page

    Hi,
    Could anyone answer a simple question? Why does using <f:verbatim> <p>... block executing an event handler method bound to a button, that is placed inside this construction :
    "<f:verbatim><p><af:commandButton.....>"
    And then how can i insert linebreaks between command items in a jspx page?
    Message was edited by:
    Timin

    Hi,
    the reason is that f:verbatim is not supposed to have a JSF component as its child by just HTML or JSP tags. Its used for all elements on a page that don't participate in the JSF lifecycle.
    Use a groupLayout that aligns the components vertically
    Frank

  • Upload file through a popup in jspx page

    Hi,
    I am trying to upload a file using pop up on a jspx page. I have created a jspx page on which I have a pop up which is called on a command link click. This pop up have an input file component on it. When I select file and upload it and try to retrieve the file on jspx page it is null. I have tried to set this upoaded file inside a Simple POJO bean class which is serializable. I get the file name and type but get content of file as null.
    Anyone faced this problem or have implemented it then please help me.
    Thanks in advance
    Saurabh

    Thanks for thr reply.
    I have already set UsesUpload="true". The problem is I am not trying to put the inputfile component on the jspx itself rather I have kept this component on a pop up and from pop up I am trying to upload the file.
    Thanks
    Saurabh

  • Best way to move data from page to page inside app

    Hi all I started writing this and it got way to complicated to explain in full without a novel.
    Breif description. I am using query string that starts in the parent window (from href in json file) it then has to be moved into the iframe url when moving to other pages to avoid security as page and iframe are conflicting http and https. and cannot be accessed.. it seems there must be a better way.
    So my question is what is the best way in open platform to move data from one page to another?

    Hi Liam
    Small data just a webapp ID and I am using the URL. But if you pass a ID say from Json ie "href":"/Admin/AppLoader.aspx?client_id=dev-name&ID=111111" it gets passed to the page url. This can be referenced using document.referrer initially. As the app is inside another frame and url that is https there is security issue using parent.location between https and http. Fine but then if you move to a new page referrer is no longer as there is no real referrer and you have to use location but you cannot. Now the work around is to pass the value from the page url to the app url at the start. and then you get around http https security issue when using parent.location but this seems convoluted and like a work around. Is this really the only way or the best way or a bad way. without using other ways that seem over kill for 6 odd characters.

  • How export a pie graph(displayed in jspx page) into a PPT file.

    I am trying to export a pie graph(displayed in jspx page) into a PPT file using Apache POI. But I am facing a problem when I calling the below mentioned code from a button.
    Code:
    SlideShow slideShow = new SlideShow();
    Slide slide = slideShow.createSlide();
    FileOutputStream out = new FileOutputStream("slideshow.ppt");
    slideShow.write(out);
    out.close();
    The above mention code is working and a blank ppt file is created when I am running the code from a standalone java class. But when it is called from button in an adf project code is not throwing any exception but the ppt file is not created.

    Hi,
    sorry but the code snippet alone doesn't help to solve the problem. Did you debug the code to see if it works? My assumption is that the file gets written, just not in the directory you are looking at
    Frank

  • Embedding PDF files into jspx pages

    Hi,
    I'm trying to include a PDF into JSPX. I've got a servlet that produces the PDF. I use the following code:
    <f:verbatim>
    <iframe src="myservlet"
    width="100%"
    height="100%"
    scrolling="auto">
    </iframe>
    </f:verbatim>
    However, although I can see PDF content inside JSPX page, commandButtons doesn't work any longer. They seem to be dead.
    So, my question is: which is the "suitable" way to include PDF content into a JSPX page.
    Thanks in advance.
    Luis Serrano.

    Hi,
    actually this is the same experience I gathered when trying it this way. My assumption is that the PDF plugin causes the conflict. However, best integration I can imagineis to se a popup dialog and show the PDF file in there
    Frank

  • Logical && within EL Expression on jspx pages

    Hello all,
    Anyone know how to convert the logical AND symbol '&&' into something that can be properly understood within an EL expression? The ampersand is a reserved symbol within an xml document and can not be used in the jspx page.
    Thanks in advance!
    - Joe

    & a m p;& a m p;
    Should be without blank spaces but looks like this forum also escape the characters.
    Thanks,
    Alex
    Edited by: Alexbie on 26-Aug-2010 9:44 AM
    Edited by: Alexbie on 26-Aug-2010 9:45 AM
    Edited by: Alexbie on 26-Aug-2010 9:45 AM
    Edited by: Alexbie on 26-Aug-2010 9:56 AM

  • How to set the HOME link from two frame jsp page to no frame main page?

    Hi all,
    i have one main jsp page named as main.jsp.
    From the main.jsp, i can click the button and link to the twoFrame.jsp.
    This twoFrame.jsp have another two different jsp inside the frame called Aframe.jsp and Bframe.jsp.
    i try to put HOME in the Aframe.jsp(one of the page inside twoFrame.jsp) but only the Aframe.jsp manage to link to main.jsp but the Bframe still there.
    My question is: How to set the HOME link button from this twoFrame.jsp to the main.jsp? what i want is from twoFrame.jsp(two frame) to main.jsp(no frame).
    rgds,
    Bryan523

    No offense, but this is basic HTML. You shuold look into learning HTML before getting too deep into JSP. Try this: http://www.w3schools.com/html/default.asp
    But as a more specific answer, you have to set a target for the link to the _parent of your frame:
    <a href="main.jsp" target="_parent">Home</a>

  • Access jspx page from af:region

    hi
    jdeveloper 11.1.2.3
    i have a jspx and inside it there is dynamic bounded task flow , how can i refresh parent page from this dynamic region.
    tnanks

    Hello,
    The "RefreshCondition" attribute into Property Inspector of af:region, you could set the condition (EL expression) to refresh only
    the region (returns true) or the parent page (returns false).
    http://suneesh-adf.blogspot.com/2013/09/refreshing-adf-region.html
    rfh.

Maybe you are looking for

  • Deserialization error !!!Urgent help required!!!

    hi, I have a GUI screen developed by Java Swings. It has 5 checkboxes say A, B, C, D, E. Now depending on the users choice, the values of these checkboxes is sent as an xml file to the soapServer as shown below. <A="yes" B="no" C="yes" D="yes" E="no"

  • Thinking of MacBook Air - flash storage enough?

    I currently have a MacBook Pro 15-inch.  I've had it for a couple of years and love it. I have all my files and apps on it and do back-up regularly.  Howver now, I'm looking at a MacBook Air to replace it.  I'm wondering the size of the hard drive or

  • Cross Dissolve problem

    Hi, What are the correct settings for a fluent cross-dissolve from one clip to another? I am using version 12 of Premiere Elements and the standard length of my is 1 second (50 frames). However the result is that I still can see the faded out video '

  • Enhancements Webdynpro

    Hi all, I want to make some enhancements in a standard Webdynpro application  (TRIP). My problem is that ; the VIEW properties remain inactive even if I'm in enhancement mode. I want to know if there is an OSS note to resolve this ,because I do the s

  • Canon 60D CR2 not supported in Aperture 3.03

    First CR2 images to go into Aperture today and all came up as 'Unsupported Image Format. Is something wrong here or is it just wait 'for an update'?