Problem rendering output of [#list] elements

52 views
Skip to first unread message

Javi Becerra

unread,
Oct 25, 2011, 12:54:23 PM10/25/11
to jodrepor...@googlegroups.com
Hi!

I have just discovered jodreports, and I am trying to get it working for
a first test.


Using the attached sample files, I run jodreports from the command line
to render the file order.odt, and the results do not match what I would
expect, mainly regarding the output of [#list] directives. It works fine
when called from within a script object, but when I call it from an
Input Field it gets rendered only when some variables are evaluated
prior to the call to the [#list directive.

I have never worked with FreeMarker or jodreports before, I believe that
I am not making any obvious mistake, but please check the attached files
to see if I am doing something wrong.

The command I use to create the order.odt document:
java -jar jodreports-cli-2.4.0-jar-with-dependencies.jar order-test.odt
order-data.xml order.odt

I am running Ubuntu 10.10, using LibreOffice Writer 3.3.2.2 and
jodreports-cli-2.4.0-jar-with-dependencies.jar

Best regards,
Javier

order.odt
order-data.xml
order-test.odt
Reply all
Reply to author
Forward
0 new messages