[jasperreports-questions] Indic Scripts support in Jasper Reports PDF Export

2009-05-05 Thread RKVS Raman
Hi,

We are happy to release a version of Jasper Reports enabled for
Complex Scripts Support in PDF export. This include languages under
Indic Scripts like Hindi, Tamil, Bengali, Gujarati, Kannada and
others. It also includes support for scripts like Sinhalese and Thai.

It is based using OpenOffice as a PDF generating agent and API and
does not use iText.

Please download it from http://202.141.136.157/bharateeyaoo/jasper.shtml

Have a great day.

Best Regards
-Raman

---
RKVS Raman
BOSS Resource
http://www.bosslinux.in
http://rkvsraman.blogspot.com


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Bar chart ranges help

2009-04-29 Thread socko777

Hi there,

I am trying to create a percentage-based bar chart. The values should have a
minimum of 0 and a maximum of 100. My data however, does not have a value
which equals 100, so Jasper automatically scales the chart to the maximum
value of my data. The result is, for a category with a value of 1%, the bar
value for that category appears to be 100%, because it is the largest value
in the whole dataset. How do I specify the ranges so that my data is always
measured against the maximum 100%? I noticed that there was a parameter
called Range axis min value expression and Range axis max value
expression for the bar chart, but every time I tried to set them to 0 and
100 respectively, it failed to compile. Any help will be greatly
appreciated.


-- 
View this message in context: 
http://www.nabble.com/Bar-chart-ranges-help-tp23209510p23209510.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Problem with chart created from beanCollection data source

2009-04-29 Thread chr15athome

Hi

I have a report that includes a 3D bar chart which worked fine with SQL data
source. Now I have changed it to use a list of Beans. The chart display with
the correct bar heights but the x and y labels are missing. I have tried
turning all fields into variables and changing the evaluate At properties
and shortening the names, none of which seem to make a difference. 

The bar heights correspond to the Variable PERCENTAGE so I know the values
are being populated it just the fields used for the category names don't
show and the scale with the numbers on. The only thing I can see that may be
causing this problem is that I group the data in the report and I also have
some print when expressions. Can anyone help, I am about to throw the towel
in on this one, this project is well overdue and I have been stuck at this
point for the last 3 days.

I will try and upload the files in a new post.

Thanks

Chris

http://www.nabble.com/file/p23173901/ProcessingResultsTemplate.jrxml
ProcessingResultsTemplate.jrxml 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-chart-created-from-beanCollection-data-source-tp23173901p23173901.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] jasperforge site down

2009-04-21 Thread Maarten

The jasperforge site (jasperforge.org) gives a 403 forbidden and a
maintenance message.
Is anybody working on it?
Does anybody know when it will be fixed?
A colleague just approached me to ask if it is OK to use it. I said yes, but
the reference site being down does not help selling JasperReports here.
-- 
View this message in context: 
http://www.nabble.com/jasperforge-site-down-tp23132306p23132306.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] jasperforge site down

2009-04-21 Thread Teodor Danciu

Hello,

There was work in progress for about 7 to 8 hours during April 20, when 
a migration to an upgraded system was made.
An announcement should have been present on the main page, but not sure 
why the forbidden message got in front.

In any case, the work is over and everything should be in place now.
Hopefully, next time we'll do a better job at announcing such work and 
minimize impact.

I'm sorry for any inconvenience.

Thanks,
Teodor

Maarten wrote:
 The jasperforge site (jasperforge.org) gives a 403 forbidden and a
 maintenance message.
 Is anybody working on it?
 Does anybody know when it will be fixed?
 A colleague just approached me to ask if it is OK to use it. I said yes, but
 the reference site being down does not help selling JasperReports here.
   


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Fit Page or the Fit Width buttons in jasper viewer does not function properly

2009-04-18 Thread crazybugs

After generating a report, change the settings in the JasperViewer window by
selecting the Fit Page or the Fit Widthbuttons at the top. Select the
Printer Icon in the JasperViewer and print. 
The report does not fit to page while getting printed. 

If this is resolved in any of the jasper versions can you provide me the
version number? 
-- 
View this message in context: 
http://www.nabble.com/%22Fit-Page%22-or-the-%22Fit-Width%22-buttons-in-jasper-viewer-does-not-function-properly-tp23080067p23080067.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Printing of reports from jasper viewer shows missing fields

2009-04-18 Thread crazybugs

I tried to print the jasper report from the print option in jasper viewer.The
size of the jasper viewer was larger than A4 size. When I printed in
portrait form in A4 size paper,some of the data went missing.I tried to
print in landscape view.But it was not possible from the Jasper viewer.Is
there any way by which I can reduce the view size to A4 and print it? 
-- 
View this message in context: 
http://www.nabble.com/Printing-of-reports-from-jasper-viewer-shows-missing-fields-tp23065715p23065715.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Scriptlet problem in iReport

2009-04-18 Thread PlexPro

Hi Adriano,

If you haven't yet found your answer, see 
http://www.nabble.com/Re:-scriptlet-compilation-error-p1772793.html
http://www.nabble.com/Re:-scriptlet-compilation-error-p1772793.html .

René



asfernandes wrote:
 
 Hi!
 
 I created a simple scriptlet class, set it on the report and put it in 
 iReport (v3.0.0) classpath.
 
 When I compile or execute the report, it shows a problem but the report 
 executes (and correctly run the scriptlet).
 
 The problem is:
 - Description: java.lang.ClassNotFoundException: my scriptlet class name
 - Object: /jasperReport
 
 When I execute the report in my application, it also executes without
 error.
 
 What may be the problem?
 
 Thanks,
 
 
 Adriano
 
 
 ___
 jasperreports-questions mailing list
 jasperreports-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
 
 

-- 
View this message in context: 
http://www.nabble.com/Scriptlet-problem-in-iReport-tp19397827p23047219.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Text File Generation

2009-04-18 Thread sridhar4jasper

Hi friends,

I am generating text file using jasper reports 1.3.3 version.I am able to
generate text file but I am getting spaces(new empty lines) in between in
the detail band that too randomly( at random locations).Here is the code I
used to generate the text file:

JRTextExporter textExporter = new JRTextExporter();
textExporter.setParameter(
JRExporterParameter.JASPER_PRINT,print1);
textExporter.setParameter(
JRExporterParameter.OUTPUT_FILE_NAME,dirPath.trim()+Generate.txt);

textExporter.setParameter(
JRTextExporterParameter.PAGE_WIDTH,new Integer(113));
textExporter.setParameter(JRTextExporterParameter.PAGE_HEIGHT, new
Integer(113));
textExporter.exportReport();

I used the same jrxml to generate pdf file.There are no spaces(no new empty
lines) in between the detail band.

Is there anything property which I have to set in the jrxml or java code to
generate the text file to remove the unwanted new lines in the detail band?

Please help me.Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/Text-File-Generation-tp23020447p23020447.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Problem in Displaying Colors and formatting in Excel report

2009-04-12 Thread sureshmidde

Hi , 
I have a problem in displaying the excel report from the jasper code, as it
was not matching with the one that is developed using ireport tool. The
resultant report is now of formatting, data is truncated and is without
colors.

I have attached my excel report template developed using ireport 
http://www.nabble.com/file/p22946828/PreopeningDocsReport20090407122734.xls
PreopeningDocsReport20090407122734.xls 

And here is my jrxml file , 
http://www.nabble.com/file/p22946828/report1.jrxml report1.jrxml 

And i m using java code as 


String sourceFile = E:\\finalreport\\report1.jrxml;

System.out.println(sourceFile:+sourceFile);
JasperDesign jasperDesign = JRXmlLoader.load( 
preopeningDocsJrxmlLocation
);

// --- Compile the master jrxml file
JasperReport report = 
JasperCompileManager.compileReport( jasperDesign );

// --- Fill the report passing the datasource/jdbc 
connection
JasperPrint jasperPrint = JasperFillManager.fillReport( 
report,
parameters, conn );


OutputStream outputStream = response.getOutputStream();


JExcelApiExporter exporter = null;
exporter = new JExcelApiExporter();

exporter.setParameter(JRXlsExporterParameter.JASPER_PRINT, jasperPrint);

exporter.setParameter(JRXlsExporterParameter.IS_DETECT_CELL_TYPE,
Boolean.TRUE);

exporter.setParameter(JRXlsExporterParameter.IS_WHITE_PAGE_BACKGROUND,
Boolean.FALSE);

exporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS,
Boolean.FALSE);

exporter.setParameter(JRXlsExporterParameter.OUTPUT_STREAM,
outputStream);
response.setContentType(application/vnd.ms-excel);
response.setHeader(Content-Disposition, inline;
filename=\file.xls\);
exporter.exportReport();


Can any one help me in this regard

regards
Suresh Midde
-- 
View this message in context: 
http://www.nabble.com/Problem-in-Displaying-Colors-and-formatting-in-Excel-report-tp22946828p22946828.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Unable to export jasper report in excel format

2009-04-12 Thread Usman Sarfraz

Aspose is going to introduce “Aspose.Cells for JasperReports” in near future
to convert reports from JasperReports in Excel format. Currently, Aspose
enables JasperReports developers to export their reports in PowerPoint (PPT,
PPS) and Word document (DOC, DOCX, HTML and TXT) formats.

I hope this reference URL will help
http://www.aspose.com/categories/jasperreports-exporters/default.aspx



mfarooq wrote:
 
 Hi,
 
 I am using using jasper reports to generate my application reports but
 when I try to export my report in excel format but when excel file
 downloaded it contain rough data.
 
 Below is my java source to export jasper report in excel format. Please
 help.
 
  
  byte[] pdf_ = null;
   Connection connection_ = DatabaseHandler.getConnection();
 
   String jrxml_ = /reports/jrxml/detailedxls.jrxml;
 
   jrxml_ = this.getClass().getResource(jrxml_).getFile(); 
   
 
   JasperDesign jasperDesign_ = JRXmlLoader.load(jrxml_);  
 
 
   JasperReport jasperReport_ =
 JasperCompileManager.compileReport(jasperDesign_); 
 
   ByteArrayOutputStream outputStream_ = new ByteArrayOutputStream();
 
   if (null != paramMap)
{
 JasperFillManager.fillReportToStream(jasperReport_,
 outputStream_,paramMap, connection_);  
 
}
 
else
{
 
 JasperFillManager.fillReportToStream(jasperReport_, outputStream_,new
 HashMap(), connection_);  
 
}
 
JasperPrint jasperPrint_ = null;
 
jasperPrint_ = JasperFillManager.fillReport(jasperReport_,paramMap,
 connection_);
 
   JRXlsExporter exporterXLS = new JRXlsExporter();
 
  
 exporterXLS.setParameter(JRXlsExporterParameter.JASPER_PRINT,jasperPrint_);
 
  
 exporterXLS.setParameter(JRXlsExporterParameter.OUTPUT_STREAM,outputStream_);
 
   exporterXLS.exportReport();
 
   pdf_ = outputStream_.toByteArray();
 
  
 
   httpServletResponse.setContentType (application/vnd.ms-excel);
 
   httpServletResponse.addHeader(Content-disposition,attachment;
 filename= + reportName_.toString() + .xls); 
 
  httpServletResponse.getOutputStream().write(pdf_);  
 
 
 Thanks in advance.
 
 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-export-jasper-report-in-excel-format-tp14804459p22955701.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Export a report to .doc format

2009-04-05 Thread Zimagor

Hi,

We have just released Aspose.Words for JasperReports, a product that should
satisfy your needs. Please check it out:

http://www.aspose.com/categories/jasperreports-exporters/aspose.words-for-jasperreports/default.aspx

Thanks.


Dieter D'haeyere wrote:
 
 You can make use of the JRRtfExporter class (
 http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/export/JRRtfExporter.html
 ).
 Dieter D'haeyere.
 
 
 
 
 Manuel Umana-2 wrote:
 
 Hi,
 
 I want to export a report to doc or rtf format. I'm searching in
 Internet but I only founded how to export to pdf and html.
 
 Could you give me a suggestion about this?
 
 Thank you.
 
 
 -- 
 Manuel Umaña Aguilar
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 jasperreports-questions mailing list
 jasperreports-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Export-a-report-to-.doc-format-tp13794531p22876434.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Problem in displaying Japanese font in PDF report

2009-04-03 Thread Kotresh Chikkabidari
Hello,
 
Please give me any solution to display Japanese string in jasper report.
 Thanks in advance.
 
Kotresh.Chikkabidari 
Jr.Software Engineer 
  http://www.datafarminc.com/ 
Phone:  +91-80 -41236315 | Fax:  +91-80 -41137342   


This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. 

No employee or agent is authorized to conclude any binding agreement on
behalf of Datafarm with another party by e-mail without express written
confirmation by a duly authorized employee of Datafarm. 


 
Datafarm-small.jpg--
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Help with crosstabs and filtering data

2009-03-29 Thread jasper_user

Hi,
I am new to Jasper reports. I am using a java bean datasource for my report.
I have to use crosstabs and the information to be added in the crosstabs has
to be filtered by certain criteria. I am using an older version of Jasper
1.2.1. Can someone pls help me.

Thank You

-- 
View this message in context: 
http://www.nabble.com/Help-with-crosstabs-and-filtering-data-tp22693781p22693781.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Another question regarding page break, need help!

2009-03-24 Thread psentosa

Hi all,

