[xwiki-devs] Include Child in PDF
Hi all, I chenged in the file menuview.vm the row: #submenuitem($doc.getURL("export", "format=pdf&$docvariant") $msg.get(" core.menu.export.pdf")) in #submenuitem($doc.getURL("export", "format=pdf&includechilds=1&$docvariant") $msg.get("core.menu.export.pdf ")) to include childs pages into PDF export but when I try to execute export in PDF I get this exception com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: org.apache.fop.fo.ValidationException: null:118:234: Property id "HInventory" previously used; id values must be unique in document. at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java :194) at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java :134) at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java :202) at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:225) at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:198) It seems the validator has problems parsing the link in the text created joining the parent with childs pages. Thanks raffo
participants (1)
-
Raffaele Viola