integrating the
XRP-102 patch should solve this as well
I did a first exploration of this patch, since this issue is related to the pluggable output formats per report.
Some general observations:
- please [in the future] make diffs always in the root of the source tree, not in a higher or lower directory level, this makes the patch easier and safer to apply
- in the changed files, it is very hard to follow what is actually changed because of source layout changes (not just spaces-to-tabs changes)
I will attach an updated patch which at least makes the changes in sitemap.xmap and layout.xsl readable (and also fixed some obvious errors, like a double "fins-serialize" resource and some other things which were introduced by accident).
Some more observations:
* layout.xsl uses a non-exising formatLinks template
* since this requires fins, the initial setup work for xReporter will become [even] more involved (because of the need to install the fins block in the Cocoon source tree)
Notes on getting fins compiled:
- the batik jar in Cocoon 2.1.10 is 1.6, and is located in lib/optional
- since our local.blocks.properties excludes everything by default, need to add an include.block.fins=true
- in gump.xml, needed to add dir="src/blocks/fins"
Also missing are docs on how to use this, I've queried the relevant person in private.
The xreporter-cocoon directory (version 1.2.1) extended with the charts-patch
The charts patch has now been integrated.
The charts things themselves have been left pretty much untouched, except for a few changes:
* renamed f:dataselectie to f:dataselection
* renamed f:transparancy to f:transparency
* i18n now works by embedding <i18n:text> tags instead of using the 'format:' prefix
* the sitemap.xmap references the chart XSLs 'hardcoded', i.e. not via the skin.
The index file stuff has also been integrated, though this part has changed a bit more, I'll describe that later when resolving
XRP-75.
Some basic documentation on the charts can be found here
http://cocoondev.org/xreporter/docs/presentation/514-cd.html