On Feb 8, 5:04 pm, FlexRails [email protected] wrote:
You can find a description of setting up the interface between rails
andJasperReportshere :http://wiki.rubyonrails.org/rails/pages/HowtoIntegrateJasperReports
I actually updated the description after setting it up succesfully on
my own development machine. In the end it proved to be not all that
difficult.
I’ve got ROR to create an XML file. I’ve pasted it to notepad…treid
to read it with ROR - no good !
I’ve been trying to use iReports -with various XML files and have had
varying degrees of success.
The most frustrating thing is that the [read fields] button will not
read in the fields data from the xml file for every XML file I create.
The field panel will not open on the right.
The respone to the read fields button varys from ignoring it, message
saying found nodes: 6, seaching for… etc, but no reading of
fields.
I’m using ver. 2.0.4 of iReport.
Using XPATH2 in all cases, it seems to me that iReports is
erratic…
I started with an attempt to generate an XML file from Ruby as
suggested in ;-http://wiki.rubyonrails.org/rails/pages/
HowtoIntegrateJasperReports
I pasted the XML text into Notepad and saved , encoding as UTC-8.
No good … iReports would not read fields…
Is there a line by line tutorial on reading in XML files into
iReports ?
I did find one on the iReport site and copied a suggested XML file -
Lo and Behold it worked !
However I cannot see any difference between it and the XML file I
created.
How can it be that XML files that appear to be formatted identically,
can respond so differently…
At this stage I’m totally puzzled…
( At times like this I remember the advise in the world according to
GARP — “…keep passing the open windows…”)
Is http://wiki.rubyonrails.org/rails/pages/HowtoIntegrateJasperReports
still valid for iReports ver 2.0.4 …
Grasping at straws…
I eventually want to access a database from a Ruby on Rails
Application and output to PDF…
iReports is brilliant , when i can get it to read the data…
By the way, does everybody have the issue with Javaw.exe taking ages
to interface with Windows XP whenever an OPEN/BROWSE/SAVE is used ??
Denis