Taras Matyashovsky | 10 Dec 2009 20:01
Picon

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


Hi Cindy,

1. You can try to use styles of iReport and apply some predefied style
according to value of dynamically passed parameter. 
2. Before generating the report you can parse jrxml using some lighter
language (Groovy, Ruby), find needed tag and correct value of appropriate
property.

Hope that would help.

Taras

c.fr wrote:
> 
> Any solution? 
> Please, someone?
> 
> Cindy
> 
> 
> 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.
>> 
> 
(Continue reading)

c.fr | 10 Dec 2009 19:56
Picon
Favicon

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


Any solution? 
Please, someone?

Cindy

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://old.nabble.com/How-to-dynamically-set-the-background-color-of-a-field--Thanks.-tp22285675p26732625.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
h_3_a | 10 Dec 2009 17:02
Picon

urgent plz


I am using jasper report to generate some reports
when firs tested it as a standalone project it worked fine but when i
integrated it with my web project
(using java, jsp, tomcat)...
the whole project failed from the begging before even using the button that
generates the reports:

SEVERE: Allocate exception for servlet ajax
java.lang.NoClassDefFoundError:
net/sf/jasperreports/engine/JRExporterParameter
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
	at java.lang.Class.getConstructor0(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089)
	at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
	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)
(Continue reading)

Rajz M | 20 Dec 2009 18:15
Picon
Gravatar

report is red/pink in the middle ?

i m using jasperreports-3.6.1. & java version "1.6.0_16" on Ubuntu 9.10
i have created a PDF for bar chart report using database values i.e through query string. (using "JasperReports 3.5 for Java Developers"  book)
the report came good and the bars are fine but there is a red/pink color in the middle [1] ? (this makes the report very ugly).  what could be problem ? can someone point me what could be the problem  ?

[1] http://picasaweb.google.com/mrpraj/Others#5417364454166558706

--
я ∆ Ĵ ξ ş Ћ
http://mrprajesh.blogspot.com/      
http://friendfeed.com/mrprajesh

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@...
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Gmane