|
From: <jue...@we...> - 2004-11-19 15:31:10
|
Thanks for moving the JasperReports support over to the main sources, = Rob! I'm currently about to revise it a bit, for example regarding = exception handling on initialization (implementing afterPropertiesSet = instead of overriding initApplicationContext, to allow for throwing any = exception and avoid the need to use unchecked wrapper exceptions). =20 There's one further thing I'd like to improve: JRDataSource lookup. It = would be good if controller code would not have to add a = JasperReports-specific class to the model. Instead, we could pass in a = bean collection or bean array, to be implicitly wrapped with a = JRBeanCollectionDataSource or a JRBeanArrayDataSource, respectively. =20 It looks to me that the JasperReports parameter map does not support = collections or arrays anyway, so we could in principle auto-detect a = collection or array in the model and wrap it accordingly as = JRDataSource. Else, we could define a specific model name for the = JRDataSource (as bean property on the view): if specified, the given = model object will be used (wrapped if necessary), rather than searching = the model map for matching values. =20 I've also updated JasperReports to the recently released 0.6.2. I'll = commit my current state tonight or tomorrow morning. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Rob Harrop Gesendet: Mi 17.11.2004 10:34 An: spr...@li... Betreff: [Springframework-developer] JasperReports Support in 1.1.3 If everyone is in agreement I would like to move the JasperReports stuff into the main branch ready for 1.1.3. I spent some time yesterday polishing the JavaDocs for this module which I plan to finish off over the next few days, plus I'll add a couple of pages of documentation for this as well. Rob ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |