Rafael Roque
2009-Nov-10 12:57 UTC
Master/detail report with Rails and Ireport/JasperReports
Hi all, has anyone made it already? -- Posted via http://www.ruby-forum.com/.
InventoryTrackers
2009-Nov-10 21:10 UTC
Re: Master/detail report with Rails and Ireport/JasperReports
Rafael, I and some other sad people I''ve met tried to make this a reality and wasted many weeks working through the gauntlet of half truths. It is totally a bogus lie that this can be done. David On Nov 10, 4:57 am, Rafael Roque <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi all, > has anyone made it already? > -- > Posted viahttp://www.ruby-forum.com/.
Rafael Roque
2009-Nov-11 12:57 UTC
Re: Master/detail report with Rails and Ireport/JasperReports
David,thanks for your answer. My situation is the following:I have a table with various 1-n relationships,and I need to show all of this in a single report,is there some way to do this? I''ve created a Java class(executed through my Jruby app) that successfully generates the "parent" report,but I´m not figuring it out how to show its "childrens". Regards, Rafael Roque -- Posted via http://www.ruby-forum.com/.
InventoryTrackers
2009-Nov-11 14:43 UTC
Re: Master/detail report with Rails and Ireport/JasperReports
Rafael, Sure. I use Ruport which is really cool and you''ll find many examples of this if you Google. I''d very much like to share information on JRuby if you''d contact me. David On Nov 11, 4:57 am, Rafael Roque <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> David,thanks for your answer. > My situation is the following:I have a table with various 1-n > relationships,and I need to show all of this in a single report,is there > some way to do this? > > I''ve created a Java class(executed through my Jruby app) that > successfully generates the "parent" report,but I´m not figuring it out > how to show its "childrens". > > Regards, > Rafael Roque > > -- > Posted viahttp://www.ruby-forum.com/.
Rafael Roque
2009-Nov-11 19:08 UTC
Re: Master/detail report with Rails and Ireport/JasperReports
Hi Davi, how could I contact you? -- Posted via http://www.ruby-forum.com/.
Mark Menard
2009-Nov-12 11:18 UTC
Re: Master/detail report with Rails and Ireport/JasperReports
On Nov 11, 7:57 am, Rafael Roque <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> David,thanks for your answer. > My situation is the following:I have a table with various 1-n > relationships,and I need to show all of this in a single report,is there > some way to do this? > > I''ve created a Java class(executed through my Jruby app) that > successfully generates the "parent" report,but I´m not figuring it out > how to show its "childrens".This really sounds like a JasperReports question and not really anything with Rails. To do a parent/child report in JR you need to have a sub-report for the children that the render process will populate with your collection of children. If you''re using iReport to build your report it''s pretty straight forward. Mark
Rafael Roque
2009-Nov-12 16:28 UTC
Re: Master/detail report with Rails and Ireport/JasperReports
Mark Menard wrote:> On Nov 11, 7:57�am, Rafael Roque <rails-mailing-l...-ARtvInVfO7m5VldFQK4jKA@public.gmane.orgt> > wrote: >> David,thanks for your answer. >> My situation is the following:I have a table with various 1-n >> relationships,and I need to show all of this in a single report,is there >> some way to do this? >> >> I''ve created a Java class(executed through my Jruby app) that >> successfully generates the "parent" report,but I�m not figuring it out >> how to show its "childrens". > > This really sounds like a JasperReports question and not really > anything with Rails. To do a parent/child report in JR you need to > have a sub-report for the children that the render process will > populate with your collection of children. If you''re using iReport to > build your report it''s pretty straight forward. > > MarkIt is cumbersome to render a subreport from Rails.So I just wondered if someone has already come up with another solution -- Posted via http://www.ruby-forum.com/.