on 02-15-2006 11:42 PM
What is the role of Wdmodify view method in webdynpros?
Hi,
wdDoModifyView method is a hook method which is called just before rendering the view.
This method can be used to access any UI element of the view for modifications. This access to view UI elements is only possible in this method since it takes a reference to the view itself as a parameter.
This method can also be used for dynamic UI generation.
Note that this method is called for the first time after wdDoInit and on every subsequent page refresh. This demarcation between first time calling of this method is handled through the parameter firstTime.
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<i>Sadly, current NW IDE does not support this via designer views.</i>
Agreed, but "future" NWDS versions finally will provide declarative parameter mapping.
Additionally, I tried to alleviate the pain by introducing constants for the event parameter names used in the mapping statements, e.g. instead of "guessing" the event parameter names, you can at least write
tabStrip.mappingOfOnSelect().addSourceMapping
(
IWDTabStrip.IWDOnSelect.OLD_TAB,
"name of action parameter"
);
Armin
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.