[ http://jira.xwiki.org/jira/browse/XWIKI-1776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Massol updated XWIKI-1776: ---------------------------------- Fix Version/s: 1.4 M1 (was: 1.3 RC1) > Support Include of Section Content > ---------------------------------- > > Key: XWIKI-1776 > URL: http://jira.xwiki.org/jira/browse/XWIKI-1776 > Project: XWiki Core > Issue Type: Improvement > Components: APIs > Affects Versions: 1.2 RC1 > Reporter: Steve Brandi > Assigned To: Sergiu Dumitriu > Priority: Minor > Fix For: 1.4 M1 > > > 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). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications