on 09-24-2007 11:23 AM
Hello portal profs.
I hope i'm right here.
I have a problem. I have two application in one iview. both applications are respectively set in Iframes and contains javascript.
Application one is a WebDynpro application, application two is a J2EE Web application.
the second application(in iframe two) contains one function which sets the URL of the first iframe with the url of WebDynpro appication. After this function is called and the WebDynpro app is loaded in the Iframe, the portalnavigation does not working.
The javascript on the Website throws an error.
This Problem is only in IE.
Has somebody an idea for this issue!
Regards WS
Message was edited by:
Waldemar Schäfer
See bellow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jakub
Thanks for reply,
The Exception is like: Code of one approval script could not executed.
I set the location for the page of first iframe from the page of second iframe as follows:
function setsource(){
var pos=0;
for(var i=0; i< parent.frames.length;i++)
{
if(parent.frames==self) pos =i;
}
pos = pos -1 //because first iframe
parent.frames[pos].location.href='http://application.html';
}
This works when i set the source for Web application without problems.
but when i set the source for my WebDynpro Application on this way, the navigation in the portal does not work anymore.
In the Html-source of the page i had seen that this parameter get other values:
"sap-wd-cltwndid"
"sap-wd-appwndid"
"_SSR_TransportFrame_1190642392625"
I think the navigation tree is corrupt.
Is there any function which can refresh the navigation tree in portal?
Any Idea?
Regards!
Message was edited by:
Waldemar Schäfer
Hello all!
I don't know why the navigation not works after i set the source for an iframe which loads WebDynpro App in portal with javascript,
I think the loading of a WebDynpro app in an iframe in Portal with javascripts set this app as top level component or something in this way.
Now i use the Portal eventing API to solve this issue. I think it is better sollution in Portal.
Best Regards WS
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.