Quantcast
Channel: SCN : All Content - Web Dynpro Java
Viewing all articles
Browse latest Browse all 1288

NavigateRelative

$
0
0

Hi everyone,

 

I need to navigate to another WD iView.

 

Here is the scenario:

I have 2 pages A_PAGE and B_PAGE.

 

When I click on a button in A_PAGE, i want to navigate to B_PAGE.

 

Code :

     String[] path = {"B_PAGE"};
WDPortalNavigation.navigateRelative(null,  // baseUrl - null means current position                1,     // number of levels up               path,  // the children to navigate to               WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL          "toolbar=no,resizable=yes", // windowFeatures           null,  // windowName                                        WDPortalNavigationHistoryMode.NO_DUPLICATIONS,          null,  // targetTitle           null,  // contextUrl           "",       // businessParameters           false);// useSAPLauncher    

 

A_PAGE and B_PAGE are in the same folder.

 

I created a role wich I assigned to it A_PAGE.

 

When I trie to navigate, an empty page is opened.

 

Thanks for the help.

 

David


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>