Skip to Content
avatar image
Former Member

Integration of a Tree Structure in a Web Dynpro Table

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 10, 2005 at 07:33 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 10, 2005 at 02:28 PM

    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

    Add comment
    10|10000 characters needed characters exceeded