cancel
Showing results for 
Search instead for 
Did you mean: 

Integration of a Tree Structure in a Web Dynpro Table

Former Member
0 Kudos

Hi Colleagues,

I have implemented an application similar to the tutorial of "Integration of a Tree Structure in a Web Dynpro Table" and it all works good.

Now I would like to add an action for the Lead Select of the table. But my problem is that the Lead Select always returns the first row and does not return the actual row selected.

How do I get to the content of the lead select of the table (in this recursive tree in the table )?

Thanks in advance,

Aviad

Accepted Solutions (1)

Accepted Solutions (1)

thomas_wenzel
Discoverer
0 Kudos

Hello,

try the following:


String actContent = null;
for (
  IPrivateYourViewName.IYourNodeElement nodeElement = wdContext.currentYourNodeElement(); 
  nodeElement != null;
  nodeElement = nodeElement.currentYourRecursiveChildElement()
  ){
    actContent = nodeElement.getYourContent();
}

This should work fine!

Best Regards,

Thomas

Answers (1)

Answers (1)

Former Member
0 Kudos

AVIAD,

Probably you'll find my weblog helpful regarding this issue (start with part II if you are familiar with tutorial you mentioned):

Part II: /people/valery.silaev/blog/2005/06/20/master-of-columns-part-ii

Part I: /people/valery.silaev/blog/2005/06/13/master-of-columns-part-i

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com