Skip to Content
author's profile photo
Former Member

Refresh a page on top level navigation 2

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Apr 14, 2004 at 09:23 AM

    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

    Add comment
    10|10000 characters needed characters exceeded