cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh a page on top level navigation 2

Former Member
0 Kudos
134

Hello:

It is needed to for an event on an iView, the whole page

has to be reloaded, as if user clicked the page link on

the top level navigation level 2.

I used

document.URL = "<targetUrl gotten thro' URLGenerator>";

and

EPCM.doNavigate = "<targetUrl gotten thro' URLGenerator>";

First approach it didn't do anything. For the second

approach it gave out an error like 'hrnp' or something.

Any help is highly appreciated,

Prasad Nutalapati

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Prasad,

Try triggering the following on your event. This gets the address of the current page and then calls it.

String targetURL = componentRequest.createComponentURL(componentRequest.getNode(), null);

location.href = '<%=targetURL%>';

Regards,

Paul