cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter mapping

Former Member
0 Kudos

Hi

I have working on parameter mapping. I am following these steps

1) <b>obtain name of parameter with UI elements event</b>

2) create an action in the view controller

3) define a parameter for the action of same data type as the event parameter.

4) Associate the event parameter with action parameter.

But I dont know from where I may get name of parameter associated with UI element .

for example in the bellow code in domodify view where can i get parameter associated <b>"path"</b> with UI element

if (firstTime) {

IWDTreeByNestingTableColumn masterColumn =

(IWDTreeByNestingTableColumn) view.getElement("MasterColumn1");

masterColumn.mappingOfOnLoadChildren().addSourceMapping("path", "element");

}

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Praveen

Kindly give yoyr mail id so that i can send you my project. I have been trying since quite some time , but no success. Kinndly help !!

Regards

Abhay

former_member485701
Active Participant
0 Kudos

Mail me on:-

praveen.kumar.pandey@sap.com

Former Member
0 Kudos

Hi Experts

In my application I have two tables and in both tables I have master column BY nesting tree. now for parameter mapping I have folowing code at domodify , but for 1st Ui element string is being passed to action but in the 2nd table control is not even comming to action ( means nothing is being transfered in <b>String Path</b>). rest everthing is same for both UI element . Kindly help ...

if (firstTime) {

IWDTreeByNestingTableColumn masterColumn =

(IWDTreeByNestingTableColumn) view.getElement("MasterColumn1");

masterColumn.mappingOfOnLoadChildren().addSourceMapping("path", "element");

IWDTreeByNestingTableColumn masterColumn1 =

(IWDTreeByNestingTableColumn) view.getElement("MasterColumn2");

masterColumn1.mappingOfOnLoadChildren().addSourceMapping("path", "element");

}

Reagards

Abhay

Former Member
0 Kudos

hi,

the data type of the<b> path</b> should be<b> IWDNodeElement</b>

Regards

Ayyapparaj

former_member485701
Active Participant
0 Kudos

hi,

Please send the code of your onLoadChildren method

regards,

Praveen