1 2 Previous Next 23 Replies Latest reply on May 27, 2009 9:08 PM by Matt Kohanek

    Need help with data source to populate nodes of rich:tree

    Matt Kohanek Novice

      I know how to populate the nodes using a .properties file. But thsi will not work for my project. I have a web service, where data is stored in this format:

       <permissions class="java.util.ArrayList">
       <devices class="java.util.ArrayList">
       <channels class="java.util.ArrayList">

      The nodes will be populated using the elements name, projectDevice, and channelId. It is unrealistic for me to transfer all the data to .properties files.

      So is there a method out there to help me easily take the data from those three elements and use it to populate the tree nodes? I already have the method written to deserialize the data, using simplexml. But past that point I am unsure what to do.


        1 2 Previous Next