I have a master report containing subreport area in detail band.
Now, I'd like to make it that a subreport is printed in a new page, ONLY
WHEN it doesn't fit in the current page, but otherwise it should be printed
in the same page as the previous subreport content.
i.e a subreport could be only a small table containing one line, but could
also be a large table with more than one lines.
So, a page could contain more small tables; but as soon as a large table
should be displayed but this doesn't fit in the page anymore, it should be
displayed on the next page
Any idea how to do this?Thanks in advance for help

Regards

-- 
View this message in context: 
http://www.nabble.com/Another-question-regarding-page-break%2C-need-help%21-tp22685306p22685306.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Custom xml Creation ??

2009-03-02 Thread jasper_newbie

Hi,

Did you try the option of using XML DataSource via IReport ?
I think you would need to use XML DataSource.
Need to use XPath to identify your dataset ie XPath expression for the nodes
selection.
The XPath specifics are available at the web page
http://www.w3.org/TR/xpath.

/newbie


Loganathan wrote:
 
 Hi Subrata,
  I am also facing the same problem, please share with me if you have the
 solution.
 
 Regards,
 Loganathan
 
 
 Subrata1208 wrote:
 
 How can i make my output xml(Custom xml) generated by Jasper Report like
 this. e.g
 
 customer
 fnSubrata/fn
 lnSaha/ln
 /customer
 
 While Jasper Report create with JasperPrint tag and lot of un neessary
 stuff which my application can't understand. 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Custom-xml-Creation-tp20536638p22150326.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Defining one style for different fields, how should the constraint look like?

2009-02-26 Thread psentosa

Hi all,

I just started using JR for an application, and I'd like to define one style
for different fields, that contains constraints.
As far as I know, I have to write down the field name as part of the
constraint; 
e.g new Boolean($F{h4p1}.equals(I))  -- than use background colour green

but that means, if I'd like to use the same style for all fields, I have to
create style for each field, with constraints that vary basically only in
the name of field using as constraint, and I have a lot of this fields
Is it possible to use kind of wildcards in the constraint?

Many thanks in advance for any help


-- 
View this message in context: 
http://www.nabble.com/Defining-one-style-for-different-fields%2C-how-should-the-constraint-look-like--tp6378p6378.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] HEP: I don't see the image!!

2009-02-11 Thread Esaú Castillo Contreras
Hi!!

I generated a file jrxml using the iReport 3.0.0 and when I try to print the
report in a servlet the html doesn't show the images of a 3D Chart,

This is the code in my servlet

 JasperReport jasperReport =
JasperCompileManager.compileReport(jrxmlPath);
 JasperPrint jasperPrint =
JasperFillManager.fillReport(jasperReport, parameters, getConnection());
 JRHtmlExporter exporter = new JRHtmlExporter();

request.getSession().setAttribute(ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE,
jasperPrint);
 exporter.setParameter(JRExporterParameter.JASPER_PRINT,
jasperPrint);
 exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out);

exporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR,Boolean.FALSE);
 exporter.exportReport();


My project uses the library 3.1.3

Thanks

Esau
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] HEP: I don't see the image!!

2009-02-11 Thread murat migdisoglu
I'm sending you a part of my code:

my web.xml contains:
 servlet
servlet-nameImageServlet/servlet-name
servlet-class
net.sf.jasperreports.j2ee.servlets.ImageServlet
/servlet-class
/servlet
servlet-mapping
servlet-nameImageServlet/servlet-name
url-pattern/reportImage/url-pattern
/servlet-mapping
---
and my code is as following:
JasperReport jasperReport = getCompiledReport(reportPath);
JasperPrint jPrint =
JasperFillManager.fillReport(jasperReport, getGraphParameters(), ds);
request.getSession()

.setAttribute(ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE, jPrint);
ByteArrayOutputStream out = new
ByteArrayOutputStream();
String imgExtension =
String.valueOf(randomImageExtensionGenerator.nextInt());
exporter = new JRHtmlExporter();

exporter.setParameter(JRExporterParameter.JASPER_PRINT, jPrint);

exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, out);

exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI,
request.getContextPath()
+ /reportImage?rnd= + imgExtension
+ image=);
exporter.exportReport();

i add random parameters to the end of the image path in order to renew the
browser cache for every request.
I hope this helps.

Regards


On Wed, Feb 11, 2009 at 3:59 PM, Esaú Castillo Contreras 
esaucastil...@gmail.com wrote:

 Hi!!

 I generated a file jrxml using the iReport 3.0.0 and when I try to print
 the report in a servlet the html doesn't show the images of a 3D Chart,

 This is the code in my servlet

  JasperReport jasperReport =
 JasperCompileManager.compileReport(jrxmlPath);
  JasperPrint jasperPrint =
 JasperFillManager.fillReport(jasperReport, parameters, getConnection());
  JRHtmlExporter exporter = new JRHtmlExporter();

 request.getSession().setAttribute(ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE,
 jasperPrint);
  exporter.setParameter(JRExporterParameter.JASPER_PRINT,
 jasperPrint);
  exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out);

 exporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR,Boolean.FALSE);
  exporter.exportReport();


 My project uses the library 3.1.3

 Thanks

 Esau



 --
 Create and Deploy Rich Internet Apps outside the browser with
 Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code
 to
 build responsive, highly engaging applications that combine the power of
 local
 resources and data with the reach of the web. Download the Adobe AIR SDK
 and
 Ajax docs to start building applications today-
 http://p.sf.net/sfu/adobe-com
 ___
 jasperreports-questions mailing list
 jasperreports-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Blank Pages

2009-01-31 Thread Zack Manning
Hey All,

First time posting to the JR mailing list.  I was wondering how I can 
get rid of blank pages when a detail field has to stretch with 
overflow.  I have 'Split Allowed' unchecked and I have 'Print when 
detail overflows' checked for all my detail fields.  This isnt a no data 
situation its just when there is a long comment that is being displayed.

Thanks,
Zack

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] html and A4

2009-01-30 Thread bashan

Hi all, 

I seems like the HTML output that Jasper produces doesn't exactly fits on A4
page.
I checked it with the demo supplied in: demo/samples/table. I enlarged the
number of rows on the report to span over several pages, then produced HTML
report. When printing the result using both FireFox and Explorer after few
pages the data was not synced with page.

Is there any way of correcting this? Is it printer calibration issue?

Thanks,
Guy.
-- 
View this message in context: 
http://www.nabble.com/html-and-A4-tp21702777p21702777.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] export jasper generated report in PPT format

2009-01-30 Thread dhrubajyoti . sengupta
Kindly help me with solutions/utilities that facilitates exporting a  
jasper generated report to the PPT format.

The solution needs to support the Master Slide feature of Power Point  
presentations, in which one should be able to specify a pre-defined  
template, specifying the Title Area, Test Area, Footer and a specified  
color scheme.

I have checked out Aspose for the same, but am unable to make out  
whether it supports the export as mentioned above. Please let me know  
if this is possible using Aspose and how ?



Thanks in advance for the same.





Thanks and Regds

Dhruv



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] How to change the grid line color of a chart?

2009-01-15 Thread murat migdisoglu
Hi,

I've just changed my library from version 2.0.5 to 3.1.3 and all the grid
lines of my charts have been disappeared. Actually they are still there but
i guess the default color of the grid lines has been set to white. Thus, as
the bg color of my charts is also white, they became invisible.
In the previous version, the default color was black.

I've googled a lot about this but i didn't find a way to change the gridline
color via the jrxml file.

The only way that i've found is to do it by setDomainGridLinePaint method of
the Plot.

Regards
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Custom xml Creation ??

2009-01-05 Thread Loganathan

Hi Subrata,
 I am also facing the same problem, please share with me if you have the
solution.

Regards,
Loganathan


Subrata1208 wrote:
 
 How can i make my output xml(Custom xml) generated by Jasper Report like
 this. e.g
 
 customer
 fnSubrata/fn
 lnSaha/ln
 /customer
 
 While Jasper Report create with JasperPrint tag and lot of un neessary
 stuff which my application can't understand. 
 

-- 
View this message in context: 
http://www.nabble.com/Custom-xml-Creation-tp20536638p21285813.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] business xml as output

2009-01-05 Thread Loganathan

I am also facing the same problem,
Please share with me if you have found the solution

Thanks



deep_05 wrote:
 
 I am new to jasper reports, i am able to generate pdf's , html's i want to
 generate my business xml in a desired format eg:
 employee
 fnamewill/fname
 lnamesmith/lname
 /employee
 
 but i get some custom tags when i generate an xml output like
 jasperPrint name=employeereport pageWidth=595 pageHeight=842
   page
   text lineSpacingFactor=1.3578125 leadingOffset=-3.1972656
 
 can i avoid all this
 
 please advice me on this
 
 thanks in advance
 

-- 
View this message in context: 
http://www.nabble.com/business-xml-as-output-tp19026098p21249835.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] filter value of REPORT_DATA_SOURCE on subreport

2009-01-05 Thread Dhilshad Begum Ghouse
Hi,

Select the option use Data Source expression, then type the file name where 
you have placed your method for subreport.

For Eg., In my scenario I have used this method with the following 
parameter,Please give the fully qualified name.

com.dnb.or.reportDataAsDatasource.retriveVulnerabilityDetatils($P{periodId})

I hope this information will be helpful to you.

Thanks,
Dhilshad G

-Original Message-
From: Hari Plaikoil [mailto:hari.plaik...@gmail.com]
Sent: Tuesday, December 30, 2008 7:47 AM
To: jasperreports-questions@lists.sourceforge.net
Subject: [jasperreports-questions] filter value of REPORT_DATA_SOURCE on 
subreport


Dear all,

Would you like to help me to solve my problem.

I make master-detail report. Both of them use different datasources. I
supply their datasource by JRDataSource. On the subreport tab I choose
$P{REPORT_DATA_SOURCE} for Connection/Data Source Expression.

On the Subreport parameters the values are:

Parameter : productId

Expression: $F{productId}



I want to display product's detail on subreport based on master-report's
productId. Since the datasources I create via code, I don't have any idea
how to filter the subreport's datasource based on master-report's
datasource(productId).



Would you like to help me?



Thank you.



Hari Plaikoil.
--
View this message in context: 
http://www.nabble.com/filter-value-of-REPORT_DATA_SOURCE-on-subreport-tp21212287p21212287.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

NOTE: We have migrated to a new email server and all email addresses have 
changed. While emails sent to the old address will be forwarded till the 31st 
December 2008, we request you to note the new email address, update your 
address book and use this new email address for all future communications.


This email and any attachment(s) transmitted may contain confidential, 
proprietary or legally privileged information relating to DB TransUnion 
Analytic and Decision Services Private Limited. The information is intended 
solely for the recipient. No part of this information may be disclosed, copied, 
reproduced, distributed or made available in any form whatsoever without prior 
authorization. If you have received this email in error please notify the 
sender electronically and delete all copies immediately. This email may contain 
viruses. DB TransUnion Analytic and Decision Services Private Limited has 
taken every reasonable precaution to minimize this risk, but is not liable for 
any damage you may sustain as a result of any virus in this email. We strongly 
advise you to ensure that the email and any attachment(s) are free of any virus.

--
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Two datasources (JRDataSource) on single report

2009-01-05 Thread Hari Plaikoil

Dear all, 

Happy new year to all of you guys :-D

I want to know, is it possible to provide two datasources by JRDataSource
for single report? The report doesn't contain subreport, just single report.

If it's possible, how to solve the problem?

Thanks in advance for your help guys...

rgds

Hari Plaikoil
-- 
View this message in context: 
http://www.nabble.com/Two-datasources-%28JRDataSource%29-on-single-report-tp21303793p21303793.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] how to remove the group header in html format but not in pdf format

2008-12-17 Thread anjay

declare a parameter exportType not EXPORT_TYPE if u are using the
openreports admin application.



helena21 wrote:
 
 Thanks for ur help.
 
 i tried using the printwhenexpression.. without error but $P{EXPORT_TYPE}
 is not built in parameter and it should be set somewhere before the
 template is compiled. and there is no way that i can set this parameter
 according to the user's input(pdf or html). and i tried to see whether
 JRExporterParameter or JRHtmlExporterParameter  classes help me..but i
 can't get any method that helps me to hide the group header
 
 thanks,
 
 Helen 
 
 
 anjay wrote:
 
 
 got the problem. U where using character constant as the .equals()
 argument not a String .  ie 'ht' . Use the string ht instead. 
 
 
 
 
 anjay wrote:
 
 
 Can u please put this instead of ur expression,
new Boolean($P{EXPORT_TYPE}.equals(ht))
 also can u please print the EXPORT_TYPE parameter in a textfield to
 ensure that it is the right export type code ur using inside the
 expression.
 
 regards,
 anjay
 
 
 Thanks for your response. Can u elaborate more your answer pls? you know
 when i tried like
 this..printWhenExpression$P{EXPORT_TYPE}.equals('ht') ? Boolean.FALSE
 : Boolean.TRUE/printWhenExpression
 
 it raises an error message Invalid character constant  i tried ht with
 html,hr... but i can't get the correct constant and i can't get
 documentation too.
 
  Thanks for ur help
 
 Helen
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/how-to-remove-the-group-header-in-html-format-but-not-in-pdf-format-tp21015167p21050574.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] how to remove the group header in html format but not in pdf format

2008-12-17 Thread helena21

as long as it is not built in parameter i think the naming doesn't make any
difference?

thanks,

H


