iView interaction: open link target in another iView on same page
i'd like to build following szenario: 1 page with 2 iViews, one KM iView and one Web Dynpro iView.
On click on a link in the KM iView I want to open the target in the second Web Dynpro iView.
Everything works fine if I open the link in a new window:
String strLink = "/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2ffolder!2fiViews!2ffolder!2fmyIview?DynamicParameter=id%3Dabc"; Link link = new Link(strLink); link.addText("mylink"); link.setReference(strLink); link.setLinkDesign(LinkDesign.FUNCTION); link.setTarget("_blank"); link.setEnabled(strLink!=null);
I've read about EPCM and Portal Eventing, but I can't believe it is so complicated with subscribing
and raising an event and so on... I only want something like "open this link in this iview on the same page"
Thanks a lot for your help