Hi,
I am using jdev version 11.1.1.6.0.
I have iframe in that i have given source as a url of page. On that page load of iframe page i want to navigate the parent page of iframe to the other page i.e. replace original parent page.
how can I acheive that.
When generally I use following method it redirects to that page.
with url like /faces/oracle/webcenter/portalapp/pages/common/temp.jspx
public void navigateToUrl(String url) {
//Redirect to Page with givn url string
FacesContext fctx = FacesContext.getCurrentInstance();
ViewHandler vh = fctx.getApplication().getViewHandler();
UIViewRoot viewToRender = vh.createView(fctx, url);
fctx.setViewRoot(viewToRender);
fctx.renderResponse();
}
but in the page load of fragment page its not redirecting parent page or page in the fragment also .
So what is work around to naviagate parent pages.
Any help is appriciated.