cancel
Showing results for 
Search instead for 
Did you mean: 

WDPortalNavigation, opening new page in FULL_PAGE mode

Former Member
0 Kudos
78

Hi There,

I am using the WDPortalNavigation.navigateAbsolute method to open a new external page in my portal. Technically everything seems to works fine except that the new window is NOT opened in FULL_PAGE mode. It always pops up in a small window and I always have to maximize it.

I call the method in my Web Dynpro:

WDPortalNavigation.navigateAbsolute(

"ROLES://<my portal page>",

WDPortalNavigationMode.SHOW_EXTERNAL_PORTAL,

"",

"",

WDPortalNavigationHistoryMode.NO_HISTORY,

"",

"",

wdContext.currentContextElement().getUrl());

<my portal page> has as attributes Height_type = "FULL_PAGE" , Launch in New Window = "Display in Seperate window"

Has anyone a hint about what i am doing wrong?

Thanks

Bertil

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Fooks,

The answer should be "fullscreen=yes"

This solves the problem

Bertil

Former Member
0 Kudos

Hi

I tried the folowing solution as value for the parameter WindowFeatures and it seems to work!

width=1024,height=768,top=0,left=0

Is there a smarter way to do this like windowsize=maximized because now i am stucked with this resolution.

Thanks

Bertil

Former Member
0 Kudos

Hi

Well i am afraid it is not there. Well check if you can give the relative size. Instead of saying 1024px and 768 px, see if you can give the values in %. If that is possible then it will expand as per your system resolution. This happens in WebDynpro Container properties.

Anyway apart from there i dont think there is any other way.

regards

Ravi

Former Member
0 Kudos

Hi

Thanks for the update. That is a better solution.

regards

Ravi

Former Member
0 Kudos

Hi

When you are trying to access a external URL like google or something then you can directly use createExternalWindow() of WebDynpro to open. Here you can mention the height and width of your window.

But if you are navigating within the portal then i think you can set the height and width of your window. Check out this link where you can mention the height and width using "windowFeatures". Check this link

http://help.sap.com/saphelp_nw04/helpdata/en/c3/235a428a1e9041e10000000a1550b0/content.htm

Hope that helps.

regards

Ravi