- 18,968 hits
Into the charm of Oracle Webcenter and ADF
While Implementing a solution i didn’t find a better way to add a feature to my application except an iframe include in my page , which i don’t prefer. Sometimes we use iframes as a point of integration between applications.
So how to enable/disable our pages in an application to be reused or restrict its re-use as for security requirements??
the problem appeared to me that i have developed 2 applications and i want to use a page from application 1 to be added in a page in application 2 as an iframe & the result was the iframe is empty in mozilla Firefox/chrome and “this content cannot be displayed in frame” for IE.
After a deep searching i have found that there is context parameter that is used in the web.xml which enable/disable this feature.
The parameter values
always: The page will show an error and redirect whenever it attempts to run in a frame.
differentDomain: The page will show an error and redirect only when it attempts to run in a frame on a page that originates in a different domain (the default).
never: The page can run in any frame on any originating domain.
And for more reading check this link