farzana shaik | 6 Aug 2009 12:34
Picon

Internationalization Code for Jasper Reports

Hi,
          We are facing problem in integrating internationalization with jasper reports.

Please tell us how to display pdf jasper reports in other Indian locale languages

how to access resource bundle in jrxml file and .java using jasper api.

Waiting for your reply..............


Thanks,
Farzana

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@...
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
vishnukumar | 19 Aug 2009 11:49
Picon
Favicon

List of parameters to PDF


Hi,

I am new to jasper reports. I am passing parameters as following.

List<String> courseModules = new ArrayList<String>();
    	List<String> marks = new ArrayList<String>();
    	
    	courseModules.add("spoken english");
    	courseModules.add("Medical Transcription");
    	marks.add("20");
    	marks.add("30");
		
    	Map model = new HashMap();
    	model.put("courseModules", courseModules);
	model.put(“marks”, marks); 

I use ResourceBundleViewResolver. In .jrxml, I map parameters as 

<parameter name="courseModules" class="java.util.List"/>
<parameter name="marks" class="java.util.List"/>

I got printed as 

[spoken English, Medical Transcription]
[20, 30]

But, my requirement is, I have to print like

   Course 			Mark
Spoken English  		30
Medical Transcription	40

I don’t know how to iterate the elements in the list in jrxml or any other
solution will be good as well.
Please, help me

Thanks
Vishnu
--

-- 
View this message in context: http://www.nabble.com/List-of-parameters-to-PDF-tp25041091p25041091.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
Taras Matyashovsky | 18 Aug 2009 15:10
Picon

Re: How to dynamically set the background color of a field? Thanks.


Hello,

I'm also interested in this issue.
Have You found any solution?

Thanks,
Taras

mctpursuer wrote:
> 
> Hi, I need to dynamically set the background color of a field in the
> report, e.g. a field called first-level manager, second-level manager, if
> the first-level manager.isCurrentManager == true, then I want to give the
> first-level manager a particular background color, how can I archieve this
> in JasperReport? Thanks a lot.
> 

--

-- 
View this message in context: http://www.nabble.com/How-to-dynamically-set-the-background-color-of-a-field--Thanks.-tp22285675p25024544.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
prakash | 27 Aug 2009 07:53

Connect bean class in ireport

Daer sir

 I am prkash from india, I have developing web project using struts2 and
jsaper report.

 I have doubt in jasper report, how to connect bean class in jasper report
with  examples..

any one  know pls help me immediately........

Thanks & Regards
Prakash D

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
prakash | 27 Aug 2009 09:06

Connect bean class in ireport


Daer sir

 I am prkash from india, I have developing web project using struts2 and
jsaper report.

 I have doubt in jasper report, how to connect bean class in jasper report
with  examples..

any one  know pls help me immediately........

Thanks & Regards
Prakash D

Thanks & Regards
Prakash D

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Kishore Somanathan | 26 Aug 2009 20:02

Migrating a report from iReport to JasperServer - parseError

I have a simple report with a Chart at the bottom. Works fine in iReport. But when I try to move it to the server and run it from there, I get the following error.  Any idea what is going on? The Datasource is defined correctly on the server and tested it.

com.jaspersoft.jasperserver.api.JSExceptionWrapper: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'itemLabel'. One of '{"http://jasperreports.sourceforge.net/jasperreports":categoryAxisLabelExpression, "http://jasperreports.sourceforge.net/jasperreports":categoryAxisFormat, "http://jasperreports.sourceforge.net/jasperreports":valueAxisLabelExpression, "http://jasperreports.sourceforge.net/jasperreports":valueAxisFormat, "http://jasperreports.sourceforge.net/jasperreports":domainAxisMinValueExpression, "http://jasperreports.sourceforge.net/jasperreports":domainAxisMaxValueExpression, "http://jasperreports.sourceforge.net/jasperreports":rangeAxisMinValueExpression, "http://jasperreports.sourceforge.net/jasperreports":rangeAxisMaxValueExpression}' is expected.

com.jaspersoft.jasperserver.api.JSExceptionWrapper: net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'itemLabel'. One of '{"http://jasperreports.sourceforge.net/jasperreports":categoryAxisLabelExpression, "http://jasperreports.sourceforge.net/jasperreports":categoryAxisFormat, "http://jasperreports.sourceforge.net/jasperreports":valueAxisLabelExpression, "http://jasperreports.sourceforge.net/jasperreports":valueAxisFormat, "http://jasperreports.sourceforge.net/jasperreports":domainAxisMinValueExpression, "http://jasperreports.sourceforge.net/jasperreports":domainAxisMaxValueExpression, "http://jasperreports.sourceforge.net/jasperreports":rangeAxisMinValueExpression, "http://jasperreports.sourceforge.net/jasperreports":rangeAxisMaxValueExpression}' is expected.

        at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243)

        at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226)

        at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214)

        at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.compileReport(EngineServiceImpl.java:891)

        at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.compileReport(EngineServiceImpl.java:1260)

        at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.CacheableCompiledReports.getData(CacheableCompiledReports.java:58)

        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.saveData(HibernateRepositoryCache.java:180)

        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.getCachedItem(HibernateRepositoryCache.java:110)

        at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.cache(HibernateRepositoryCache.java:70)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)

        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)

        at com.jaspersoft.jasperserver.api.common.util.spring.ReattemptMethodInterceptor.invoke(ReattemptMethodInterceptor.java:51)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)

        at $Proxy7.cache(Unknown Source)

 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@...
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Gmane