on 12-25-2007 6:27 AM
Hi everyone,
When I click on X to close the application, I get an anoying little window that can block all the Internet Explorer.
Is there something to do in order to close properly a WD application ?
Thanks.
David
Hello..
Its been a long time.. U r back i guess
One .. Try CE. Here windows have their own close buttons.
Two .. What are doin in the app ? can u give some more details ??
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is nice to come back in the portal world -:(
The senario is the following :
1) Page A open an page B using relative navigation.
2) There is a button exit in page B that should close B (itself).
I tried the exit plug, the javascript widow close and nothing seems to work.
3) In addition when closing I need to free resources from portal : my sys admin says that my WD applications do not free resources from portal.
Thanks for the help.
Regards.
Edited by: David Fryda on Dec 27, 2007 11:19 AM
Hi David,
Create an OutboundPlug for B's InterfaceView (not exit plug).
Add B's InterfaceView in view's required controller property.
onAction<exitbutton>() write this:
wdThis.wdGet<viewB>InterfaceViewController().wdFirePlug<back>();
3) if you are talking about JCo resources add this code before exit :
wdContext.current<BAPI>Element().modelObject().modelInstance().disconnectIfAlive();
Hope this solves your problem
regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For closing a webdynpro application:-
You need to do following application
(1) In your window Create an Exit plug say "Exit", with boolean parameter with name "closeWindow".
(2) Now when you want to close your application. Fire this plug in following manner.
wdThis.wdGet<Window_Name>Controller().wdFirePlugExit(true);
Now It will open a small popup window to close your application, click on yes.
But this popup will not be visible on portal.
Regards,
Praveen
Hi
u can insert the following code in order to close the appl.
IWDWindow win=wdContext.currentconextelement().getWininstance();
win.destroy();
u can copy the above code in the view to which u want to close.
1)In the above wininstance is the valueattribute
2)u can create this attr in component controller rootcontext of type(IWDWindow)
3) Then u can map this for both views
regards
Hazrath.G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.