on 05-02-2008 7:52 AM
Hi folks,
I have been trying to write some functionality on wdDoExit() of a view. The method - wdDoExit() is called when i close the browser.
But, when i host this application on portal, this is not happening. I want wdDoExit() to be triggered on portal logoff or closing the browser window. Is there any way of achieving it??
Any ideas or work around appreciated.
Hi,
Make the view lifespan as when visible, so that the wdDoExit Method will be called.
Other way is you can check it in the wdDoapplicationStatechnge methods of component Controller.
Regards,
Ganesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Kunal,
This is not possible. You can manage only the iview area where you dynpro application is hosted. apart from it. portal logoff and closing window where portal is running. those are completelly portal instants.
And not recomonded that you change portal setting to execute your application code. as portal supports other applications too.
A workaround is.
we have done this for differnet purpose.
when you create an iview in your portal for you dynpro application.
1.on logoff of your portal.. pass a parameter to you application.
2.specify that parameter in your default inbound plug of main screen.(i.e. the screen which executes first)
3. and according to that parameter execute you wdexit of dynpro.
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 | |
10 | |
7 | |
6 | |
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.