anjay wrote:
 
 declare a parameter exportType not EXPORT_TYPE if u are using the
 openreports admin application.
 
 
 
 helena21 wrote:
 
 Thanks for ur help.
 
 i tried using the printwhenexpression.. without error but $P{EXPORT_TYPE}
 is not built in parameter and it should be set somewhere before the
 template is compiled. and there is no way that i can set this parameter
 according to the user's input(pdf or html). and i tried to see whether
 JRExporterParameter or JRHtmlExporterParameter  classes help me..but i
 can't get any method that helps me to hide the group header
 
 thanks,
 
 Helen 
 
 
 anjay wrote:
 
 
 got the problem. U where using character constant as the .equals()
 argument not a String .  ie 'ht' . Use the string ht instead. 
 
 
 
 
 anjay wrote:
 
 
 Can u please put this instead of ur expression,
new Boolean($P{EXPORT_TYPE}.equals(ht))
 also can u please print the EXPORT_TYPE parameter in a textfield to
 ensure that it is the right export type code ur using inside the
 expression.
 
 regards,
 anjay
 
 
 Thanks for your response. Can u elaborate more your answer pls? you
 know when i tried like
 this..printWhenExpression$P{EXPORT_TYPE}.equals('ht') ? Boolean.FALSE
 : Boolean.TRUE/printWhenExpression
 
 it raises an error message Invalid character constant  i tried ht
 with html,hr... but i can't get the correct constant and i can't get
 documentation too.
 
  Thanks for ur help
 
 Helen
 
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/how-to-remove-the-group-header-in-html-format-but-not-in-pdf-format-tp21015167p21051660.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] jasperreports-questions Digest, Vol 29, Issue 2

2008-12-17 Thread Anoop Nagathinkal


it's a built in parameter. other wise how can u expect that u get the values 
set in that parameter before the report runs ???



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] how to remove the group header in html format but not in pdf format

2008-12-17 Thread helena21

Thanks for ur help.

i tried using the printwhenexpression.. without error but $P{EXPORT_TYPE} is
not built in parameter and it should be set somewhere before the template is
compiled. and there is no way that i can set this parameter according to the
user's input(pdf or html). and i tried to see whether JRExporterParameter or
JRHtmlExporterParameter  classes help me..but i can't get any method that
helps me to hide the group header

thanks,

Helen 


anjay wrote:
 
 
 got the problem. U where using character constant as the .equals()
 argument not a String .  ie 'ht' . Use the string ht instead. 
 
 
 
 
 anjay wrote:
 
 
 Can u please put this instead of ur expression,
new Boolean($P{EXPORT_TYPE}.equals(ht))
 also can u please print the EXPORT_TYPE parameter in a textfield to
 ensure that it is the right export type code ur using inside the
 expression.
 
 regards,
 anjay
 
 
 Thanks for your response. Can u elaborate more your answer pls? you know
 when i tried like this..printWhenExpression$P{EXPORT_TYPE}.equals('ht')
 ? Boolean.FALSE : Boolean.TRUE/printWhenExpression
 
 it raises an error message Invalid character constant  i tried ht with
 html,hr... but i can't get the correct constant and i can't get
 documentation too.
 
  Thanks for ur help
 
 Helen
 
 
 

-- 
View this message in context: 
http://www.nabble.com/how-to-remove-the-group-header-in-html-format-but-not-in-pdf-format-tp21015167p21050179.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] how to remove the group header in html format but not in pdf format

2008-12-16 Thread anjay

hello helena,

   Please use the printwhenexpression feature witht hr exporttype parameter
to get the desired result. What is preventing you from using this ?

anjay




helena21 wrote:
 
 Dear Members,
 
 I have faced a problem where i want to display  the group headers on each
 page in the pdf format of my report
 
  and i want to hide the headers on each page but only want to show on the
 first page.
 
 Can this be possible on jasper report?
 
 i don't think it is possible but my boss don't want to believe or accept
 this thing is impossible?
 
 please give me your idea.
 
 thanks a lot
 
 Helen
 
 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
 Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 jasperreports-questions mailing list
 jasperreports-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
 
 

-- 
View this message in context: 
http://www.nabble.com/how-to-remove-the-group-header-in-html-format-but-not-in-pdf-format-tp21015167p21032701.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] how to remove the group header in html format but not in pdf format

2008-12-16 Thread anjay


got the problem. U where using character constant as the .equals() argument
not a String .  ie 'ht' . Use the string ht instead. 




anjay wrote:
 
 
 Can u please put this instead of ur expression,
new Boolean($P{EXPORT_TYPE}.equals(ht))
 also can u please print the EXPORT_TYPE parameter in a textfield to ensure
 that it is the right export type code ur using inside the expression.
 
 regards,
 anjay
 
 
 Thanks for your response. Can u elaborate more your answer pls? you know
 when i tried like this..printWhenExpression$P{EXPORT_TYPE}.equals('ht')
 ? Boolean.FALSE : Boolean.TRUE/printWhenExpression
 
 it raises an error message Invalid character constant  i tried ht with
 html,hr... but i can't get the correct constant and i can't get
 documentation too.
 
  Thanks for ur help
 
 Helen
 

-- 
View this message in context: 
http://www.nabble.com/how-to-remove-the-group-header-in-html-format-but-not-in-pdf-format-tp21015167p21047217.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Showing Different kind of reports using few jrxml or with out any jrxml

2008-11-10 Thread Subrata1208

Hi, 
 I may have more 100 different kind of reports but i dont want to write 100
jrxml. I can use 100 different 
 query to form 100 different data source and fill it and then i can generate
is 100 different type of html report . But my problem is in jrxml file we
have maintain dynamic field name=  class=java.lang.Integer/
to view the reports. 

Is there any api to set the field name from the java program while compiling
or filling or generating pdf file ??

Thanks,
Subrata
-- 
View this message in context: 
http://www.nabble.com/Showing-Different-kind-of-reports-using-few-jrxml-or-with-out-any-jrxml-tp20361044p20361044.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Help required jasper report on netbeans 6.1

2008-11-10 Thread kalakalwa

Hello,
I am a newbie to Java. I'm trying to generate reports with jasper in
netbeans 6.1. 
My code given below, runs well in Java desktop application but in jsp it
does not give any error
and simply render the html but no report shows up (not even empty) nor any
error message. 
I know i'm missing a very simple and stupid step but does not know what. 
Can somebody help me with Java code and explain why does it work in java
desktop application but not in JSP? 
Thanks in advance.

try{

Map m=new HashMap();
m.put(proName, General);//Parameters to be sent to 
report
m.put(spID, 37);  //Parameter to be sent to report
String reportSource = /report/report1.jrxml;  //report folder
is in WebPages folder
String reportDest = /report/report1.html;
JasperReport jasperReport =
JasperCompileManager.compileReport(reportSource);
Class.forName(com.mysql.jdbc.Driver);
Connection con
=DriverManager.getConnection(jdbc:mysql://localhost:3306/lisdb, root,
samsung);
JasperPrint jasperPrint =
JasperFillManager.fillReport(jasperReport, m, con);
JasperExportManager.exportReportToHtmlFile(jasperPrint,
reportDest);
JasperViewer.viewReport(jasperPrint);
}
catch (JRException e){
e.printStackTrace();
}
catch (ClassNotFoundException ex){
ex.printStackTrace();
}
// Exception handling for the DriverManager.getConnection method.
catch (SQLException ex){
ex.printStackTrace();
}

-- 
View this message in context: 
http://www.nabble.com/Help-required-jasper-report-on-netbeans-6.1-tp20395265p20395265.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Re place field value with message string

2008-11-03 Thread helena21

i have one column that from the table that i don't want to show its value 
directly on the jasper report detail part. instead i want to replace the
column value with its equivalent in the message property file. but i cann't
do it. i have been 5 hours that i cann't solve this thing out.
  pls pls help me
-- 
View this message in context: 
http://www.nabble.com/Replace-field-value-with-message-string-tp20266292p20266292.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Re place field value with message string

2008-11-03 Thread helena21

To make it clear,
i have for example, a column with values XX_XX, YY_YY, GG_TTY and many more
and in the message property file i have
report.XX_XX =xx 
report.YY_YY=yy
etc...

so in the report i want to display for example xx  when the the field value
= XX_XX.  so i want to write in the report template something like
$R{report. + $F{XX_XX}} but this produces so many runtime errors 

please give me your ideas.

Thanks.

Helen


helena21 wrote:
 
 i have one column that from the table that i don't want to show its value 
 directly on the jasper report detail part. instead i want to replace the
 column value with its equivalent in the message property file. but i
 cann't do it. i have been 5 hours that i cann't solve this thing out.
   pls pls help me
 

-- 
View this message in context: 
http://www.nabble.com/Replace-field-value-with-message-string-tp20266292p20302187.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Run jasper reports on automated schedule

2008-10-08 Thread mrbelvedr

We are running Jasper Reports (it is integrated into another product named
Hyperic HQ Server). We have created 30 Jasper reports and we run them via
the web interface.

We need to somehow automate these reports so they run on a scheduled basis
with several report arguments (datestarted, dateend, etc).

We are not sure if we need to upgrade to a higher level of Jasper Reports.
Or maybe there is a backend way to run the reports automatically form linux
command line.

Can somebody please tell us how to do this? We will pay to have this work
done. 
-- 
View this message in context: 
http://www.nabble.com/Run-jasper-reports-on-automated-schedule-tp19872097p19872097.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] ireport produces error message

2008-10-08 Thread bayo


hi there

im new in jasper-reports. I try to use the engine together with ireport but
i have some problems with it:

i can compile a sample-report without problems useing ant compile. but if
i open it with ireport do some very little changes ant resave it, its no
possible to compile it anymore. java raises the following error-stack:

  [jrc] Compiling 1 report design files.
  [jrc] File :
/home/bayo/jasper/jasperreports-3.0.1/demo/samples/shapes/ShapesReport.jrxml
... FAILED.
  [jrc] Error compiling report design :
/home/bayo/jasper/jasperreports-3.0.1/demo/samples/shapes/ShapesReport.jrxml
  [jrc] net.sf.jasperreports.engine.JRException: No report compiler set
for language : null
  [jrc] at
net.sf.jasperreports.engine.JasperCompileManager.getCompiler(JasperCompileManager.java:508)
  [jrc] at
net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:219)
  [jrc] at
net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135)
  [jrc] at
net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:117)
  [jrc] at
net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:413)
  [jrc] at
net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:259)
  [jrc] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
  [jrc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
  [jrc] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  [jrc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [jrc] at java.lang.reflect.Method.invoke(Method.java:597)
  [jrc] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
  [jrc] at org.apache.tools.ant.Task.perform(Task.java:348)
  [jrc] at org.apache.tools.ant.Target.execute(Target.java:357)
  [jrc] at org.apache.tools.ant.Target.performTasks(Target.java:385)
  [jrc] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
  [jrc] at
org.apache.tools.ant.Project.executeTarget(Project.java:1298)
  [jrc] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [jrc] at
org.apache.tools.ant.Project.executeTargets(Project.java:1181)
  [jrc] at org.apache.tools.ant.Main.runBuild(Main.java:698)
  [jrc] at org.apache.tools.ant.Main.startAnt(Main.java:199)
  [jrc] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
  [jrc] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

The problem are a few lines. Before my changes it locks like this:

!DOCTYPE jasperReport PUBLIC -//JasperReports//DTD Report Design//EN
http://jasperreports.sourceforge.net/dtds/jasperreport.dtd;

jasperReport name=ShapesReport pageWidth=595 pageHeight=842
whenNoDataType=AllSectionsNoDetail columnWidth=555 leftMargin=20
rightMargin=20 topMargin=30 bottomMargin=30

there three lines will be replaces through this one:

jasperReport xmlns=http://jasperreports.sourceforge.net/jasperreports;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://jasperreports.sourceforge.net/jasperreports
http://jasperreports.sourceforge.net/xsd/jasperreport.xsd;
name=ShapesReport pageWidth=595 pageHeight=842
whenNoDataType=AllSectionsNoDetail columnWidth=555 leftMargin=20
rightMargin=20 topMargin=30 bottomMargin=30

Then its not possible to compile the report anymore. i know, its a very
basic question bit i cant find a solution for it. I have the same problem if
i create a totally new report, same error stack.

Does someone have some experiences with these withing.

Thanx for you efforts! greetings, dominic


-- 
View this message in context: 
http://www.nabble.com/ireport-produces-error-message-tp19853220p19853220.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Alternate table rendering

2008-10-08 Thread Bobby Quinne

Hi there,

I have looked through the jasperreports forums but cannot find anything
similar to this. I have see some post about dynamically generating the
report based on the dataset, but I am a little pressured for time to try
something like that.

I need to generate csv, but instead of having the headings in their own
column the business want them listed underneath each other. IE:
   2008-01-012008-01-02
  Payin Total:   111.33 81.00
Payout Total:  1000.00 2500.00
   Fees: 40.00 11.23


There date column are not limited to a specific range. I am not sure how to
accomplish this without a hack. Any input greatly appreciated.
-- 
View this message in context: 
http://www.nabble.com/Alternate-table-rendering-tp19858383p19858383.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Error:getOutputStream() has already been called for this response in Jasper Reports

2008-10-08 Thread UITOT

Hello Everyone,
I have integrated Jasper Reports with Struts 1.2.9.I
have written the below code in my action class.At runtime I am getting this
error.

ApplicationDispatcher[/TGMC_DB1-2009] PWC1231: Servlet.service() for servlet
jsp threw exception
java.lang.IllegalStateException: PWC3991: getOutputStream() has already been
called for this response
at
org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:700)
at
org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:210)
at
javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:135)
at
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:171)
at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:164)
at
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:221)
at
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:157)
at
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:108)
at org.apache.jsp.LeftMenu_jsp._jspService(LeftMenu_jsp.java from
:152)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)


