dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #01770
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 562: Fixed compilation error.
------------------------------------------------------------
revno: 562
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Thu 2009-09-03 11:02:23 +0200
message:
Fixed compilation error.
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/pom.xml
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/java/org/hisp/dhis/dataadmin/action/databrowser/ExportPDFAction.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/pom.xml'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/pom.xml 2009-05-25 18:28:22 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/pom.xml 2009-09-03 09:02:23 +0000
@@ -54,6 +54,10 @@
<groupId>org.hisp.dhis</groupId>
<artifactId>dhis-useradminandsecurity</artifactId>
</dependency>
+ <dependency>
+ <groupId>com.lowagie</groupId>
+ <artifactId>itext</artifactId>
+ </dependency>
</dependencies>
</project>
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/java/org/hisp/dhis/dataadmin/action/databrowser/ExportPDFAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/java/org/hisp/dhis/dataadmin/action/databrowser/ExportPDFAction.java 2009-08-24 13:55:25 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/java/org/hisp/dhis/dataadmin/action/databrowser/ExportPDFAction.java 2009-09-03 09:02:23 +0000
@@ -301,8 +301,8 @@
// Color zero values as bold red
if ( rowItem == 0 )
{
- phrase.font().setStyle( Font.BOLD );
- phrase.font().setColor( Color.RED );
+ phrase.getFont().setStyle( Font.BOLD );
+ phrase.getFont().setColor( Color.RED );
}
cell.setPhrase( phrase );