on 03-14-2007 8:19 AM
I want to refersh page of an application in ess portal without using external refresh
button .I want to do this task programatically in java webdynpro.
hi,
Have you tried view.resetView()?
This will reset the view to its original state, and this should be written in wdDoModifyView() method.
and this can be followed by the code with whatever changes you want next .
hope it helps
regards,
abhijeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Laxmikant,
There are different flavors of "refresh":
1. Resetting data: try wdContext.getContext().reset(true) in view, probably you need to reset context in component controller (if view context nodes are mapped) and it might be necessary to re-execute certain BAPI-s
2. Resetting UI: if you are creating UI controls programmatically, you can reset view UI to initial state via IWDView.resetView();
3. Reset navigation: probably you have several views in window and have navigated between them. Then you need to add additional plug(s) and fire them to navigate back inside WD window.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laxmi,
view.reset() will do refresh.
If you want to refresh view content or value of the fields. you can intialize page by setting context atrributes associated with each field to NULL or empty space.
Regards, Suresh KB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.