This is my code in action class


package com.myapp.struts;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import java.io.InputStream;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.*;
import net.sf.jasperreports.engine.JasperRunManager;
import net.sf.jasperreports.engine.JRResultSetDataSource;
import java.util.HashMap;
import java.sql.ResultSet;
import net.sf.jasperreports.engine.JRException;
import java.io.PrintWriter;
import java.io.StringWriter;

public class ViewReportAction extends Action {

public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {

String target = new String(success);

try {
  ServletOutputStream servletOutputStream =
  response.getOutputStream();
 ResultSet rs = null;
 String report_type = (String)
request.getParameter(report_type);
 InputStream reportStream =
getServlet().getServletConfig().getServletContext().getResourceAsStream(F:\\project\\tgmc
next year ibm\\04-oct-2008\\dynamicjasper\\src\\java\\test\\report1.jrxml);

rs = Reports.View_Ementor_list(getDataSource(request));

JRResultSetDataSource resultSetDataSource = new
JRResultSetDataSource(rs);
//THIS LINE IS GENERATING ERROR
JasperRunManager.runReportToPdfStream(reportStream,
servletOutputStream, new HashMap(), resultSetDataSource);
response.setContentType(application/pdf);

servletOutputStream.flush();

servletOutputStream.close();

}
 catch (JRException e) {
StringWriter stringWriter = new StringWriter();
PrintWriter printWriter = new PrintWriter(stringWriter);
e.printStackTrace(printWriter);
response.setContentType(text/plain);
response.getOutputStream().print(stringWriter.toString());
}
catch (Exception ex) {
System.out.println(ex.getMessage());

}
return mapping.getInputForward();
}
}

















-- 
View this message in context: 
http://www.nabble.com/Error%3AgetOutputStream%28%29-has-already-been-called-for-this-response-in-Jasper-Reports-tp19863814p19863814.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Run jasper reports on automated schedule

2008-10-08 Thread BalaKishore Pamarti
You pull the data using a stored procedure and get the List of data with Beans 
and feed that into the JasperReports engine and have it create a report file 
(say pdf) with a datatime stamp in some folder.
 
Now you can set this java program as a simple scheduled job in linux to run at 
specified intervals.
 
Hope this helps!



Peace is found not in what surrounds us, but in what we hold within.

--- On Wed, 10/8/08, mrbelvedr [EMAIL PROTECTED] wrote:

From: mrbelvedr [EMAIL PROTECTED]
Subject: [jasperreports-questions] Run jasper reports on automated schedule
To: jasperreports-questions@lists.sourceforge.net
Date: Wednesday, October 8, 2008, 12:26 AM

We are running Jasper Reports (it is integrated into another product named
Hyperic HQ Server). We have created 30 Jasper reports and we run them via
the web interface.

We need to somehow automate these reports so they run on a scheduled basis
with several report arguments (datestarted, dateend, etc).

We are not sure if we need to upgrade to a higher level of Jasper Reports.
Or maybe there is a backend way to run the reports automatically form linux
command line.

Can somebody please tell us how to do this? We will pay to have this work
done. 
-- 
View this message in context:
http://www.nabble.com/Run-jasper-reports-on-automated-schedule-tp19872097p19872097.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Run jasper reports on automatedschedule

2008-10-08 Thread Penningroth, Mark
You could use jasperserver

 



From: BalaKishore Pamarti [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 08, 2008 10:14 AM
To: mrbelvedr
Cc: jasperreports-questions@lists.sourceforge.net
Subject: Re: [jasperreports-questions] Run jasper reports on
automatedschedule

 

You pull the data using a stored procedure and get the List of data with
Beans and feed that into the JasperReports engine and have it create a
report file (say pdf) with a datatime stamp in some folder.

 

Now you can set this java program as a simple scheduled job in linux to
run at specified intervals.

 

Hope this helps!

Peace is found not in what surrounds us, but in what we hold within.



--- On Wed, 10/8/08, mrbelvedr [EMAIL PROTECTED] wrote:

From: mrbelvedr [EMAIL PROTECTED]
Subject: [jasperreports-questions] Run jasper reports on automated
schedule
To: jasperreports-questions@lists.sourceforge.net
Date: Wednesday, October 8, 2008, 12:26 AM

We are running Jasper Reports (it is integrated into another product
named
Hyperic HQ Server). We have created 30 Jasper reports and we run them
via
the web interface.
 
We need to somehow automate these reports so they run on a scheduled
basis
with several report arguments (datestarted, dateend, etc).
 
We are not sure if we need to upgrade to a higher level of Jasper
Reports.
Or maybe there is a backend way to run the reports automatically form
linux
command line.
 
Can somebody please tell us how to do this? We will pay to have this
work
done. 
-- 
View this message in context:
http://www.nabble.com/Run-jasper-reports-on-automated-schedule-tp1987209
7p19872097.html
Sent from the jasperreports-questions mailing list archive at
Nabble.com.
 
 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] sub reports auto compile

2008-10-04 Thread BalaKishore Pamarti
Regarding the subreports what I do is compile them individually and standalone 
reports and place the .jasper files along with the main report .jasper file and 
pass the parameter SUBREPORT_DIR to the main report
 
In the subreportExpression tag you use this.
 
Hope this helps.
 
thanks,
Pamarti



Peace is found not in what surrounds us, but in what we hold within.

--- On Fri, 9/26/08, Philippe Couas [EMAIL PROTECTED] wrote:

From: Philippe Couas [EMAIL PROTECTED]
Subject: Re: [jasperreports-questions] sub reports auto compile
To: jasperreports-questions@lists.sourceforge.net
Date: Friday, September 26, 2008, 10:23 AM



Hi,
If my CustomersReport.jrxml contains two sub reports they are compiled too ?
 
Regards
Philippe



De : BalaKishore Pamarti [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 26 septembre 2008 16:16
À : jasperreports-questions@lists.sourceforge.net; Philippe Couas
Objet : Re: [jasperreports-questions] sub reports auto compile







Just try --
 
JasperCompileManager.compileReportToFile(request.getSession().getServletContext().getRealPath(/jasperreports/
 + fileName + .jrxml)); 
 
 
Pamarti




Peace is found not in what surrounds us, but in what we hold within.

--- On Fri, 9/26/08, Philippe Couas [EMAIL PROTECTED] wrote:

From: Philippe Couas [EMAIL PROTECTED]
Subject: [jasperreports-questions] sub reports auto compile
To: jasperreports-questions@lists.sourceforge.net
Date: Friday, September 26, 2008, 12:57 AM




Hi,
 
I have an main report with many sub reports.
Into my directory i have jrxml file , How could i found sub report name and 
directory from main report ?
I have tried following code, but that's not allawys true.
 

String fileName=c:\\prj_java\\TestAgarder\\jasperxml01\\CustomersReport.jrxml;
 JasperCompileManager.compileReportToFile(fileName); 
 JasperReport  jasperReport = 
JasperCompileManager.compileReport(fileName); 
 
 JRBand jb = jasperReport.getDetail();
  // jb children Expression
  java.util.List jl=jb.getChildren();
 JRBaseSubreport  jsr=(JRBaseSubreport)jl.get(3);
 JRExpression jre=jsr.getExpression();
 JRExpressionChunk[] jch=jre.getChunks();
 String fichierjasper=jch[0].getText();
 
 
Regards
Philippe-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] sub reports auto compile

2008-09-26 Thread BalaKishore Pamarti
Just try --
 
JasperCompileManager.compileReportToFile(request.getSession().getServletContext().getRealPath(/jasperreports/
 + fileName + .jrxml)); 
 
 
Pamarti




Peace is found not in what surrounds us, but in what we hold within.

--- On Fri, 9/26/08, Philippe Couas [EMAIL PROTECTED] wrote:

From: Philippe Couas [EMAIL PROTECTED]
Subject: [jasperreports-questions] sub reports auto compile
To: jasperreports-questions@lists.sourceforge.net
Date: Friday, September 26, 2008, 12:57 AM




Hi,
 
I have an main report with many sub reports.
Into my directory i have jrxml file , How could i found sub report name and 
directory from main report ?
I have tried following code, but that's not allawys true.
 

String fileName=c:\\prj_java\\TestAgarder\\jasperxml01\\CustomersReport.jrxml;
 JasperCompileManager.compileReportToFile(fileName); 
 JasperReport  jasperReport = 
JasperCompileManager.compileReport(fileName); 
 
 JRBand jb = jasperReport.getDetail();
  // jb children Expression
  java.util.List jl=jb.getChildren();
 JRBaseSubreport  jsr=(JRBaseSubreport)jl.get(3);
 JRExpression jre=jsr.getExpression();
 JRExpressionChunk[] jch=jre.getChunks();
 String fichierjasper=jch[0].getText();
 
 
Regards
Philippe-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] sub reports auto compile

2008-09-26 Thread Philippe Couas
Hi,
If my CustomersReport.jrxml contains two sub reports they are compiled too ?
 
Regards
Philippe

  _  

De : BalaKishore Pamarti [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 26 septembre 2008 16:16
À : jasperreports-questions@lists.sourceforge.net; Philippe Couas
Objet : Re: [jasperreports-questions] sub reports auto compile



Just try --
 
JasperCompileManager.compileReportToFile(request.getSession().getServletCont
ext().getRealPath(/jasperreports/ + fileName + .jrxml)); 
 
 
Pamarti



Peace is found not in what surrounds us, but in what we hold within.


--- On Fri, 9/26/08, Philippe Couas [EMAIL PROTECTED] wrote:


From: Philippe Couas [EMAIL PROTECTED]
Subject: [jasperreports-questions] sub reports auto compile
To: jasperreports-questions@lists.sourceforge.net
Date: Friday, September 26, 2008, 12:57 AM


Hi,
 
I have an main report with many sub reports.
Into my directory i have jrxml file , How could i found sub report name and
directory from main report ?
I have tried following code, but that's not allawys true.
 

String
fileName=c:\\prj_java\\TestAgarder\\jasperxml01\\CustomersReport.jrxml;
 JasperCompileManager.compileReportToFile(fileName); 
 JasperReport  jasperReport =
JasperCompileManager.compileReport(fileName); 
 
 JRBand jb = jasperReport.getDetail();
  // jb children Expression
  java.util.List jl=jb.getChildren();
 JRBaseSubreport  jsr=(JRBaseSubreport)jl.get(3);
 JRExpression jre=jsr.getExpression();
 JRExpressionChunk[] jch=jre.getChunks();
 String fichierjasper=jch[0].getText();
 
 
Regards
Philippe
-

This SF.Net email is sponsored by the Moblin Your Move Developer's

challenge

Build the coolest Linux based applications with Moblin SDK  win great

prizes

Grand prize is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100url=/
___

jasperreports-questions mailing list

jasperreports-questions@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Fw: problem with printWhenExpression

2008-09-25 Thread BalaKishore Pamarti
Thanks Sitaram...it works like a charm!
 
I just found that we can also get this accomplished using conditionalStyles...
 
thanks,
BalaKishore

 

Peace is found not in what surrounds us, but in what we hold within.

--- On Wed, 9/24/08, Sitaraman Trikkumadom Balaraman [EMAIL PROTECTED] wrote:

From: Sitaraman Trikkumadom Balaraman [EMAIL PROTECTED]
Subject: RE: [jasperreports-questions] Fw: problem with printWhenExpression
To: Sitaraman Trikkumadom Balaraman [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Wednesday, September 24, 2008, 7:14 PM



I am just rephrasing the last step.


After you are done iwth the two text fields, Place the first text field exactly 
above the second text field.

Let me know if this was of any help

Regards
Sitaram


-Original Message-
From: Sitaraman Trikkumadom Balaraman
Sent: Thu 9/25/2008 4:42 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [jasperreports-questions] Fw: problem with printWhenExpression

Hi Balakishore,

I am not sure whether this would work..Please try the below steps

 Lets say you have the column 3 as the field that needs to be printed as blue 
bold when the condition is true or else printed as normal black font

 a) Create two new TextField that displays the column3 value.

 b) for the first textfield include the necessary expression to display it as 
blue bold (Follow the same step that you had done previously)
 c) For the second textfield, dont include the condition, but make sure it is 
normal black font

 d) place both textfields one after another (Superimpose it in the report)

Try running the report now and see if it works.

If you dont mind could you let me know if it worked for you or not? I am just 
curious

Thanks a lot
Regards
Sitaram





