cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro Portal Navigation

Former Member
0 Kudos

Hi All,

I have created few webdynpro applications and deployed it to server. Now these iviews needs to communicate to each other.

I tried using abolute navigation using -

WDPortalNavigation.navigateAbsolute(ROLES://portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.support/com.sap.portal.web_dynpro_test_tools/com.sap.portal.portal_navigation,WDPortalNavigationMode.SHOW_INPLACE,WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,passed Parameter)

passedParameter is the business parameter passed from 1st iView to 2nd IView. How do I retrieve the passed business parameter in the 2nd iView programmatically? Please help.

Thanks,

Dhanya

Accepted Solutions (1)

Accepted Solutions (1)

arun_srinivasan
Contributor
0 Kudos

hi dhanya,

check out this link. It explainsu how to pass parameter betwen two iview ie portal eventing

http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to program portal eventing

Hope this helps u,

Regards,

Arun

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Dhanz,

Please can you tell me what to do if you DO NOT want to destroy the source application when navigating away from it?

For example... Webdynpro App #1 calls Webdynpro App #2,

Webdynpro App #1 will always stay visible and available to the user in there toolbar in the portal. However after I click "Go" to trigger the navigation to Webdynpro App #2, then the next time I hit "Go", Webdynpro Application was destroyed out of memory I believe.

Former Member
0 Kudos

Hi,

Attaching the code used for absolute navigation between 2 webdynpro iviews-

public void onActiononSubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )

{

//@@begin onActiononSubmit(ServerEvent)

String enteredName = wdContext.currentContextElement().getName();

WDPortalNavigation.navigateAbsolute(

"ROLES://portal_content/DhanyaNayak/com.trial.WDNav2",

WDPortalNavigationMode.SHOW_INPLACE,

(String) null,

(String) null,

WDPortalNavigationHistoryMode.NO_DUPLICATIONS,

(String) null,

(String) null,

"name="+enteredName);

//@@end

}

Please suggest.

vijayakhanna_raman
Active Contributor
0 Kudos

Hi,

U check with this code example in this link of Use of Portal Navigation.

http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm

Regards,

Vijayakhanna Raman

Former Member
0 Kudos

Thanks for the useful replies. In addition there is an issue -

In spite of using WDPortalNavigationMode.SHOW_INPLACE , during navigation next iView opens in a different window. What could be wrong?

Please suggest!

arun_srinivasan
Contributor
0 Kudos

hi

U check the step of i view creation there something may be wrong.check out this for ur reference

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tu... on integrating web dynpro in portal - 19.htm

http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/ep 6.0 sp2.0/how to integrate a web dynpro application into sap ep 6.0

hope this helps u,

Regards,

Arun.

arun_srinivasan
Contributor
0 Kudos

hi

Try to put both iview in a page (Right click portal content there u have page option).

Then right click the iview and add to page and similar to other iview.

Hope this helps u better,

Regards,

Arun

vijayakhanna_raman
Active Contributor
0 Kudos

Hi Nayak,

During navigation next iView should open in a same window. There should be some other problem with ur code can u send it.

Regards,

Vijayakhanna Raman

Former Member
0 Kudos