We have a bunch of crystal reports and we would like to use those on our ruby on rails app. I was wondering if it was possible? Is there a plugin of some sort or crystal report viewer for ruby? I would appreciate any feedback. Dave -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I also need to work on the similar requirement. Any solution? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I am also exploring on the same requirement. Java supports generating reports with crystal reports. For ROR applications, I hope JRUBY will give a solution for this(for accessing the jave libraries). But I am yet to try it out. Please check JRuby and let us know whether it can be useful. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> Please check JRuby and let us know whether it can be useful.hi even i have the same requirement.. Already my application is developed in Rails its almost completed now. If i bring Jruby for this part now how to integrate this jruby part with ror part? Thanks, -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Crystal reports can be configured to read XML input and format it accordingly. Hence, you can use a rails handler to output your report data in XML format and that should allow crystal reports to read from it. example of your XML_REPORT.RHTML : <data> <% for item in @data %> <item> <id><%= item.id %></id> <name><%= h(item.name) %></name> <desc><%= h(item.desc) %></desc> </item> <% end %> </data> Regard, http://teapoci.blogspot.com Reinhart -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, you can also do the following in the controller action to return the XML of the data result set: @data = DataModel.find(:all) @data.to_xml Good luck, -Conrad Sent from my iPhone On May 19, 2008, at 12:02 AM, Rails Terrorist <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org > wrote:> > Crystal reports can be configured to read XML input and format it > accordingly. Hence, you can use a rails handler to output your report > data in XML format and that should allow crystal reports to read from > it. > > > example of your XML_REPORT.RHTML : > > <data> > <% for item in @data %> > <item> > <id><%= item.id %></id> > <name><%= h(item.name) %></name> > <desc><%= h(item.desc) %></desc> > </item> > <% end %> > </data> > > > Regard, > http://teapoci.blogspot.com > Reinhart > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
KathysKode-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-May-20 15:01 UTC
Re: Crystal report with ruby on rails
Reinhart, I''m starting a new family of Inventory related web applications and am sitting at the bottom of a high mountain hoping to hear a rumbling from the ''Report Gods'' and hope this might be it? I''ve studied the Ruport strategy and fear it''s a DEAD END as it clearly hasn''t caught on and I expect it''ll someday lose the attention of its progenators. Anyway, is the Crystal Reports strategy something like this: The server creates the output in an XML format and downloads it to the client machine. The client user ''fires up'' his Crystal Reports'' desktop application and loads a report format and then directs this formatted report to the local XML data source? I expect you laugh at my questions but as you can see, I''m at the "is it an animal, mineral or vegetable" stage of this journey. Thank you, Kathleen On May 19, 1:02 am, Rails Terrorist <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Crystal reports can be configured to read XML input and format it > accordingly. Hence, you can use a rails handler to output your report > data in XML format and that should allow crystal reports to read from > it. > > example of your XML_REPORT.RHTML : > > <data> > <% for item in @data %> > <item> > <id><%= item.id %></id> > <name><%= h(item.name) %></name> > <desc><%= h(item.desc) %></desc> > </item> > <% end %> > </data> > > Regard,http://teapoci.blogspot.com > Reinhart > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, I have implemented the Crystal Reports and ROR integration for my application. Please visit my blog http://kkarthik.wordpress.com/ for the steps and see whether that info is helpful. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---