on 06-18-2007 12:59 PM
HI ,
Can some one explain me what is parameter mapping and in what scenarios we need to use it??.
<b>Hi
Web Dynpro ParameterMapping API - IWDParameterMapping
The parameter mapping is an instance of the UI element event. Therefore, it is defined at UI element level. You describe the parameter mapping for a UI element event using the wdDoModifyView method (see also Event Parameter and Parameter Mapping).
Since the parameter mapping is defined at UI element event level, each UI element event has a corresponding mapping information. Therefore, each UI element that can trigger events returns the mappingOf<UIElementEventName> method. This method returns an instance of the IWDParameterMapping interface. A button UI element with the onAction event provides the mappingOfOnAction that returns the current parameter mapping for the button instance.
Event Parameter and Parameter Mapping
http://help.sap.com/saphelp_nw04/helpdata/en/2f/55f35ceb9ca9458598ba61a4ca2fbb/frameset.htm
This url links to a short pdf describing the Webdynpro Java
Go To Section 7.4 Parameter Mapping
"Inside WebDynpro Java" Pdf File 2.50 MB</b>
http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf
<b>Regards
Chandran</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sapuser,
Parameter mapping in WD concerns to the sharing of the attributes and nodes
across the controllers as the request -response cycle is stateless over here the
only place to store the parameters is the context and if you require to share some of the values which was either fetched from the backend or entered in a particular
view you can share it across with the parameter mapping.This functionality was
developed to promote the modelling approach of S/w development.
Also it becomes very important in case of the view controller since the controllers
are private.
Regards
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashwani,
Well thats correct and that is exactly what I meant when i was talking about the sharing the data across the controllers(classes).Now here what I dont understand is how have I mixed up the event and context parameter in the above message posted by me.Please go through and let me know if there are discrepancies.
I would appreciate that because thats how people realize unknown concepts
Regards
Amit
The original poster wanted to know what (event) parameter mapping is. This has nothing to do with context mapping.
Event parameter mapping is about mapping the predefined UI element event parameters to action parameters, or about setting constant values for such parameters e.g. to identify the UI element that triggered the event.
Armin
Hi..
And also see this thread..
https://www.sdn.sap.com/irj/sdn?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
Urs GS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Refer these links tey maybe helpful to you
http://help.sap.com/saphelp_nw04s/helpdata/en/33/b11042705a5533e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/44/7c1aed145b6571e10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/f9/64c0410c2dcc17e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/60/1f1f056f057d4d962375efd3c92ed0/frameset.htm
Regards,
SURYA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this
Regards,Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.