on 03-20-2006 8:20 PM
Hi,
I have a webdynpro applciation say, A;
Inside this WD applcation i am calling a second one on some action using the below code;
try
{
WDDeployableObjectPart currentAppPart = wdThis.wdGetAPI().getComponent().getApplication().getDeployableObjectPart();
String appURL = WDURLGenerator.getApplicationURL (currentAppPart);
wdThis.wdGet<>InterfaceViewController().wdFirePlugRestartAppl(appURL);
}
catch (final WDURLException ex)
{
wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(ex), false);
}
}
catch (final WDURLException ex)
{wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(ex), false);}
I have attached the WD Application A to a workset X on portal and a WD Application B to a workset Y.
Now In my first application of Worset A whenever i generate the action and navigate to the second application, after that i cannot click on Workset Y to launch its iviews. It gives me a javascipt error as soon a i click on the workset Y saying;
Can't Execute code from a freed script
http://<>:<>irj/servlet/prt/portal/prteventname/navigate/prtroot/pcd.
Hi,
I think in Portal Scenario, you are supposed to use Portal Navigation
Please go through the tutorial.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial on integrating web dynpro in portal - 19.htm
Thanks and Regards,
Rohit Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in general navigating to a WD app using a WD app URL is strictly not recommended when running in the portal.
To replace an iView you have to navigate to a page containg the needed iViews.
With NetWeaver 04s we provide an API to display or hide any iView running on the page.
Best regards
Jochen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.