[dna-issues] [JBoss JIRA] Commented: (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:45:36 EDT 2009


    [ https://jira.jboss.org/jira/browse/DNA-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12485175#action_12485175 ] 

Randall Hauch commented on DNA-516:
-----------------------------------

Corrected the faulty sections in the Reference Guide, and added a bit more detail to the same sections.

However, JcrNodeTypeManager doesn't appear to have a way to register node types with a CndNodeTypeSource.  We should add a method that delegates to the existing (package-level) method on RepositoryNodeTypeManager.

> 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 childNode.setRequiredPrimaryTypeNames(...) to childNode.setRequiredPrimaryTypes(...)
> 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