This content has been marked as final.
Show 3 replies
-
1. Re: Advice on data type for java Object pertaining to rich:t
meghiddo Jul 11, 2009 1:11 PM (in response to meghiddo)Hmm maybe I should ask it this way..
What would be acceptable to use on a rich:tree...
Map<Object, String> - with the Object as the parent node and the String values listed below it
or
List<String, List> - with the first String as the top node and the next List as children under them
or
Map<String, String> - with the first String as the upper node and the second String as the nodes below the first String
Are any of those acceptable? Will they still act in the way I need them to when I bind them as an Object to my tree? -
2. Re: Advice on data type for java Object pertaining to rich:t
meghiddo Jul 11, 2009 1:15 PM (in response to meghiddo)Actually looking at it that second one is the only one that would work for what I need.
So, is I include in my Object aList<String, List<String>>
Will I be able to control its behavior in the tree like I need it to?
I will need the first List item to be a top node, and each item in the inner list to appear beneath it, and so on. These will all be child nodes to a String value btw.
-project
---devices
------channels -
3. Re: Advice on data type for java Object pertaining to rich:t
meghiddo Jul 11, 2009 7:57 PM (in response to meghiddo)please lol