cancel
Showing results for 
Search instead for 
Did you mean: 

Table actions mapping to context

Former Member
0 Kudos

Greetings, SCN members!

I am doing an upgrade to several WD4J applications, 7.0 to 7.31.

In 7.0 applications, I could reach the selected table element by using the method below:

wdContext.current<Element name>Element()...

or wdContext.node<Element name>().getCurrentElement()

Since 7.3, I cannot use such methods, and as a result I have to map elements to actions in wdDoModify() method, and add context element to the event handler, which creates tons of work, as for each action link I have in table I have to do the mapping manually. Do you have any idea how the previous behaviour can be applied, so I could simply bind context node to table and use the wdContext.current<Element name>Element()... methods?

Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

wdContext.current<Element name>Element()... not working? are you sure?

Former Member
0 Kudos

Hi Jun,

Nope, maybe I need to add some code that will map context node to table?

Although it's mapped in the editor it seems to be "disconnected" during runtime.

junwu
Active Contributor
0 Kudos

really lost, what you are talking.....