[jasperreports-questions] JasperViewer from a modal dialog wizard. How?

2006-04-24 Thread Damian C
Hi,
We've started using JasperReports a few days ago and have been very
pleased at the product and our progress. However, I am currently
struggling to provide a Print Preview of the report before the user
confirms and actually prints.

Currently I'm building a report Request for Quotiation. The user
gathers some information in a Wizard, and has options such as Preview
and Print before it finishes.

The problem is that the Wizard is a modal dialog, so when we start
the Report Viewer (a JFrame) - it does become visible, but we can't
control it because all focus remains on the wizard.  When we close
the Wizard we can use the viewer to inspect the new document - however
that is not very useful.  I've considered creating HTML and displaying
that in a browser, but I would prefer the native viewer to provide a
more accurate representation of a printout.

Are there any other options for providing a print preview from a
modal dialog??
I thought about stealing the JPanel from the ReportViewer, and
displaying that in a dialog - but that seems too extreme.
Any suggestions are appreciated.

Many thanks,
-Damian


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Novice - Help. (nearly) My first Jasper Report !!!

2006-04-19 Thread Damian C
Hello,
I'm constructing my first Jasper Report, and all is going quite well
except I don't quite understand something.

I have used iReports and successfully parsed and compiled our design.
I have created a JRDataSource object that is ready to supply the data.
I've got a map full of parameters ready to go.
Now I want to use something like
JasperPrint jp = JasperFillManager.fillReport(jasperReport,
parameters, dataSource);

The point I don't understand is how do I get the jasperReport

After compilation withiReports I have various files such as
BasicRFQ.jasper and various versions of 
BasicRFQ_11453453453_234234.java.  Do I put one of these in a
folder, and pick it up as a File and pass it as the jasperReport??? 
If possible, I want to place the jasperReport in a specific run time
directory with other data files, and NOT inside the application's
jar.

It does not quite sound right.  I'm sure I'm missing something simple.
I've been scratching around all the samples but I have not discovered
anything.
I would appreciate any guidance.

Thanks,
-Damian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions