Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.