Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2 RC1
    • Fix Version/s: 3.0 M3
    • Component/s: {Unused} Rendering 2.0
    • Labels:
      None
    • keywords:
      include, section, macro
    • Tests:
      Unit
    • Similar issues:

      Description

      It would be very useful to be able to include content from a section of another document. Currently, Xwiki only allows inclusion of a whole page through the IncludeInContext etc. macros. A workaround is available if programming privileges are used, by using $xwiki.getDocument() and getContentOfSection(<section_number>). Ultimately, programming privileges should not be required to support this.

      Inclusion would ideally be based upon the title of the section or some other easily accesible marker unique to the section. I believe that supporting inclusion by the section number only would not be sufficient, because adding content to the page would very likely change that value. An example of the macro would be something like #IncludeInContext(PageName, SectionName) or #IncludeTopic(Pagename, SectionName).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                sjb Steve Brandi
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: