From fbcec259663b4e1ca4f755cda36923ebfb6ff2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacobo=20Aragunde=20P=C3=A9rez?= Date: Wed, 14 Dec 2011 19:32:25 +0100 Subject: [PATCH] [Bug #1292] Replace Toolbarbutton object for the link to the PDF with an A object. FEA: ItEr75S04BugFixing --- .../org/libreplan/web/reports/LibrePlanReportController.java | 4 ++-- .../main/webapp/reports/completedEstimatedHoursPerTask.zul | 2 +- .../webapp/reports/hoursWorkedPerWorkerInAMonthReport.zul | 2 +- .../src/main/webapp/reports/hoursWorkedPerWorkerReport.zul | 2 +- .../src/main/webapp/reports/orderCostsPerResource.zul | 2 +- .../main/webapp/reports/schedulingProgressPerOrderReport.zul | 2 +- .../src/main/webapp/reports/timeLineMaterialReport.zul | 2 +- .../main/webapp/reports/workingArrangementsPerOrderReport.zul | 2 +- .../src/main/webapp/reports/workingProgressPerTaskReport.zul | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libreplan-webapp/src/main/java/org/libreplan/web/reports/LibrePlanReportController.java b/libreplan-webapp/src/main/java/org/libreplan/web/reports/LibrePlanReportController.java index 747a7bf92..fcdeb616c 100644 --- a/libreplan-webapp/src/main/java/org/libreplan/web/reports/LibrePlanReportController.java +++ b/libreplan-webapp/src/main/java/org/libreplan/web/reports/LibrePlanReportController.java @@ -37,8 +37,8 @@ import org.zkoss.util.Locales; import org.zkoss.zk.au.out.AuDownload; import org.zkoss.zk.ui.Executions; import org.zkoss.zk.ui.util.GenericForwardComposer; +import org.zkoss.zul.A; import org.zkoss.zul.Hbox; -import org.zkoss.zul.Toolbarbutton; import com.igalia.java.zk.components.JasperreportComponent; @@ -61,7 +61,7 @@ public abstract class LibrePlanReportController extends GenericForwardComposer { protected Hbox URItext; - protected Toolbarbutton URIlink; + protected A URIlink; private static Set supportedLanguages = new HashSet() {{ add("es"); diff --git a/libreplan-webapp/src/main/webapp/reports/completedEstimatedHoursPerTask.zul b/libreplan-webapp/src/main/webapp/reports/completedEstimatedHoursPerTask.zul index 0de112ddc..fbb454a9d 100644 --- a/libreplan-webapp/src/main/webapp/reports/completedEstimatedHoursPerTask.zul +++ b/libreplan-webapp/src/main/webapp/reports/completedEstimatedHoursPerTask.zul @@ -177,7 +177,7 @@ diff --git a/libreplan-webapp/src/main/webapp/reports/hoursWorkedPerWorkerInAMonthReport.zul b/libreplan-webapp/src/main/webapp/reports/hoursWorkedPerWorkerInAMonthReport.zul index 8df77f296..355a73e25 100644 --- a/libreplan-webapp/src/main/webapp/reports/hoursWorkedPerWorkerInAMonthReport.zul +++ b/libreplan-webapp/src/main/webapp/reports/hoursWorkedPerWorkerInAMonthReport.zul @@ -84,7 +84,7 @@ diff --git a/libreplan-webapp/src/main/webapp/reports/hoursWorkedPerWorkerReport.zul b/libreplan-webapp/src/main/webapp/reports/hoursWorkedPerWorkerReport.zul index c71877661..38bdde3ef 100644 --- a/libreplan-webapp/src/main/webapp/reports/hoursWorkedPerWorkerReport.zul +++ b/libreplan-webapp/src/main/webapp/reports/hoursWorkedPerWorkerReport.zul @@ -205,7 +205,7 @@ diff --git a/libreplan-webapp/src/main/webapp/reports/orderCostsPerResource.zul b/libreplan-webapp/src/main/webapp/reports/orderCostsPerResource.zul index b9850e996..b1bccf240 100644 --- a/libreplan-webapp/src/main/webapp/reports/orderCostsPerResource.zul +++ b/libreplan-webapp/src/main/webapp/reports/orderCostsPerResource.zul @@ -216,7 +216,7 @@ diff --git a/libreplan-webapp/src/main/webapp/reports/schedulingProgressPerOrderReport.zul b/libreplan-webapp/src/main/webapp/reports/schedulingProgressPerOrderReport.zul index ac8a4f34e..dce8d07bb 100644 --- a/libreplan-webapp/src/main/webapp/reports/schedulingProgressPerOrderReport.zul +++ b/libreplan-webapp/src/main/webapp/reports/schedulingProgressPerOrderReport.zul @@ -157,7 +157,7 @@ diff --git a/libreplan-webapp/src/main/webapp/reports/timeLineMaterialReport.zul b/libreplan-webapp/src/main/webapp/reports/timeLineMaterialReport.zul index dcee4f5d0..68077a617 100644 --- a/libreplan-webapp/src/main/webapp/reports/timeLineMaterialReport.zul +++ b/libreplan-webapp/src/main/webapp/reports/timeLineMaterialReport.zul @@ -154,7 +154,7 @@ diff --git a/libreplan-webapp/src/main/webapp/reports/workingArrangementsPerOrderReport.zul b/libreplan-webapp/src/main/webapp/reports/workingArrangementsPerOrderReport.zul index b5c8b1d9c..470882d29 100644 --- a/libreplan-webapp/src/main/webapp/reports/workingArrangementsPerOrderReport.zul +++ b/libreplan-webapp/src/main/webapp/reports/workingArrangementsPerOrderReport.zul @@ -184,7 +184,7 @@ diff --git a/libreplan-webapp/src/main/webapp/reports/workingProgressPerTaskReport.zul b/libreplan-webapp/src/main/webapp/reports/workingProgressPerTaskReport.zul index 2c43e0983..787453fac 100644 --- a/libreplan-webapp/src/main/webapp/reports/workingProgressPerTaskReport.zul +++ b/libreplan-webapp/src/main/webapp/reports/workingProgressPerTaskReport.zul @@ -176,7 +176,7 @@