Fixed minor bug
This commit is contained in:
parent
abced0e5ad
commit
5137731dbb
|
@ -548,7 +548,7 @@ public class SpeedometerAnnualPanelResult {
|
|||
|
||||
}
|
||||
|
||||
if (i == outputNumber) {
|
||||
if (i == outputIteration) {
|
||||
|
||||
} else {
|
||||
if (pdfHeightInMM - yPos < pdfHeightInMM / 4) {
|
||||
|
|
|
@ -534,7 +534,7 @@ public class SynopticTableAnnualPanelResult {
|
|||
if (i == outputNumber) {
|
||||
|
||||
} else {
|
||||
if (pdfHeightInMM - yPos < pdfHeightInMM / 7) {
|
||||
if (pdfHeightInMM - yPos < pdfHeightInMM / 6) {
|
||||
pdoc.addPage();
|
||||
yPos = tMargin; // Restart position
|
||||
}
|
||||
|
|
|
@ -301,11 +301,12 @@ public class CorrelationPanelResult extends Composite {
|
|||
|
||||
private String getOutputId() {
|
||||
outputNumber++;
|
||||
String outputId = "OutputId_" + outputNumber;
|
||||
String outputId = "OutputId_" + requestId + "_" + outputNumber;
|
||||
GWT.log("Generated OutputId: " + outputId);
|
||||
return outputId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Adds the results.
|
||||
*
|
||||
|
|
|
@ -469,7 +469,7 @@ public class SpeedometerPanelResult {
|
|||
|
||||
}
|
||||
|
||||
if (i == outputNumber) {
|
||||
if (i == outputIteration) {
|
||||
|
||||
} else {
|
||||
if (pdfHeightInMM - yPos < pdfHeightInMM / 4) {
|
||||
|
|
|
@ -207,7 +207,7 @@ public class SynopticTablePanelResult {
|
|||
return;
|
||||
}
|
||||
|
||||
savePDFButton.setVisible(false);
|
||||
savePDFButton.setVisible(true);
|
||||
|
||||
final String toTitle = title;
|
||||
|
||||
|
@ -529,7 +529,7 @@ public class SynopticTablePanelResult {
|
|||
if (i == outputNumber) {
|
||||
|
||||
} else {
|
||||
if (pdfHeightInMM - yPos < pdfHeightInMM / 7) {
|
||||
if (pdfHeightInMM - yPos < pdfHeightInMM / 6) {
|
||||
pdoc.addPage();
|
||||
yPos = tMargin; // Restart position
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue