Skip to Content
author's profile photo Former Member
Former Member

EP6: Dynamic Navigation - Eventing

Hi everybody,

I want to navigate to the same page/iView from my dynamic navigation nodes (which implement INavigationConnectorNode). The dynamic navigation shows a list of customers. Clicking on one of them should show the same page/iView, obviously for different customer ids.

Trying the simple approach to append the parameters ("....?customerid=4711") to the launchURL does not work.

I assume the whole concept works differently: do I have to implement getPRTEvent() (or maybe getJScript() or ..) to parameterize my navigation event ?

I cannot find any info on that subject, so I'd be really grateful for ideas and hints.

Cheers,

Heiko

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2005 at 04:17 PM

    Hi Heiko,

    try this:

    link.addText("link test");
    String navigationAction ="EPCM.doNavigate('" +url+ "',0)";
    link.setOnClientClick(navigationAction);
    

    Regards.

    Altafin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Altafin,

      thanks for your reply, unfortunately this does not work: you assume that I build an iView and thus can control the HTML output. What I do, though, is to dynamically build a navigation structure (not in an iView but in a Navigation Connector). There I only have a couple of fields I can set, most notably the "launchURL". The standard Portal Navigation Service takes my data structure, merges it and forwards it to the (standard) detail navigation iView.

      In the meantime I have been able to solve it (actually thanks to Sven Kannengiesser): I put the following into my launchURL:

      "/irj/servlet/prt/portal/prtroot/<escaped pcd url>?myparam=4711"

      where the escaped pcd url looks something like

      "pcd!3aportal_content!2fmyfolder!2f .... !2fmypage"

      That works fine.

      Cheers,

      Heiko

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.