on 08-10-2005 1:53 PM
Hi,
I need to create a new browser window, which will have the standard toolbar, using which the user can print the content in the window.
This window will be called on the button, present in default window, being clicked. I cant go ahead with:
1. Popup window : It doesnt have the standard toolbar with Print option
2. Confirmation Dialog: Same, no toolbar for print button.
3. External window: As this takes only static URL as parameter and hence wont display my custom view.
Any idea how I can get a new browser window (which has standard FILE, EDIT, TOOLS, HELP etc options) with my view displayed in it.
Thanks.
Puneet
Is it necessary for your requirement that the target view (which you want to open in new window) should be part of the same WD Component? If it is not i.i. you can create the target viewin a different component then you can give this new component's application URL (which come in broswer for running any WD app) as the targetUrl of the External Window.
Not sure whether it will help you or not.
Regards,
Shubhadip
Message was edited by: Shubhadip Ghosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hii Puneet,
you can use the following code block:
Suppose you have built a webdynpro project named WD_WINDOW and the application name WindowApp then to get the URL using the WDURLGenerator class use the following code.
String strURL = WDURLGenerator.getApplicationURL("local/WD_WINDOW", "WindowApp");
Now u can use this strURL for opening your external window.
Hope it works for you.
Regards,
Shubhadip
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.