cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation does not work

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

See bellow

Former Member
0 Kudos

Hi Waldemar

You probably have the problem with domain relaxing. Is the WD application running on the same host as J2EE Web application and EP ? Could You post the js error

There are many posts refer to domain relaxing problem e.g.

Best Regards

Jakub Krecicki

Former Member
0 Kudos

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

Former Member
0 Kudos

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