Monday, November 8, 2010

Oracle Webcenter 11g Unable to load content in a frame. Frame content will load at the top level.

When we add a jspx page to the Oracle Webcenter 11g we get the above mentioned error.



This problem can be resolved by adding the following  context-param in web.xml
    oracle.adf.view.rich.security.FRAME_BUSTING and param-value as never


    Redeploy the code and the error will be gone.





    2 comments:

    1. Thank you! You are a savior! :)

      Can you also post some supporting information as to what exactly this code change does and why it is required?

      Thanks a million!
      Manoj

      ReplyDelete
    2. We have an existing html web page that has top and bottom frames.
      The buttons in the top frame when clicked show the corresponding page in the bottom frame.

      Button1 Button2 <<<<< top frame
      ________________________________________
      "Employee Maint" link << bottom frame

      In one of these bottom pages, "Employee Maint" link is there. When clicked pulls up a Jdev Application in the bottom frame.
      Earlier Jdev/adf app was not showing up in the bottom frame. So "frame buster" was needed. Now it shows ok inside the bottom frame.

      But now, after the Jdeveloper page is loaded, when we try to use the "Button1 or Button2" in the top frame to pull up other pages it does not work.
      (this could be because of the "frame buster").

      This works well in IE but an issue with Safari/Chrome/Firefox.

      Is there any solution for this so that the top buttons continue to work even after clicking on the Jdeveloper App.(that uses frame buster)

      Thanks

      ReplyDelete