Hi,
   I have a question regarding looping over Content and Data Nodes, I am
using Magnolia 3.0 RC3.  I have a hierarchy similar to the following
when viewed from the JCR Browser:

-Folder folderName
        -contentNode Name1
                -contentNode visits
                        -nodeData data1
                        -nodeData data2
                        -nodeData data3
                        -nodeData data4 
        -contentNode Name2
                -contentNode visits
                        -nodeData data1
                        -nodeData data2
                        -nodeData data3
                        -nodeData data4 
        -contentNode Name3
                -contentNode visits
                        -nodeData data1
                        -nodeData data2
                        -nodeData data3
                        -nodeData data4

So I am trying to create an output in JSP code that will loop over and
print out Name1, Name2, Name3, and then dive down into the visits
Content and print out Visits and then the values for the nodeData as
well.  I know the hasChildren() method will return a boolean for a
similar node type, so if I am dealing with contentNode, it will check
for children contentNodes, but how do I specify that I want to look for
nodeData children of a contentNode?

Thanks for your help,
Danny



-- 




Danny Gibbs
Software Developer
Portent Interactive | 206-575-3740
An Internet Marketing Company
http://www.portentinteractive.com

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to