Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-514

Reference Guide example that defines node types programmatically has several typos

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.6
    • 0.5
    • Documentation, Examples
    • None
    • Documentation (Ref Guide, User Guide, etc.)

      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.

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: