Jump to content
We've recently updated our Privacy Statement, available here ×

cornel

Members
  • Posts

    1
  • Joined

  • Last visited

cornel's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I have to change a jasper report in the footer section. The change is simple - from the name - CAROL ANN LOCKE to NANENE DAHMS. In running the report, i get "incorrect footer" error message when running the report. I have tried adding spaces (padding the name to be 15 characters) but that doesn't work. I have searched for other occurrences for the name CAROL but nothing. When we run the report with the name CAROL- the report works ! Can someone suggest how to change the hardcoded name so that we don't get the error incorrect footer ? Here is the code snippet that works - with name CAROL - and one that gives error with name NANENE. Code that work: <pageFooter> <band height="14" splitType="Stretch"> <textField> <reportElement x="254" y="1" width="39" height="13" uuid="773b28bc-49e9-48cf-8560-a191da000a81"/> <textElement textAlignment="Right"> <font fontName="SansSerif" size="6"/> </textElement> <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> </textField> <textField evaluationTime="Report"> <reportElement x="293" y="1" width="40" height="13" uuid="e10fa88e-d3ce-4956-b3af-6649456526a1"/> <textElement> <font fontName="SansSerif" size="6"/> </textElement> <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> </textField> </band> </pageFooter> <summary> <band height="199"> <rectangle> <reportElement x="0" y="0" width="555" height="124" uuid="eea86557-b089-4434-b250-82b6d3b463b4"/> <graphicElement> <pen lineWidth="0.5"/> </graphicElement> </rectangle> <staticText> <reportElement mode="Opaque" x="285" y="124" width="270" height="30" backcolor="#FFFFFF" uuid="42f5f895-bccc-4a67-a9f7-07ae4a4f1faf"/> <box topPadding="1" leftPadding="1" bottomPadding="1" rightPadding="1"> <pen lineWidth="0.5"/> <topPen lineWidth="0.5"/> <leftPen lineWidth="0.5"/> <bottomPen lineWidth="0.5"/> <rightPen lineWidth="0.5"/> </box> <textElement verticalAlignment="Top"> <font fontName="SansSerif" size="7" isBold="false"/> </textElement> <text><![CDATA[Name of Authorized Signatory CAROL ANN LOCKE ]]></text> Does not work: <pageFooter> <band height="14" splitType="Stretch"> <textField> <reportElement x="254" y="1" width="39" height="13" uuid="773b28bc-49e9-48cf-8560-a191da000a81"/> <textElement textAlignment="Right"> <font fontName="SansSerif" size="6"/> </textElement> <textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> </textField> <textField evaluationTime="Report"> <reportElement x="293" y="1" width="40" height="13" uuid="e10fa88e-d3ce-4956-b3af-6649456526a1"/> <textElement> <font fontName="SansSerif" size="6"/> </textElement> <textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> </textField> </band> </pageFooter> <summary> <band height="199"> <rectangle> <reportElement x="0" y="0" width="555" height="124" uuid="eea86557-b089-4434-b250-82b6d3b463b4"/> <graphicElement> <pen lineWidth="0.5"/> </graphicElement> </rectangle> <staticText> <reportElement mode="Opaque" x="285" y="124" width="270" height="30" backcolor="#FFFFFF" uuid="42f5f895-bccc-4a67-a9f7-07ae4a4f1faf"/> <box topPadding="1" leftPadding="1" bottomPadding="1" rightPadding="1"> <pen lineWidth="0.5"/> <topPen lineWidth="0.5"/> <leftPen lineWidth="0.5"/> <bottomPen lineWidth="0.5"/> <rightPen lineWidth="0.5"/> </box> <textElement verticalAlignment="Top"> <font fontName="SansSerif" size="7" isBold="false"/> </textElement> <text><![CDATA[Name of Authorized Signatory NANENE DAHMS ]]></text>
×
×
  • Create New...