[Webwork-devel] Fwd: [OS-webwork] Jasper Reports
Brought to you by:
baldree,
rickardoberg
From: Peter K. <pe...@mo...> - 2002-07-18 07:59:13
|
This is a forwarded message From: Peter Kelley <pe...@mo...> To: ope...@li... Date: Thursday, July 18, 2002, 3:33:28 PM Subject: [OS-webwork] Jasper Reports Just realised that not everyone will be on the new list yet. ===8<==============Original message text=============== I have just committed some updates to the Jasper Reports support. Since this is my very first commit I would appreciate any feedback. In this update: - Subreport support to support nested iterators along with updated examples. Note that the way that I have implemented subreports is to have the ValueStackDataSource return another ValueStackDataSource if the field you specify via expression language turns out to be iterable (List, array, Enumeration etc). If you actually want the value of one of these objects in your report you will have to create another property that returns the toString of the property. Barring changes to Jasper Reports itself (like adding a new method on JRDataSource) this was the cleanest way to do this even though it was a kludge. Still to do: - Add support for compiling the reports in the build - Add support for passing the webwork parameters to Jasper Try this out and let me know if you like it. -- regards, Peter Kelley MoveIt Pty Ltd You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away. - Antoine-Marie-Roger de Saint-Exupery ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ===8<===========End of original message text=========== -- regards, Peter Kelley MoveIt Pty Ltd mailto:pe...@mo... +61-2-9986-3510 Transport of the mails, transport of the human voice, transport of flickering pictures - in this century, as in others, our highest accomplishments still have the single aim of bringing men together. - Antoine-Marie-Roger de Saint-Exupery |