Nope.

--- On Fri, 12/12/08, Milan Milanovic <milanmilanov...@yahoo.com> wrote:

> From: Milan Milanovic <milanmilanov...@yahoo.com>
> Subject: Re: [S2] Struts + JasperReports (iReport) - setting connection
> To: user@struts.apache.org
> Date: Friday, December 12, 2008, 1:41 PM
> Dear Dave,
> 
> have you maybe managed to find time to see how we can
> define datasource in
> JasperReports for this kind of integration between Struts 2
> and Jasper ?
> 
> --
> Thx, M.
> 
> 
> Milan Milanovic wrote:
> > 
> > Dear Dave,
> > 
> > it would be great if you can, because I'm just not
> sure what to set up in
> > Jasper for datasource in this case, because it have
> more than 10 possible
> > data sources to set. Is it JavaBeans set data source
> where I need to set
> > Factory class and static method to call to retrieve
> array of the
> > collection of javaBeans or it is maybe Custom
> JRDataSource where I need to
> > set up also Factory class and that static method. 
> > 
> > In JasperReportsResult, you are calling this:
> > JasperFillManager.fillReport(jasperReport, parameters,
> stackDataSource);
> > 
> > where stackDataSource is JRDataSource. So you need
> somehow to set this
> > datasource in report.
> > 
> > --
> > Thx, M.
> > 
> > 
> > newton.dave wrote:
> >> 
> >> --- On Thu, 12/11/08, Milan Milanovic wrote:
> >>> O.K. Thank you. When Jasper report is designed
> I need to
> >>> set datasource for it and for every type of
> data source 
> >>> I need to fill those elements (data source
> class, method 
> >>> which return data source elements, etc.).
> There is no
> >>> such things explained in Struts 2
> JasperReports Tutorial.
> >> 
> >> I don't recall having to do anything
> particularly weird in iReport, but I
> >> may have time to check later. I didn't have to
> do anything about a method
> >> that returned data source elements, though.
> >> 
> >> Dave
> >> 
> >> 
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> user-unsubscr...@struts.apache.org
> >> For additional commands, e-mail:
> user-h...@struts.apache.org
> >> 
> >> 
> >> 
> > 
> > 
> 
> -- 
> View this message in context:
> http://www.nabble.com/-S2--Struts-%2B-JasperReports-%28iReport%29---setting-connection-tp20937308p20981232.html
> Sent from the Struts - User mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail:
> user-h...@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to