-Original Message-
From: BalaKishore Pamarti [mailto:[EMAIL PROTECTED]
Sent: Thu 9/25/2008 4:10 AM
To: jasperreports-questions@lists.sourceforge.net
Subject: [jasperreports-questions] Fw: problem with printWhenExpression

Hi Group:
 
I have created a report where I want one of the columns (say col3) to be 
printed in a blue bold font when certain condition is satisfied else I want 
them to be printed in normal black font.  
 
I have included the following expression in the printWhenExpression tag in 
the reportElement tag
 
new Boolean(!($F{col1}.equalsIgnoreCase(N/A))  
!($F{col2}.equalsIgnoreCase(N/A)))
 
When I run the report only those values which qualify for the above expression 
are printed and the rest are not printed in the report and left blank
 
Am I missing something here?
 
Regards,
BalaKishore




Peace is found not in what surrounds us, but in what we hold within.

--- On Fri, 9/19/08, jamshaid ashraf [EMAIL PROTECTED] wrote:

From: jamshaid ashraf [EMAIL PROTECTED]
Subject: Re: [jasperreports-questions] avoid extra blank space in reports...
To: [EMAIL PROTECTED]
Date: Friday, September 19, 2008, 8:58 AM






Hi,

Check the remove line when empty option , i think this will work.

cheers.
jimmy

--- On Wed, 17/9/08, BalaKishore Pamarti [EMAIL PROTECTED] wrote:

From: BalaKishore Pamarti [EMAIL PROTECTED]
Subject: [jasperreports-questions] avoid extra blank space in reports...
To: jasperreports-questions@lists.sourceforge.net
Date: Wednesday, 17 September, 2008, 6:50 PM







Hello:
 
I created a jasperreport with a subreport embedded beneath every row in the 
main report. Everything works fine but there is an extra white space beneath 
every row in the main report when there is no data in the subreport.
 
And also in other reports I noticed that there is extra space left unfilled in 
the detail section eventhough there is space to fit in couple of rows of data.
 
I am sure there has to be some setting to eliminate this whitespace ... can 
anyone shed some light on this...
 
Thanks a lot!


Peace is found not in what surrounds us, but in what we hold within.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



Unlimited freedom, unlimited storage. Get it now


 





  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list

Re: [jasperreports-questions] Extra white space when detail section overflows...

2008-09-25 Thread BalaKishore Pamarti
Hi Group:
 
In my report whenever the detail section overflows to the next page there's an 
extra white space left at the bottom (where a couple of rows of data easily 
fits)
 
Does any of you guys know how to eliminate this space.
 
Thanks,
Pamarti



Peace is found not in what surrounds us, but in what we hold within.


  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] sub reports auto compile

2008-09-25 Thread Philippe Couas
Hi,
 
I have an main report with many sub reports.
Into my directory i have jrxml file , How could i found sub report name and
directory from main report ?
I have tried following code, but that's not allawys true.
 

String
fileName=c:\\prj_java\\TestAgarder\\jasperxml01\\CustomersReport.jrxml;
 JasperCompileManager.compileReportToFile(fileName); 
 JasperReport  jasperReport =
JasperCompileManager.compileReport(fileName); 
 
 JRBand jb = jasperReport.getDetail();
  // jb children Expression
  java.util.List jl=jb.getChildren();
 JRBaseSubreport  jsr=(JRBaseSubreport)jl.get(3);
 JRExpression jre=jsr.getExpression();
 JRExpressionChunk[] jch=jre.getChunks();
 String fichierjasper=jch[0].getText();
 
 
Regards
Philippe
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] avoid extra blank space in reports...

2008-09-17 Thread BalaKishore Pamarti
Hello:
 
I created a jasperreport with a subreport embedded beneath every row in the 
main report. Everything works fine but there is an extra white space beneath 
every row in the main report when there is no data in the subreport.
 
And also in other reports I noticed that there is extra space left unfilled in 
the detail section eventhough there is space to fit in couple of rows of data.
 
I am sure there has to be some setting to eliminate this whitespace ... can 
anyone shed some light on this...
 
Thanks a lot!


Peace is found not in what surrounds us, but in what we hold within.


  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Scriptlet problem in iReport

2008-09-09 Thread Adriano dos Santos Fernandes
Hi!

I created a simple scriptlet class, set it on the report and put it in 
iReport (v3.0.0) classpath.

When I compile or execute the report, it shows a problem but the report 
executes (and correctly run the scriptlet).

The problem is:
- Description: java.lang.ClassNotFoundException: my scriptlet class name
- Object: /jasperReport

When I execute the report in my application, it also executes without error.

What may be the problem?

Thanks,


Adriano


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] jasperreports-Error

2008-09-02 Thread Prasad Boddu
Hi All,


I want to print numbers of Excel Sheets with one print job.

Please tell me is it possible if it is possible can you tell me the logic.



Thanks

Prasad Boddu
iGATE is Ranked No. 3 in DQ-IDC best IT employer survey and Ranked No.6 
by Business Today-Mercer Human Resource Consulting-TNS  in a cross industry 
survey of Best Companies to work for in India
DISCLAIMER-
Information transmitted by this EMAIL is proprietary to iGATE Group of 
Companies and is intended for use only by the individual 
or entity to whom it is addressed and may contain information that is 
privileged, confidential, or exempt from disclosure under 
applicable law. If you are not the intended recipient of this EMAIL immediately 
notify the sender at iGATE or [EMAIL PROTECTED] 
and delete this EMAIL including any attachments
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Error initializing graphic environment.

2008-09-02 Thread Abhishek Sharma
hello all,

I getting this error while I am trying to fill a sample application webapp
with jasperReports. I am new to java and JasperReports please any one help
me ?

JasperReports encountered this error :

net.sf.jasperreports.engine.JRException: Error initializing graphic environment.
at 
net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:62)
at net.sf.jasperreports.engine.fill.JRBaseFiller.(JRBaseFiller.java:363)
at 
net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:77)
at 
net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:59)
at 
net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
at 
net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
at 
net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
at 
net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517)
at org.apache.jsp.jsp.fill_jsp._jspService(fill_jsp.java:71)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at sun.awt.FontConfiguration.getVersion(Unknown Source)
at sun.awt.FontConfiguration.readFontConfigFile(Unknown Source)
at sun.awt.FontConfiguration.(Unknown Source)
at sun.awt.windows.WFontConfiguration.(Unknown Source)
at sun.awt.Win32GraphicsEnvironment.createFontConfiguration(Unknown 
Source)
at sun.java2d.SunGraphicsEnvironment$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.SunGraphicsEnvironment.(Unknown Source)
at sun.awt.Win32GraphicsEnvironment.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown 
Source)
at 
net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:58)
... 28 more



-- 
WIth Regards !
Abhishek sharma
[EMAIL PROTECTED]
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Input Date Not working in Jasper reports?

2008-09-02 Thread adhikarisanu

Hi

i am having the same problem.. my reports without parameters are running
well in jasperserver but not the ones with parameters...  what do i need to
do in Jasperserver to make the parameters work...  please help...

Sanu

Sherman Wood wrote:
 
 You are talking about JasperServer, right?
 
 How have you set up the parameters in the JRXML?
 
 The date parameters in JasperServer will come in as java.util.Date
 objects.
 
 
 Sherman
 JasperSoft
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of
 Ashish.Anant
 Sent: Friday, January 04, 2008 7:40 PM
 To: jasperreports-questions@lists.sourceforge.net
 Subject: [jasperreports-questions] Input Date Not working in Jasper
 reports?
 
 
 Hello All,
 
 I'm trying to run the bellow query through Jasper reports. The report ask
 for two input paramters (startDate and endDate), so, I added two control
 with the similar name what I'm using in query (pStartDate and pEndDate) of
 date type. The format I'm using for date is 
 mm-dd-. 
 
 But the problem is, whenever I'm running the same query with some date
 range
 directly on mysql console, I'm getting the result properly. Same query
 with
 same input is also running and giving me correct result through Open
 Reports
 also. But whenever I'm running this query through Jasper Report, I'm
 getting
 NOTHING (Saying ... reports data empty).
 
 
 I think, the format of date or something somehow is going wrong here. Can
 someone pls give me any idea what I'm missing here? I pasted the query
 below
 of this mail.
 
 
 thanks (in adv)
 
 Ashish.
 ([EMAIL PROTECTED])
 ==
 select
   PO.created as 'Date',
   PO.purchase_order_id as 'Transaction ID',
   L.price as 'Transaction Amount',
   concat(PO.status, '-', ifnull(PO.delivery_status,'')) as 'State',
   'paypal' as 'Payment Source',
   UB.userId as 'Buyer User ID',
   UB.userEmail as 'Buyer email',
   PPPVB.email as 'Buyer Paypal ID/Email',
   URB.buyerRating as 'Buyer Rating',
   US.userId as 'Seller User ID',
   US.userEmail as 'Seller email',
   PPPVS.email as 'Seller Paypal ID/Email',
   URS.sellerRating as 'Seller Rating',
   G.gameShortName as Game,
   UAB.userAvatarName as 'Buyer Avatar Name',
   UAS.userAvatarName as 'Seller Avatar Name',
   CI.catalogItemTitle as Item,
   L.price as Amount
 from
   ps_purchase_order PO
   join ps_listing L on (PO.listing_id = L.listing_id)
   join useravatar UAB on (PO.avatar_id = UAB.userAvatarId)
   join ps_purchase_attempt PURCHA on (PURCHA.purchase_order_id =
 PO.purchase_order_id)
   join ps_payment_attempt PAB on (PURCHA.payment_attempt_id =
 PAB.payment_attempt_id)
   join ps_payment_vehicle PVB on (PVB.payment_vehicle_id =
 PAB.payment_vehicle_id)
   join ps_paypal_payment_vehicle PPPVB on (PPPVB.payment_vehicle_id =
 PVB.payment_vehicle_id)
   join user UB on (UAB.userId = UB.userId)
   join useravatar UAS on (L.avatar_id = UAS.userAvatarId)
   join user US on (UAS.userId = US.userId)
   join ps_account ACCTS on (US.userId = ACCTS.user_id)
   join ps_payment_vehicle PVS on (ACCTS.account_id = PVS.account_id)
   join ps_paypal_payment_vehicle PPPVS on (PPPVS.payment_vehicle_id =
 PVS.payment_vehicle_id)
   join catalogitem CI on (L.item_id = CI.catalogItemId)
   join game G on (CI.gameId = G.gameId)
   join userrating URB on (UB.userId = URB.userId)
   join userrating URS on (US.userId = URS.userId)
 where
   PO.status in ('PAID', 'INVOICED')
   and PVS.status = 'ACTIVE'
   and (date_format(PO.created, '%m-%d-%Y') = $P{pStartDate})
   and (date_format(PO.created, '%m-%d-%Y') = $P{pEndDate})
 group by 
 PO.purchase_order_id
 order by 
 PO.created desc;
 
 -- 
 View this message in context:
 http://www.nabble.com/Input-Date-Not-working-in-Jasper-reports--tp14612558p1
 4612558.html
 Sent from the jasperreports-questions mailing list archive at Nabble.com.
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 jasperreports-questions mailing list
 jasperreports-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 jasperreports-questions mailing list
 jasperreports-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
 
 

-- 
View this message in context: 
http://www.nabble.com/Input-Date-Not-working-in-Jasper-reports--tp14612558p18966348.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.



[jasperreports-questions] Looping through child elements in XMLDataSource

2008-09-02 Thread Iwud H8u

Hi All,

I am generating a report from an XML document using JRXmlDataSource. I have
specified the XPath in the field description to render the values on the
report. All this seems to work fine, but when a node has more than one
child, the fields for only the first node are generated. It seems like
JasperReports will not iterate through all the child elements of a node.

Has anyone had any similar experiences or do you have a solution? Below is
an example of the fields I am using.. In this case, I would expect more than
one session_name field to be generated but only the first instance of the
field is generated on the report!

