on 2005 Dec 05 1:13 PM
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
Hi Fooks,
The answer should be "fullscreen=yes"
This solves the problem
Bertil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
10 | |
10 | |
9 | |
9 | |
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.