0 Replies Latest reply on Nov 21, 2008 3:17 PM by martin4s

    DataModelSelection and nested data structure

    martin4s

      Hello,


      in my backing bean I have a nested data structure:



          @DataModel("ItemList")
          private List<Item> subTree1;
          
          @DataModelSelection("ItemList")
          private Item itemSelected;
      




      Item contains a List of sub Items and so on. If I select such a sub item in my GUI, itemSelected contains the parent item of it (main level). How can I solve this problem?


      Thanks,
      Martin