field name=session_name class=java.lang.String
fieldDescription![CDATA[//session/@name]]/fieldDescription
/field
-- 
View this message in context: 
http://www.nabble.com/Looping-through-child-elements-in-XMLDataSource-tp19204230p19204230.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] top margin

2008-08-18 Thread sals

Hi!

net.sf.jasperreports.engine.design.JasperDesign have setters for margins
like setTopMargin(arg0). This is cool if you are loading the report from
XML...

I create net.sf.jasperreports.engine.JasperReport object with
JRLoader.loadObject(inputStream) and the problem is that there is no way to
get JasperDesign from JasperReport object to set margin. Or is it?

Is there any way to set margins to precompiled reports?

SS
-- 
View this message in context: 
http://www.nabble.com/top-margin-tp19039931p19039931.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] JASPER3 DEPLOYMENT ERROR

2008-08-14 Thread Philippe Couas
Hi,

I tried to deploy jasper3 on tomcat 5.5 JDK 1.5 but i have an compil error,
could you help me ?

org.apache.jasper.JasperException: Unable to compile class for JSP: 
JSP FileName:null
Java
FileName:/usr/local/lib/apache-tomcat-5.5.25/work/Catalina/localhost/jasper2
04//org/apache/jsp/jsp/compile_jsp.java


An error occurred at line: 7 in the generated java file
Only a type can be imported. net.sf.jasperreports.engine.util.JRProperties
resolves to a package
JSP FileName:/jsp/compile.jsp
Java
FileName:/usr/local/lib/apache-tomcat-5.5.25/work/Catalina/localhost/jasper2
04//org/apache/jsp/jsp/compile_jsp.java

An error occurred at line: 35 in the jsp file: /jsp/compile.jsp
JasperCompileManager cannot be resolved
32: %@ page
import=net.sf.jasperreports.engine.*,net.sf.jasperreports.engine.util.JRPro
perties %
33: 
34: %
35:
JasperCompileManager.compileReportToFile(application.getRealPath(/reports/W
ebappReport.jrxml));
36: %
37: 
38: html

File /reports/WebappReport.jrxml exist bien into jasper context directory
 
Regards 
Philippe
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Problem while using Page break in JasperReports

2008-06-17 Thread Sheela

We are facing a problem while using Page break in Jasper Reports.

we are having a main report which calls the Subreport and the
subreport is having a table and 5 more sub reports.

we are passing a arraylist to the main report.The arraylist contains
the Vo's for the reord selected from the user.The VO contains values
for the fields in the sub report and other 5 sub repports in the sub
report. The main report will call the sub report for each vo in the
arraylist.

We need each record to be displayed in separate pages in the same PDF.
There are cases that the 5 subReports in the sub report won't be
displayed only the table in the sub report will be displayed.

We need each record to be displayed in separate pages regardless of
whether the sub report contains other 5 sub reports.

We tried to put a page break after each record so that the next record
comes in separate page but we got an exception element type 'break'
must be declared.

Please help us to solve this issue.


Thanks in advance,

Sheela

-- 
View this message in context: 
http://www.nabble.com/Problem-while-using-Page-break-in-JasperReports-tp17864868p17864868.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Hyperlink in jasper

2008-06-17 Thread anapbecker

Hi, could you please send me the code of this servlet/callReport3. I need
to use to drilldown on a chart.

Thanks, 
Ana



Joydip Maity wrote:
 
 
 
 NamrataH wrote:
 
 hi,
 Can anybody please tell me how to link to reports...
 i hv created hyperlink on 1 report and i wnt to take the contents of tht
 page as parameter to other page i m able to do tht but... how to
 retrive tht parameter in sedond report and to change content dynamically
 based on parameter... i m not getting this thing?
 any reply will be helpfull
 
 
 Hi,
 You can call a Jasper iReport from another iReport using hyperlink.
 In the hyperlink section you should set hyperlink type=reference
 and in Hyperlink reference expression call another servlet using the code
 link
 http://localhost:8080/servlets-examples/servlet/callReport3?CUSTOMER_ID=;
 + 
 $F{ORDERS_CUSTOMER_ID}
 here callReport is a servlet calling another iReort and CUSTOMER_ID is a
 parameter that
 is being passed through the servlet.
 For any more details can contact me on [EMAIL PROTECTED]
 
 Thanks,
 Joydip
 
 

-- 
View this message in context: 
http://www.nabble.com/Hyperlink-in-jasper-tp11941986p17823692.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] problems with NULL and BLANK objects

2008-05-12 Thread dr_pompeii

Dear Members

i work with jasperreport and ireport

i have the next situation, the only way to explain this is with pics

the case is that a customer can buy many motorcycles 1 to 4
and 0..N motorcycles parts in the same buy

the sql query is a union of 2 select
like (SELECT)UNION(SELECT)

why in this way?, the reason that the first SELECT is to get all the
motorcycles
to sell (the minimum is 1) and the second SELECT is for the motorcycles
parts
(0 to N, thats the problem)

ok with the theory, pls
see ireport.PNG, thats the ireport editor, 
both circles (color red,green) are located
in the Detail Band, 
the red are for motorcycles and green for motorcycles parts

when i execute the JasperViewer
i get this

page1.PNG,
page2.PNG (practically a white page with the bottom with the data of the all
price to pay of the buy)

maybe you are asking why the behaviour of the page2.PNG
the reason is for the (SELECT)UNION(SELECT)
it gets a lot of NULL results, but i have for all Detail Band objects
the option Blank when null and remove line when blank

i dont have some idea how to resolve this, 
please help, maybe some option in ireport that i unknown is there
i cant change my query because the report is very special

my object is get page like ideal.PNG (edited by hand of course)

thanks so much in advanced
http://www.nabble.com/file/p17162997/good.tar.gz good.tar.gz 
-- 
View this message in context: 
http://www.nabble.com/problems-with-NULL-and-BLANK-objects-tp17162997p17162997.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] filtering html tags from a database field in ireport

2008-04-29 Thread Jamshaid Ashraf
Hi ,



I have a problem in ireport. I have a field in database with html tags 
included. I want to display this filed in the RTF format in formatted form 
without displaying html tags, only want to display text inside tags .Please 
anybody can help me for this problem.

Its very urgent.



Thank you.



jimmy



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Graphical jasper report Design for lables

2008-04-18 Thread Pills



kanagarajaa wrote:
 
 Hi,
 Now , I am working with jasper reports.I have successfully
 completed graphical report with some issues.
 In this graphical report i am not able to show the values(Label) in
 graphical chart and also if i use graphical chart i am not able to get
 dynamic field expression in column header.
 

Try iReport http://www.jasperforge.org/sf/projects/ireport
-- 
View this message in context: 
http://www.nabble.com/Graphical-jasper-report-Design-for-lables-tp16717479p16763589.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] How to merge several pdf?

2008-04-16 Thread Pills


Pills wrote:
 
 Hello guys,
 
 I have a little question. I use jasperreport to generate some pdf files.
 My use case requires to merge some pdf together (append a pdf at the end
 of another) to print them all at one time.
 
 How can I do that?
 
 Thank you ;)
 

Thanks. I found it (with iText):

public static void merge(ListInputStream streamOfPDFFiles,
OutputStream outputStream) throws IOException, DocumentException {
Document document = new Document();
try {
ListInputStream pdfs = streamOfPDFFiles;
ListPdfReader readers = new ArrayListPdfReader();
int totalPages = 0;
IteratorInputStream iteratorPDFs = pdfs.iterator();

while (iteratorPDFs.hasNext()) {
InputStream pdf = iteratorPDFs.next();
PdfReader pdfReader = new PdfReader(pdf);
readers.add(pdfReader);
totalPages += pdfReader.getNumberOfPages();
}

PdfWriter writer = PdfWriter.getInstance(document,
outputStream);

document.open();
PdfContentByte cb = writer.getDirectContent(); // Holds the PDF

PdfImportedPage page;
int currentPageNumber = 0;
int pageOfCurrentReaderPDF = 0;
IteratorPdfReader iteratorPDFReader = readers.iterator();

while (iteratorPDFReader.hasNext()) {
PdfReader pdfReader = iteratorPDFReader.next();

while (pageOfCurrentReaderPDF 
pdfReader.getNumberOfPages()) {
document.newPage();
pageOfCurrentReaderPDF++;
currentPageNumber++;
page = writer.getImportedPage(pdfReader,
pageOfCurrentReaderPDF);
cb.addTemplate(page, 0, 0);

}
pageOfCurrentReaderPDF = 0;
}

outputStream.flush();
} finally {
if (document.isOpen()) {
document.close();
}
closeNoExc(outputStream);
}
}

-- 
View this message in context: 
http://www.nabble.com/How-to-merge-several-pdf--tp16327197p16718359.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Unable to run iReport in Linux

2008-04-14 Thread tan36

I am new in linux environment and begin to work with Jasper reports
I have downloaded iReport and included all the jar file to its lib.   But
when I enter the command sh iReport.sh to run it then the shell gives
the following output:

Exception in thread main java.lang.NoClassDefFoundError:
it/businesslogic/ireport/gui/MainFrame
Caused by: java.lang.ClassNotFoundException:
it.businesslogic.ireport.gui.MainFrame
at java.net.URLClassLoader$1.run(URLClassLoader.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:209)
at java.lang.ClassLoader.loadClass(ClassLoader.java:324)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)
Error: Could not find the main class.
Error: A JNI error has occurred, please check your installation and try
again

can u solve it?
-- 
View this message in context: 
http://www.nabble.com/Unable-to-run-iReport-in-Linux-tp16602161p16602161.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Integrating Jasper reports with Spring and Hibernate

2008-03-27 Thread madhusudhan143

Hi friends,
I integrated Jasper Report with spring and Hibernate by using the
jasperreport sample...I am getting following Exception

org.springframework.web.util.NestedServletException: Request processing
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'report': Instantiation of bean failed; nested exception is
java.lang.IllegalStateException: Bean definition does not carry a resolved
bean class
   
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:408)
   
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'report': Instantiation of bean failed; nested exception is
java.lang.IllegalStateException: Bean definition does not carry a resolved
bean class
   
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:415)
   
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:238)
   
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:148)
   
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:253)
   
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:331)
   
org.springframework.web.servlet.view.ResourceBundleViewResolver.initFactory(ResourceBundleViewResolver.java:202)
   
org.springframework.web.servlet.view.ResourceBundleViewResolver.loadView(ResourceBundleViewResolver.java:148)
   
org.springframework.web.servlet.view.AbstractCachingViewResolver.createView(AbstractCachingViewResolver.java:146)
   
org.springframework.web.servlet.view.AbstractCachingViewResolver.resolveViewName(AbstractCachingViewResolver.java:79)
   
org.springframework.web.servlet.DispatcherServlet.resolveViewName(DispatcherServlet.java:1084)
   
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1028)
   
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:813)
   
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726)
   
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
   
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

java.lang.IllegalStateException: Bean definition does not carry a resolved
bean class
   
org.springframework.beans.factory.support.AbstractBeanDefinition.getBeanClass(AbstractBeanDefinition.java:252)
   
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:52)
   
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:498)
   
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:372)
   
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:238)
   
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:148)
   
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:253)
   
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:331)
   
org.springframework.web.servlet.view.ResourceBundleViewResolver.initFactory(ResourceBundleViewResolver.java:202)
   
org.springframework.web.servlet.view.ResourceBundleViewResolver.loadView(ResourceBundleViewResolver.java:148)
   
org.springframework.web.servlet.view.AbstractCachingViewResolver.createView(AbstractCachingViewResolver.java:146)
   
org.springframework.web.servlet.view.AbstractCachingViewResolver.resolveViewName(AbstractCachingViewResolver.java:79)
   
org.springframework.web.servlet.DispatcherServlet.resolveViewName(DispatcherServlet.java:1084)
   
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1028)
   
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:813)
   
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726)
   
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
   

[jasperreports-questions] TextExporter Problem, Extra line between rows

2008-03-23 Thread govind33

Hi,

While rendering rows in plain text format, I am getting extra line in
between two rows. These lines are inconsistent i.e. somewhere there is only
one line between two rows. However, somewhere there is more than one line in
between two rows.

Is there any way out of this problem? Need a definite fix or work around.

I have been trying this for over two days.

Regards,
Govind
-- 
View this message in context: 
http://www.nabble.com/TextExporter-Problem%2C-Extra-line-between-rows-tp16175984p16175984.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] New to Jasper: Need help with multi-page reports

2008-03-19 Thread Psycho_Gamer

Hi all,

Glad to have found a forum for Jasper reports.  I want to design a 2-3 page
report.  I have found many examples where multiple page reports are mere
continuations of page 1.  For instance, if we were reporting on number of
sales for an item, it is likely that not all of the information would fit on
a single page.  So, the examples I am seeing just repeat the same header,
and fill in the remainder using the details tag.

However, this is not what I am trying to do.  I have a heading, such as a
company name/address, etc that I want to display on each page, but the
actual data, and therefore column headings will vary between pages.

I was thinking of creating a main page that called subsequent xml files in
order to generate the pages I want, however, I am uncertain as to how to do
this.  Any help would be incredibly grateful. 
-- 
View this message in context: 
http://www.nabble.com/New-to-Jasper%3A--Need-help-with-multi-page-reports-tp16131041p16131041.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] jasperreports-2.0.4-project.tar.gz permissions are too tight

2008-03-04 Thread Alex Mayorga Adame

jasperreports-2.0.4-project.tar.gz permissions are too tight, only the user
that uncompressed it has read permissions. Is this correct or by design? If
not, what are the right permissions so various users could use Jasper
Reports from a single installation?

Thanks in advance,
Alex
-- 
View this message in context: 
http://www.nabble.com/jasperreports-2.0.4-project.tar.gz-permissions-are-too-tight-tp15807769p15807769.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] (no subject)

2008-03-03 Thread Äl$HÄFEEKB
am using iReport1.3.1,am not getting the stacked chart display,while
running the jasper on html priview,am using the image servlet also,not
displaying chart only two dooted line,
please help me



__
Scanned and protected by Email scanner
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] column value partiall displayed in jasper report

2008-02-21 Thread vino_it151

Using ireport i have generated a Report.In the database column width is too
long where in the generated PDF only 2 words are seen.is there any way to
view the complete column data in the PDF.Please suggest me.
Any help will be appreciated.
-- 
View this message in context: 
http://www.nabble.com/column-value-partiall-displayed-in-jasper-report-tp15542123p15542123.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] column value partiall displayed in jasper report

2008-02-21 Thread Marcos Quezada
There is a CheckBox in the Properties of the Textfield (Tab Text Field)
called Stretch with overflow, you have to select this check and then the
textfield will grow according to the data.  The Textfield  must be in detail
band or ina a group band.

Existe un CheckBox en las Propiedades del Textfield (Pestaña Text Field)
llamado Stretch with overflow, debes seleccionar este check para que el
textfield cresca según los datos que trae el campo. El textfield debe estar
en la seción detalle o en algún grupo.

Bye, Good Luck
Adiós, Suerte
Marcos

2008/2/18, vino_it151 [EMAIL PROTECTED]:


 Using ireport i have generated a Report.In the database column width is
 too
 long where in the generated PDF only 2 words are seen.is there any way to
 view the complete column data in the PDF.Please suggest me.
 Any help will be appreciated.
 --
 View this message in context:
 http://www.nabble.com/column-value-partiall-displayed-in-jasper-report-tp15542123p15542123.html
 Sent from the jasperreports-questions mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 jasperreports-questions mailing list
 jasperreports-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] TABLES LIST

2008-02-12 Thread cferrero

