Skip to Content
0
Former Member
Dec 02, 2009 at 11:47 AM

Parameter mapping of Link to Action in a table

166 Views

Hi Experts,

I have a dynamic table with one dynamic column with a LinkToAction column editor. My question is how to find out which link is clicked.

I know we have to use parameter mapping. I have an action with a parameter of type string i.e.

public void onActionLinkComments(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String nodeElement )

and this is how i have done parameter mapping

link.mappingOfOnAction().setString("nodeElement", link.getId());

...

but this simply returns id of link to action

Please suggest a solution. I want to know row index of LinkToAction clicked by user.

Regards

Pranav