• Var scope in nested repeatTreeNode

    By miguel calvo 1 decade ago

    Hi,

       I,m designing a Navigator to implement a complex dynamic menu with several submenus. I'm using repeatTreeNode to create the top level menu options and the second level menu. My problem is that I need to use the top level var element to locate and create the second level options. The top level var object seems to be unavailable in the nested repeatTreeNode. Is there any workaround to use the top level var inside the nested repeatTreeNode ( like in a repeat control ) ?

      Thanks,

    • Could you provide your code snippet?

      By Andrejus Chaliapinas 1 decade ago

      If it possible - please zip your code snippet and attach it to your post

      • I attach the code snippet and the error message

        By miguel calvo 1 decade ago

        Hi,

           Here you have the code and the runtime error i get.

        Thank you,

        • Fixed in the next build

          By Philippe Riand 1 decade ago

          Thanks for reporting the issue.

          Also, please make sure when you contribute a piece of code that we can easily consume it, as yours referred to missing beans.

          • Thank you for the answer

            By miguel calvo 1 decade ago

            Looking forward next release.