HI I'M NEW AT THIS AND I WANT TO KNOW IF IS POSIBLE MAKE A DESIGN WITH 2
TABLES LIKE THIS (THEY SHOU BE ONE BESIDES ANOTHER AND MUST CONTINUE IN NEXT
PAGES)

page 1 :

 table 1 table 2

 xxx
 xxx
 xxx
 xxx

 page 2 :


 table 1 table 2

 xxx
 xxx




TKS!
-- 
View this message in context: 
http://www.nabble.com/TABLES-LIST-tp15417380p15417380.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Re port generation, very slow performance.

2008-02-12 Thread Denny C

It takes too much time for the reports to load is what i experienced.
I wrote 2 java files to develop a report.

In the first report i designed the .jrxml file using iReport.
All the fields were made in the design time. A db connection 
was made and a simple 'Select' query was executed.
What i noticed is that the ' JasperCompileManager.compileReport(design); '
takes some time to compile. It took 5 seconds to compile.
2 secs to fill the report and 2 secs to view.
So in all it took more than 9 secs for the report to appear on the screen.
I feel 9 secs is too slow for a report as simple as this to generate.

In the second report i took a blank .jrxml file without any fields.
Using the jasperreports api i designed all the fields at run-time. 
I declared all parameters on runtime too. The query is also set at runtime.
It took 13 secs to compile, 5 secs to fill and 2 secs to view.
So in all 20 secs for the report to appear.
20 secs is too long.

Is this normal. Is there any way to boost the performance ??
Even the slightest intention of help would be highly appreciated.
-- 
View this message in context: 
http://www.nabble.com/Report-generation%2C-very-slow-performance.-tp15306293p15306293.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] ArrayIndexOutOfBoundsException to txt format

2008-01-24 Thread atchuta

Hi,
I am trying to generate a report in text and pdf format. In the pdf the
report is working, but in the text it is giving exception as below:
Caused by: java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at
net.sf.jasperreports.engine.export.JRTextExporter.exportText(JRTextExporter.java:476)
at
net.sf.jasperreports.engine.export.JRTextExporter.exportElements(JRTextExporter.java:345)
at
net.sf.jasperreports.engine.export.JRTextExporter.exportPage(JRTextExporter.java:322)
at
net.sf.jasperreports.engine.export.JRTextExporter.exportReportToWriter(JRTextExporter.java:298)
at
net.sf.jasperreports.engine.export.JRTextExporter.exportReport(JRTextExporter.java:240)
I am using jasperreport2.0.2.jar.
Regards,
Jagadeesh
-- 
View this message in context: 
http://www.nabble.com/ArrayIndexOutOfBoundsException-to-txt-format-tp15016770p15016770.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Problem with single page excel Report

2008-01-22 Thread SomunNabble

Hi All,
The issue got resolved by using the latest version of jasperreport jar
file.(jasperreports-2.0.4.jar).
We were using a little older one(jasperreports-2.0.0.jar).

Thanks,
Somu




SomunNabble wrote:
 
 Hi Everyone,
 I have a report that needs to be exported to xls format in a single page.
 Through iReport, I'm able to generate a single page continuous xls
 report(with no empty lines in-between). I have two problems with this
 report.
 Pbm 1:
 First problem is that the same report comes bad when generated through the
 application. Many empty lines appear randomly after some set of rows
 throughout the report. Infact the number of empty lines increases as we go
 down the report. Please give me some suggestions for this issue.
 
 Pbm 2:
 We want to be able to have exactly the same number of rows as in the table
 in the generated report. Currently some extra 30 lines appear in the
 report due to the over flow of text.
 Please note that for some column of  a row, the data is over 100
 lines(when  put in a doc file).
 
 Note:
 I have set the foll. parameters in the code:
 1. JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.FALSE
 2. 
 JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS,
 Boolean.TRUE
 
 Also, I have enabled the  'stretch with over-flow' property of the Text
 fields in iReport. I have attached the genereted excel report for your
 reference.
 
 I feel that both the problems have the same cause ie text over flow. If
 there is way so that the text of a column, does not over flow to the next
 row, this issue can be resolved. I looked in to the previous forum
 questions, but still trying to fiqure out the solution.
 
 
 Thank you very much for your time!
 
 -Somu
  http://www.nabble.com/file/p15009963/report.xls report.xls 
 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-single-page-excel-Report-tp15009963p15032615.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Jasper report + JPQL

2008-01-17 Thread tarat

Hi!

I've a problem and I didn't find any information on WEB about it so I try to
use your experiment.
I try to use Jasper Report with EJBQL:
queryString language=ejbql![CDATA[SELECT p, k FROM
PmUser p JOIN p.PmUserBeosztasCollection c JOIN c.beosztas
k]]/queryString
The problem is...p and k also have a field with a same name.

So when I try to use these names:

field name=p.nev class=java.lang.String/
field name=aktiv class=java.lang.Short/
field name=admin class=java.lang.Short/
field name=k.nev class=java.lang.String/

I have got an error:
Error retrieving field value from bean : p.nev
--
This works quite well:

queryString language=ejbql![CDATA[SELECT p FROM
PmUser p JOIN p.PmUserBeosztasCollection c JOIN c.beosztas
k]]/queryString

field name=nev class=java.lang.String/
field name=aktiv class=java.lang.Short/
field name=admin class=java.lang.Short/

but I have to use k.nev..

Please help me!
Thanks a lot...tarat
-- 
View this message in context: 
http://www.nabble.com/Jasper-report-%2B-JPQL-tp14875974p14875974.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Transparent Images in exportToPDF()

2008-01-14 Thread Flaxxed

I have a report that has multiple images in it.  Some of these images have an
image expression of java.net.URL and others of java.awt.Image.  (The
java.awt.Image files are not stored on the disk but in memory when the
report is generated.)  All of the images that are put in the report have a
transparent background.

After creating a JasperPrint for the report I am able to view the report
using JasperViewer and the images in the report look fine.  I am also able
to use the JasperPrintManager and the report looks fine (even when printing
to PDFCreator).  However, when I use the
JasperExportManager.exportReportToPdf() method, the images' transparencies
do not work (they are blackish/redish and the image is indistinguishable). 
I am exporting the report to a pdf, getting the byte[] and saving it to a
file.  The BufferedImages I give the report are of type
BufferedImage.TYPE_INT_ARGB.  Is there a bug with the exportReportToPdf()
that does not handle image transparencies--or is this expected behavior?  It
seems odd that the JasperViewer could handle transparent images but not the
JasperExportManager.

I am using the jasperreports-2.0.4.jar and the iText-2.0.7.jar files.  I am
really stuck on this and thank anyone in advance for further explanation and
help. 

Thanks!!
-- 
View this message in context: 
http://www.nabble.com/Transparent-Images-in-exportToPDF%28%29-tp14815882p14815882.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] single line displays multiple number of times in our jasper reports

2008-01-11 Thread B Narendra Reddy

We are generating our jasper reports using jrxml files and we used multi
threading concept in our code.  All the Threads are accessing same jrxml
files  to generate the pdf files. In random scenario the reports are 
displaying multiple times for the same row. I am not able to find where the
problem was. Is it because of Multi threading. Is Jasper is thread safe? Is
this problem coming because I am accessing the same jrxml file from diffrent
threads?
Can anyone help me about this.

Thanks
Narenda
-- 
View this message in context: 
http://www.nabble.com/single-line-displays-multiple-number-of-times-in-our-jasper-reports-tp14752743p14752743.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Input Date Not working in Jasper reports?

2008-01-06 Thread Ashish.Anant

Hello All,

I'm trying to run the bellow query through Jasper reports. The report ask
for two input paramters (startDate and endDate), so, I added two control
with the similar name what I'm using in query (pStartDate and pEndDate) of
date type. The format I'm using for date is 
mm-dd-. 

But the problem is, whenever I'm running the same query with some date range
directly on mysql console, I'm getting the result properly. Same query with
same input is also running and giving me correct result through Open Reports
also. But whenever I'm running this query through Jasper Report, I'm getting
NOTHING (Saying ... reports data empty).


I think, the format of date or something somehow is going wrong here. Can
someone pls give me any idea what I'm missing here? I pasted the query below
of this mail.


thanks (in adv)

Ashish.
([EMAIL PROTECTED])
==
select
  PO.created as 'Date',
  PO.purchase_order_id as 'Transaction ID',
  L.price as 'Transaction Amount',
  concat(PO.status, '-', ifnull(PO.delivery_status,'')) as 'State',
  'paypal' as 'Payment Source',
  UB.userId as 'Buyer User ID',
  UB.userEmail as 'Buyer email',
  PPPVB.email as 'Buyer Paypal ID/Email',
  URB.buyerRating as 'Buyer Rating',
  US.userId as 'Seller User ID',
  US.userEmail as 'Seller email',
  PPPVS.email as 'Seller Paypal ID/Email',
  URS.sellerRating as 'Seller Rating',
  G.gameShortName as Game,
  UAB.userAvatarName as 'Buyer Avatar Name',
  UAS.userAvatarName as 'Seller Avatar Name',
  CI.catalogItemTitle as Item,
  L.price as Amount
from
  ps_purchase_order PO
  join ps_listing L on (PO.listing_id = L.listing_id)
  join useravatar UAB on (PO.avatar_id = UAB.userAvatarId)
  join ps_purchase_attempt PURCHA on (PURCHA.purchase_order_id =
PO.purchase_order_id)
  join ps_payment_attempt PAB on (PURCHA.payment_attempt_id =
PAB.payment_attempt_id)
  join ps_payment_vehicle PVB on (PVB.payment_vehicle_id =
PAB.payment_vehicle_id)
  join ps_paypal_payment_vehicle PPPVB on (PPPVB.payment_vehicle_id =
PVB.payment_vehicle_id)
  join user UB on (UAB.userId = UB.userId)
  join useravatar UAS on (L.avatar_id = UAS.userAvatarId)
  join user US on (UAS.userId = US.userId)
  join ps_account ACCTS on (US.userId = ACCTS.user_id)
  join ps_payment_vehicle PVS on (ACCTS.account_id = PVS.account_id)
  join ps_paypal_payment_vehicle PPPVS on (PPPVS.payment_vehicle_id =
PVS.payment_vehicle_id)
  join catalogitem CI on (L.item_id = CI.catalogItemId)
  join game G on (CI.gameId = G.gameId)
  join userrating URB on (UB.userId = URB.userId)
  join userrating URS on (US.userId = URS.userId)
where
  PO.status in ('PAID', 'INVOICED')
  and PVS.status = 'ACTIVE'
  and (date_format(PO.created, '%m-%d-%Y') = $P{pStartDate})
  and (date_format(PO.created, '%m-%d-%Y') = $P{pEndDate})
group by 
PO.purchase_order_id
order by 
PO.created desc;

-- 
View this message in context: 
http://www.nabble.com/Input-Date-Not-working-in-Jasper-reports--tp14612558p14612558.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Arabic numbers

2008-01-02 Thread nawaz_001

Hi All,

I'm generating a report using jasper reports from my java application, I
need to display arabic numericals. I have no problem displaying the arabic
texts, but my requirements is to display the no.'s also in arabic. I tried
changing the regional settings of my sistem to 'Saudi Arabia' and also i
tried to set my locale in iReport to Saudi Arabia but it wouldnt display the
numbers in arabic, i get only english numericals.

Appreciate your valuable inputs.

Regards,
Ahmed
-- 
View this message in context: 
http://www.nabble.com/Arabic-numbers-tp14460801p14460801.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] how to download JasperReports API

2007-12-17 Thread Shafi Chaudhry
Hi,

I am just trying to use JasperReports but could not find API file.  What is 
location of JasperReports API download.

Thanks


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Jasper Report: to display total number of records

2007-12-17 Thread Dieter D'haeyere

There is a variable called 
REPORT_COUNT
which exactly contains what you need
I used this variable to decide if a background should be colored or not
(alternating)
Hope this helps,
Dieter D'haeyere



unknownEve wrote:
 
 How can i display the total number of records in the report. 
 

-- 
View this message in context: 
http://www.nabble.com/Jasper-Report%3A-to-display-total-number-of-records-tp14164449p14294477.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Export a report to .doc format

2007-12-17 Thread Dieter D'haeyere

You can make use of the JRRtfExporter class (
http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/export/JRRtfExporter.html
).
Dieter D'haeyere.




Manuel Umana-2 wrote:
 
 Hi,
 
 I want to export a report to doc or rtf format. I'm searching in
 Internet but I only founded how to export to pdf and html.
 
 Could you give me a suggestion about this?
 
 Thank you.
 
 
 -- 
 Manuel Umaña Aguilar
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 jasperreports-questions mailing list
 jasperreports-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
 
 

-- 
View this message in context: 
http://www.nabble.com/Export-a-report-to-.doc-format-tp13794531p14294800.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] vertical lines in detail band

2007-12-12 Thread Dieter D'haeyere

I have a problem when generating vertical lines in the detail band.
I want to add an uninterupted vertical line in the detail band.  I draw a
line with the height of the band, but when the band gets repeated (serveral
beans in my collection that is sent to the band), there is a tiny small
space between those vertical lines.

Consider following peace of code :
JRDesignBand detailBand= new JRDesignBand();
detailBand.setHeight(20);

JRDesignLine firstVerticalLineOfTable=  createVerticalLine(25, 
0,0, 20);
detailBand.addElement(firstVerticalLineOfTable);
detailBand.addElement(createRightStringTextField(26, 2, 363, 12,
$F{productName}));
JRDesignLine secondVerticalLineOfTable=  
createVerticalLine(390, 0, 0,
20);

