[jasperreports-questions] jasper report doubl

2009-06-16 Thread Maria Joseph
Hi

I want to pri nt like this in the footer of the jasper report

Page 1 of 1 for page 1
Page 1 of 2 for page 2
If total pages are 2

But if total pages are 1 then the footer should be empty it should not say page 
1 of 1

How do I do this

Thanks   Regards
Joseph


DISCLAIMER

The content of this email and any attachments ('email') is confidential, may be 
privileged, subject to copyright and may be read and used only by the intended 
recipient. If you are not the intended recipient please notify us by return 
email or telephone and erase all copies and do not disclose the email or any 
part of it to any person. Email transmission cannot be guaranteed to be secure, 
or error free as information could be intercepted, corrupted, lost or destroyed 
as a result of the transmission process. The sender, therefore, does not accept 
liability for any errors, omissions, viruses or delay in transmission as a 
result of this mail. We monitor email communications through our networks for 
regulatory compliance purposes and to protect our clients, employees and 
business. Opinions, conclusions, and other information in this message that do 
not relate to the official business of NIIT Technologies Ltd. or its 
affiliate(s) shall be understood to be neither given nor endorsed by NIIT 
Technologies Ltd. or its affiliate(s).
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Error in JasperPrintManager.printReport

2009-06-16 Thread Ikya

Hi,

 Whenever I am giving true in

JasperPrintManager.printReport(jasperPrint, true)
  
it is throwing the error

net.sf.jasperreports.engine.JRException: Error printing
report.


 But if I am giving it as JasperPrintManager.printReport(jasperPrint,
false) it is working fine.

 Am I missing any library for this?

Regards,
Sreekanth



-- 
View this message in context: 
http://www.nabble.com/Error-in-JasperPrintManager.printReport-tp23775775p23775775.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] How about loop a sub report?

2009-06-16 Thread Peter Jin

Hi,
I may need to put several sub reports in the detail section in the master
report. So the sub reports will get loaded many times. Will this cause
significant performance issues? Does jasper cache data source for report in
this case?

My case:
User's data are scattered in 5 tables and I need to put those data together
under a particular user. I don't want to use UNION because HQL doesn't
support it. In addition, Union 5 tables may result in a huge SQL. I have to
use one sub report for each table and iterate users in master report and for
each user iterate all sub reports to display data relevant to that user.

Is this viable or any other solution?

Any comment is appreciated.
-- 
View this message in context: 
http://www.nabble.com/How-about-loop-a-sub-report--tp23847692p23847692.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Problem with Cross Tab multiple columns

2009-06-16 Thread iyeranan

Hello,

I think the way that cross tab works with multi-columns is: It builds like a
hierarchy of columns. I want a little different implementation. Lets say for
example I have an ArrayList of all the accounts in a bank.  Each Account
object has the following fields: holderName(String), amountInSavingsAccount
(int) and amountInCheckingAccoun(int). I would want to loop through list
using a Crosstab in the following fashion:

  



Amount in Checking Account  
  
Amount in Savings Account



John Doe 10 
 
20

Java Doe 10 
 
20

Jane Doe 10 
 
20

Jack Doe 10 
 
20



Total 50
 
100



 

The problem is, with multiple unrelated columns in an object, I'm not sure
how to configure them in a crosstab in iReports. Any suggestions/inputs?

 

Thanks in anticipation,

Andy.

-- 
View this message in context: 
http://www.nabble.com/Problem-with-Cross-Tab-multiple-columns-tp23744832p23744832.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] bug in Helloworld program

2009-06-16 Thread Srikanth Turpu
hi everybody
   This is srikanth.
I have a bug in  hellowold program.I am new to jasper reports.I created
helloworld.jar file.But when i execting below code i got blank page.its
not displaying the 'string = helloworld'.Please help me the
jasperreports .

 ?php
require_once(http://127.0.0.1:8080/java/Java.inc;);
java_require('http://127.0.0.1:8080/test/helloworld.jar');
$myObj = new Java('helloworld');

// display Hello World
echo (String) $myObj-getHelloWorld();

?

Thanks in advance 

Regards 
Srikanth


  --
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] jasper reports performance issue

2009-06-16 Thread Sadanand Rajole

Hi,
whenever the issue came with the jasper, if any graphical elements you are
using in your reports, it will take some time to generate the report. 
But if huge data to be displayed on the report, the issue goes with the time
taken to fetch data from database. So optimise the sql query for your report
which can help you out.

Regards,
Sadanand rajole
Pune,



AnilaBhargavi.Vankamamidi wrote:
 
 
 Hi,
 
 When huge data is to be filled into the jasper report, it is
 taking much time for the report generation.
 
 (It took 19mins to generate one of my report.)
 
 Please help me with a solution where I can optimize this filling process
 of the jasper report, so that reports can be generated quickly? 
 
 Please provide with any source code if available.
 
  
 
  
 
 Regards,
 
 V. Anila Bhargavi|172793
 
 Cognizant Technology Solutions| Hyderabad
 
 Mobile: 9849908536
 
  
 
 
 
 This e-mail and any files transmitted with it are for the sole use of the
 intended recipient(s) and may contain confidential and privileged
 information.
 If you are not the intended recipient, please contact the sender by reply
 e-mail and destroy all copies of the original message. 
 Any unauthorised review, use, disclosure, dissemination, forwarding,
 printing or copying of this email or any action taken in reliance on this
 e-mail is strictly prohibited and may be unlawful.
 --
 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
 
 

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


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] want GUJARATIin pdf as a output

2009-06-16 Thread taylorm10

there are a few components you will need to implement, for example:
1)
http://static.springframework.org/spring/docs/2.0.x/reference/beans.html#context-functionality-messagesource
2) Spring LocaleResolver
3) Spring LocaleChangeInterceptor - depends on which Resolver you use 
4) Jasper Templates will need a reference to the resource bundle you use in
1)


void_void wrote:
 
 i have integrated springMVC and jasper..
 it is working perfectly fine with english..
 i want to dynamically change language..to either english,gujarati or
 hindi..
 how to proceed?
 
 
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/want-GUJARATIin-pdf-as-a-output-tp23594551p23601699.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions