on 05-15-2008 10:24 PM
Hi All,
Is there any way to reload / refresh a webdynpro application . My requirement is on click of a button i want to reload the same webdynpro application so that the application ( view / context / global variables ) will be in the same state as when we initially click on the iview from detailed navigation.
Hi Raj,
To reset all the contexts you can use the following code:
wdContext.getContext().reset(true);
Thanks n Regards,
Jhansi Miryala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've never tried reloading the entire application.
However, to reset the state of a context, you can invalidate the root node and then restore it to it's initial state by calling the wdDoInit() method. Something like
wdContext.invalidate();
wdDoInit();
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.