ChildrenNodes for particular parent in section
----------------------------------------------

                 Key: NXP-6215
                 URL: https://jira.nuxeo.org/browse/NXP-6215
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
    Affects Versions: 5.3.1
         Environment: java 1.6 , Windows and jboss
            Reporter: Kuru Suntharalingam
            Priority: Critical


I am writing a resltlet  pulgin for nuxeo to present the section information in 
xml format. 

I am getting the section info using path info and DocumentModel .

 example :
DocumentModel sectionDocumentModel = 
coreSession.getDocument("/default-domain/sections/parent-1");

Then I am getting the 
        PublicationTree publicationTree = publisherService
                                        
.getPublicationTreeFor(sectionDocumentModel, coreSession);

Then I am getting the ChildrenNodes using  publicationTree.getChildrenNodes();

   List<PublicationNode> nodeList = publicationTree.getChildrenNodes();

Problem I am having is  nodeList is returning only the parent nodes in the 
sections, How I can get the ChildrenNodes for particular parent in section.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to