Skip to Content
0
Former Member
Sep 28, 2006 at 07:05 PM

using links in WD table

23 Views

Hello All,

I have a WD table in which one of the columns is a link(LinkToAction). The data in the column is bound to the view context and is also mapped to an OnAction method.

I would like to extract the value of the link when the user selects the link.

I tried 2 ways:

1)

wdContext.currentListDataElement().getSalesOrderNo();

2)

int i = wdContext.nodeListData().getLeadSelection();
   String val = wdContext.nodeListData().getListDataElementAt(i).getSalesOrderNo();

But for some reason the selection of the link does not change the lead selection of the row in the table. The value returned by the above methods does not correspond to the link selected but returns the value of the Sales Order where the row is selected.

Any ideas what I am doing wrong?

Thanks

Asheesh