[dna-issues] [JBoss JIRA] Created: (DNA-516) Reference Guide example that defines node types programmatically has several typos

Randall Hauch (JIRA) jira-events at lists.jboss.org
Thu Sep 10 09:01:36 EDT 2009


Reference Guide example that defines node types programmatically has several typos
----------------------------------------------------------------------------------

                 Key: DNA-516
                 URL: https://jira.jboss.org/jira/browse/DNA-516
             Project: DNA
          Issue Type: Bug
          Components: Documentation, Examples
    Affects Versions: 0.5
            Reporter: Randall Hauch
            Assignee: Randall Hauch
             Fix For: 0.6


The example in Reference Guide that shows how to programmatically define node types (http://jboss.org/file-access/default/members/dna/freezone/docs/0.5/manuals/reference/html_single/reference-guide-en.html#d0e6301) has several typos:

1) Change NodeTypeManager on line 2 to JcrNodeTypeManager
2) Change [code]childNode.setRequiredPrimaryTypeNames(...)[/code] to [code]childNode.setRequiredPrimaryTypes(...)[/code]
3) Add a boolean argument in the method call in the last line.

Also, the text in this section could be more clear about the in which package the DNA-specific interfaces exist.

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

        


More information about the dna-issues mailing list