setDetail(detailBand);

The lines have exactly the same height as the band, but still, there is that
little bit of whitespace between the chunks.

Thx in advance,

-- 
View this message in context: 
http://www.nabble.com/vertical-lines-in-detail-band-tp14286279p14286279.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] pdf permissions

2007-12-12 Thread so

Hi,

If i set the USER_PASSWORD to , the password is not asked when the pdf is
open.
I change also the permission to PdfWriter.AllowPrinting.
But now i don't know where i can give the OWNER_PASSWORD for changing the
permissions directly in the pdf editor, or better if it's possible to give
differents permissions for user and owner.

If someone can help me ...

BR
So


so wrote:
 
 Hello,
 
 I'm using jasperreports to create pdf document, it's work fine but now i
 want to disabled modify permission.
 I find this code :
 pdfExporter.setParameter(JRPdfExporterParameter.IS_ENCRYPTED,
 Boolean.TRUE);
 pdfExporter.setParameter(JRPdfExporterParameter.IS_128_BIT_KEY,
 Boolean.TRUE);
 pdfExporter.setParameter(JRPdfExporterParameter.USER_PASSWORD, jasper);
 pdfExporter.setParameter(JRPdfExporterParameter.OWNER_PASSWORD,
 reports);
 pdfExporter.setParameter(JRPdfExporterParameter.PERMISSIONS new
 Integer(PdfWriter.AllowModifyContents));
 
 But when i want to read the pdf, the password is asked.
 But i want to read the pdf without enter password and when the user want
 to edit the pdf the password is asked.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/pdf-permissions-tp13894412p14291512.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Abhishek sent you a friend request on Yaari...

2007-12-06 Thread Abhishek


	
	
		Abhishek Soni wants you to join Yaari!
		
		
		Is Abhishek your friend?
		
		
		Yes, Abhishek is my
friend!  No, Abhishek
isn't my friend.			
		
		
		Please respond or Abhishek might think you said no :( 
		
		
		Thanks,
		
		The Yaari Team
		
		
		
		
		
		
		
		You are receiving this message because someone you know registered for Yaari and listed you as a
contact. 
		
		If you do not want to receive such notifications in the future, please click here.

		
		If you have any concerns regarding the content of this message, please email [EMAIL PROTECTED]  
		
	
		
	
		Yaari LLC, 358 Angier Ave, Atlanta, GA 30312
	



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Question

2007-12-05 Thread surya kusumakar
how to pass query dynamically to query string , as well as change the text 
expressions and text attribute according to query??

surya

   
-
 Why delete messages? Unlimited storage is just a click away.-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Different print job sizes for different Java plugins

2007-11-30 Thread jgutierrez

Hi,

I use jasperreports 2.0.2 to print some reports in an applet of a web
application. When I work with the java 1.5.0_09 plugin the size of the print
job is very smaller than when I work with java 1.4.2 plugin. 

For example, if I send to the print job the same report in both versions of
java plugin, with java 1.5.0_09 the size is about 500Kb and with java 1.4.2
the size is about 2.5Mb.

Some clients of my web application have a very slow PC, and a print job of
2.5Mb takes enough time to print.

Originally the application used Crystal and I am very interested in solving
the problem in order to change definitively to Jasperreports.
Any idea?

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/Different-print-job-sizes-for-different-Java-plugins-tf4902127.html#a14042377
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] error while executing jasper report in (linux) server it workes fine in local server

2007-11-19 Thread gandhivasu

hi 
i am getting following error while executing my jasper report in linux
server .But it works fine in local windows server . i could not able to find
out the error . please if some one could guide me i will be much helped.  
i have imported these files in the servlet and all permissions are granted
in the server too.
i am working in struts framework  and  calling .jrxml in the servlet..
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.Map;
import java.sql.*;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.sf.jasperreports.engine.*;
import net.sf.jasperreports.engine.design.JasperDesign;
import net.sf.jasperreports.engine.export.*;
import net.sf.jasperreports.engine.xml.JRXmlLoader;

  and error thrown is


net.sf.jasperreports.engine.JRException: Errors were encountered when
compiling report expressions class file:
1. The type java.lang.Object cannot be resolved. It is indirectly referenced
from required .class files
public class BCNReport_1195275784098_549640 extends JREvaluator
-
1 errors

at
net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193)
at
net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105)
at
net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:212)
at com.amslogic.reports.BcnReports.doGet(BcnReports.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at sun.reflect.GeneratedMethodAccessor396.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at 
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
at
org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:177)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at 

[jasperreports-questions] Error regard generate reports using jasperReports in dwr

2007-11-19 Thread anilkumar mulam
I am genreting reports usung japerReportsin dwr.I am getting these errors
Errors were encountered when compiling report expressions class file:
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:4: package
net.sf.jasperreports.engine does not exist
import net.sf.jasperreports.engine.*;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:5: package
net.sf.jasperreports.engine.fill does not exist
import net.sf.jasperreports.engine.fill.*;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:13: package
net.sf.jasperreports.engine does not exist
import net.sf.jasperreports.engine.*;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:15: package
net.sf.jasperreports.engine.data does not exist
import net.sf.jasperreports.engine.data.*;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:21: cannot find symbol
symbol: class JREvaluator
public class item_1195298575593_251940 extends JREvaluator
   ^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:28: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_LOCALE = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:29: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_VIRTUALIZER = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:30: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_TIME_ZONE = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:31: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_MAX_COUNT = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:32: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_SCRIPTLET = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:33: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_PARAMETERS_MAP = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:34: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_CONNECTION = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:35: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:36: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_URL_HANDLER_FACTORY = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:37: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:38: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_REPORT_DATA_SOURCE = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:39: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195298575593_251940
private JRFillParameter parameter_IS_IGNORE_PAGINATION = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:40: cannot find symbol
symbol  : class JRFillField
location: class item_1195298575593_251940
private JRFillField field_rate = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:41: cannot find symbol
symbol  : class JRFillField
location: class item_1195298575593_251940
private JRFillField field_item_id = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195298575593_251940.java:42: cannot find symbol
symbol  : class JRFillField
location: class item_1195298575593_251940
private JRFillField field_name = null;
^

[jasperreports-questions] Error regard generate reports using jasperReports in dwr

2007-11-18 Thread Mulam_Anil

i am generating reports with jasperreports in dwr.it gives error like this
Errors were encountered when compiling report expressions class file:
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:4: package net.sf.jasperreports.engine
does not exist
import net.sf.jasperreports.engine.*;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:5: package
net.sf.jasperreports.engine.fill does not exist
import net.sf.jasperreports.engine.fill.*;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:13: package net.sf.jasperreports.engine
does not exist
import net.sf.jasperreports.engine.*;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:15: package
net.sf.jasperreports.engine.data does not exist
import net.sf.jasperreports.engine.data.*;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:21: cannot find symbol
symbol: class JREvaluator
public class item_1195287830437_658743 extends JREvaluator
   ^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:28: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_LOCALE = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:29: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_VIRTUALIZER = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:30: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_TIME_ZONE = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:31: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_MAX_COUNT = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:32: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_SCRIPTLET = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:33: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_PARAMETERS_MAP = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:34: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_CONNECTION = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:35: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:36: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_URL_HANDLER_FACTORY = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:37: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:38: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_REPORT_DATA_SOURCE = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:39: cannot find symbol
symbol  : class JRFillParameter
location: class item_1195287830437_658743
private JRFillParameter parameter_IS_IGNORE_PAGINATION = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:40: cannot find symbol
symbol  : class JRFillField
location: class item_1195287830437_658743
private JRFillField field_rate = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:41: cannot find symbol
symbol  : class JRFillField
location: class item_1195287830437_658743
private JRFillField field_item_id = null;
^
D:\Program Files\Apache Software Foundation\Tomcat
5.0\item_1195287830437_658743.java:42: cannot find symbol
symbol  : class JRFillField
location: class item_1195287830437_658743
private JRFillField field_name = null;
^

[jasperreports-questions] Export a report to doc format

2007-11-15 Thread Manuel Umaña
Hi,

I want to export a report to doc or rtf format. I'm searching in 
Internet but I only founded how to export to pdf and html.

Could you give me a suggestion about this?

Thank you.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] re garding path specification in the compilefiletoreport() of the reportgeneration

2007-11-12 Thread anilpatimalla

while working with reportgeneration in dwr frame work we need to mention the
path for the jrxmljasper locations. if we mention the whole path of the
file corresponding location its not working.can any help regarding this 


regards
anil P
-- 
View this message in context: 
http://www.nabble.com/regarding-path-specification-in-the-compilefiletoreport%28%29-of-the-reportgeneration-tf4791007.html#a13705434
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Hyperlink in jasper

2007-11-05 Thread [EMAIL PROTECTED]

Hi Namrata,

I think you can retrieve those parameters in some servlet then fill the
parameters , again call the Jasper.
Amarnath.


NamrataH wrote:
 
 hi,
 Can anybody please tell me how to link to reports...
 i hv created hyperlink on 1 report and i wnt to take the contents of tht
 page as parameter to other page i m able to do tht but... how to
 retrive tht parameter in sedond report and to change content dynamically
 based on parameter... i m not getting this thing?
 any reply will be helpfull
 

-- 
View this message in context: 
http://www.nabble.com/Hyperlink-in-jasper-tf4198825.html#a13523893
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] 2 charts in one report from 2 db tables(ireport)

2007-11-05 Thread [EMAIL PROTECTED]

Hi,
Have two sub reports. In One of your subreport have Pie and in another one
have bar.
If have any problem to do this do get back me.

Amarnath.

madhus7 wrote:
 
 hi, i have a requirement where i need to display 2 charts(pie and bar)in a
 single report side by side whose data come from different tables from the
 database.how can i do this using jasperreports and ireport.any help would
 be appreciated.thanks in advance.
 

-- 
View this message in context: 
http://www.nabble.com/2-charts-in-one-report-from-2-db-tables%28ireport%29-tf4698878.html#a13523895
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] 2 charts in one report from 2 db tables(ireport)

2007-10-30 Thread madhus7

hi, i have a requirement where i need to display 2 charts(pie and bar)in a
single report side by side whose data come from different tables from the
database.how can i do this using jasperreports and ireport.any help would be
appreciated.thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/2-charts-in-one-report-from-2-db-tables%28ireport%29-tf4698878.html#a13432434
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Currency format in Excel report

2007-10-23 Thread KLI

Hi, is there any chance to set in report, Excel cell format to currency?
Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/Currency-format-in-Excel-report-tf4668856.html#a13337263
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] decrease volume of my pages

2007-10-20 Thread sabah

hi I work with jasper reports. my code  in jasper reports is very volume. How
can I decrease volume of my pages in jasper reports.

-- 
View this message in context: 
http://www.nabble.com/decrease-volume-of-my-pages-tf4657845.html#a13309606
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Help with Subreports and JAVA Bean connections

2007-10-10 Thread scottpetersen
I have been writing Jasper reports for some time and do not have a problem
writing main and subreports.

I can write a main report that passes a $P{REPORT_CONNECTION} (JDBC
connection) to subreport1 and they work fine. I can also write a main
report that passes a JAVA Bean to subreport2 and they work fine also.

The issue that that I need to write a main report that passes a JAVA Bean
to subreport2 and then have subreport2 pass a JDBC connection to
subreport1. At this point the main works fine and subreport2 works fine,
but I receive NO data from subreport1. I have attempted to pass a
parameter as a java.sql.Connection to subreport2 that then gets passed as
$P{REPORT_CONNECTION} to subreport1, and also attempted to pass
$P{REPORT_CONNECTION} to subreport2 for it to pass along to subreport1.
But nothing seems to work.

main - JDBC Connection - subreport1 --- works fine

main - JAVA Bean - subreport2 --- works fine

main - JAVA Bean - subreport2 - JDBC Connection - subreport1 --- (main
prints data, subreport2 prints data, but subreport1 does NOT print data)

The issue here is that the JAVA Bean retrieves data that will be passed to
subreport1 to generate its portion of the report.

In addition I have also attempted to have a main report call a subreport
(subreport2) using a Java Bean and then have that subreport call another
subreport (subreport3) using a Java Bean and this does not work either.

main - JAVA Bean - subreport2 --- works fine

main - JAVA Bean - subreport3 --- works fine

main - JAVA Bean - subreport2 - JAVA Bean - subreport3 --- (main
prints data, subreport2 prints data, but subreport3 does NOT print data. 
In addition, I do not believe that the second JAVA Bean is even called
because my trace messages do not get printed that are in the second JAVA
Bean.)

Any help would be appreciated.

Thanks in advance.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] How i can control the value Field to print a desired value for a Variable with jasperreport?

2007-10-08 Thread dr_pompeii

Hello guys

i have a jrxml with a db query and works fine, in my fields retrieved by the
query
appear a field call for instance moneychange it would be 1 or #.##

my problem that i want to resolve is that the Variable
prints value Dolar when moneychange has 1 how value
and value Euro when moneychange has #.## (3.15 , 5.18, etc) how value

how i can do this???

thanks so much for advanced
-- 
View this message in context: 
http://www.nabble.com/How-i-can-control-the-value-%22Field%22-to-print-a-desired-value-for-a-%22Variable%22-with-jasperreport--tf4568695.html#a13039441
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


<    1   2   3   4   5   >