on 07-02-2009 11:59 AM
Hi,
I have a problem with the following scenario:
When a user clicks on a link in a portal, a web dynpro page opens in new window with the url similar to this
So basically in this way we only want to display this single application, without portal top level navigation, inner page, masthead etc.
The problem occurs when we try to implement navigation from this web dynpro application to another page
When we use WDPortalNavigation a new window opens but we want the navigation to happen in the same window.
We cannot use LinkToUrl control with _self parameter because its not supported.
We also cannot use HttpServletResponse by getting it through com.sap.tc.webdynpro.services.sal.adapter.core.IWDWebContextAdapter class.
We also cannot use ExitPlugs because the error occurs with the message that the ExitPlugs cannot be used in portal.
Basically I need a redirect to another page. Any ideas how to solve this problem?
Regards,
Ladislav
Hi,
try this
if (WDPortalUtils.isRunningInPortal()) {
WDClientUser.forceLogoffClientUser(urlredirect);
} else {
wdThis.wdGetSetpwdWindowInterfaceViewController().wdFirePlugPlugExit(urlredirect);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Closing this thread. Solved a problem by displaying it on the same page
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
where is that link? Is it in some html page or webdynpro view?
Also paste the code what you wrote to navigate to webdynpro application.
Regards,
Jaya.
Edited by: VJR on Jul 2, 2009 4:38 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the link which initially opens this web dynpro application page is contained in a html page.
Here is the code:
WDPortalNavigation.navigateAbsolute(
"ROLES://portal_content/Company/Intranet_v2/Applications/ZZ/Pages/PurchaseRequests",
WDPortalNavigationMode.SHOW_INPLACE,
WDPortalNavigationHistoryMode.NO_HISTORY,
"requestNr="+wdContext.currentContextElement().getRequestNr());
Regards,
Ladislav
Edited by: Ladislav Pomezny on Jul 2, 2009 1:23 PM
User | Count |
---|---|
76 | |
10 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.