This is a trivial question - I'm sorry to be asking it, but I can't seem to find an answer anywhere. It is probably more of a core container question, but it will be of most use to JasperReports users such as myself.
I have a bean called "report" as defined below
It is a pretty standard JR MultiView report bean, and as you can see I am trying to disable alignment using images.
<prop key="html">inline; filename=report.html</prop>
<prop key="csv">inline; filename=report.csv</prop>
<prop key="pdf">inline; filename=report.pdf</prop>
<prop key="xls">inline; filename=report.xls</prop>
<prop key="xml">inline; filename=report.xml</prop>
<prop key="ser">inline; filename=report.ser</prop>
Everything works well, except for the "false" in the exporterParameters map. When a JR HTML rendering bean is created, Spring tries to set the IS_USING_IMAGES_TO_ALIGN to "false" and I get a ClassCastException for java.lang.String.
Ok, so I am defining false incorrectly in the map. I tried Boolean.FALSE and got the same result, so I seem to be missing something fundamental about using <map> in a bean definition. I had a poke around and couldn't find an example of using a boolean in a map in a bean definition.
My trivial question is: How do I define false here? That is, how do I make it explicit to Spring that I mean boolean false and not "false"? Or if I am waaaay off track, please let me know.
Thanks for your help,