According to your previous instruction I have added The name of my organization and adress. In consequence only the address is shown but not the organization name. Should I change something in PatronIDCard.properties
MyLibrary=MyOrganizationName=My OrganizationLogoLocation=C:/NGLWorkBenchFiles/images/Logo.jpg |
LibraryName=My Library Yes. Also make sure that the logo is in the mentioned location.OrganizationName=My Organization LogoLocation=C:/NGLWorkBenchFiles/images/Logo.jpg On Wed, Apr 8, 2015 at 12:06 PM, Ali Ahammad Taher Hasan [via NGL] <[hidden email]> wrote: According to your previous instruction I have added The name of my organization and adress. In consequence only the address is shown but not the organization name. Should I change something in PatronIDCard.properties
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Still the name of the organization name is not displayed. Instead 'null' is displayed.
|
The key names are case sensitive Please send us the PatronIdCard.propertiesOn Wed, Apr 8, 2015 at 12:41 PM, Ali Ahammad Taher Hasan [via NGL] <[hidden email]> wrote: Still the name of the organization name is not displayed. Instead 'null' is displayed.
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Here is the PatronIdCard.properties
My Library=My Organization=My OrganizationLogoLocation=C:/NGLWorkBenchFiles/images/Logo.jpg |
You asked me to send PatronIdCard.properties to solve the stated problem.
Here is the PatronIdCard.properties My Library=My Organization=My OrganizationLogoLocation=C:/NGLWorkBenchFiles/images/Logo.jpg |
We checked this locally it works fine. Can you please send the screen shot of the problem (where null) is being displayed. This will help us to resolve the issue On Fri, Apr 10, 2015 at 10:40 AM, Ali Ahammad Taher Hasan [via NGL] <[hidden email]> wrote: You asked me to send PatronIdCard.properties to solve the stated problem.
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Screenshot is not being pasted here. I am trying to explain the problem. In front side of the card just beside the Logo 'null' is displayed twice and in the back of card where 'In case the card is found please return to:' is written 'null' is displayed twice.
|
Please send PatronIdCardFrontSide.jrxml,PatronIdCardBackSide.jrxml to support<attherate>verussolutions.biz Both these files are available at C:/NGLWorkBenchFiles/TemplatesOn Fri, Apr 10, 2015 at 11:45 AM, Ali Ahammad Taher Hasan [via NGL] <[hidden email]> wrote: Screenshot is not being pasted here. I am trying to explain the problem. In front side of the card just beside the Logo 'null' is displayed twice and in the back of card where 'In case the card is found please return to:' is written 'null' is displayed twice. |
Front side
<?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="PatronIdCardFrontSide" language="groovy" columnCount="2" pageWidth="595" pageHeight="842" columnWidth="292" leftMargin="5" rightMargin="5" topMargin="5" bottomMargin="5"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <parameter name="OrganizationName" class="java.lang.String"/> <parameter name="LibraryName" class="java.lang.String"/> <parameter name="LibraryAddress" class="java.lang.String"/> <parameter name="PatronAddress" class="java.lang.String"/> <parameter name="LogoLocation" class="java.lang.String"/> <field name="PatronName" class="java.lang.String"/> <field name="Department" class="java.lang.String"/> <field name="MembershipStarts" class="java.lang.String"/> <field name="MembershipEnds" class="java.lang.String"/> <field name="PatronId" class="java.lang.String"/> <field name="PatronPhotoLocation" class="java.lang.String"/> <title> <band/> </title> <detail> <band height="160"> <image> <reportElement x="9" y="9" width="30" height="30"/> <imageExpression> <![CDATA[$P{LogoLocation}]]></imageExpression> </image> <textField> <reportElement x="41" y="5" width="187" height="14"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{OrganizationName}]]></textFieldExpression> </textField> <textField> <reportElement x="41" y="19" width="187" height="16"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{LibraryName}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement x="41" y="35" width="187" height="21"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{LibraryAddress}]]></textFieldExpression> </textField> <componentElement> <reportElement x="12" y="58" width="129" height="27"/> <jr:barbecue xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" type="Code39 (Extended)" drawText="true" checksumRequired="false"> <jr:codeExpression> <![CDATA[$F{PatronId}]]></jr:codeExpression> </jr:barbecue> </componentElement> <image> <reportElement x="165" y="56" width="64" height="60"/> <imageExpression> <![CDATA[$F{PatronPhotoLocation}]]></imageExpression> </image> <staticText> <reportElement x="16" y="95" width="30" height="10"/> <textElement> </textElement> <text> <![CDATA[Name:]]></text> </staticText> <staticText> <reportElement x="15" y="109" width="40" height="11"/> <textElement> </textElement> <text> <![CDATA[Details:]]></text> </staticText> <staticText> <reportElement x="10" y="122" width="51" height="11"/> <textElement> </textElement> <text> <![CDATA[Valid from:]]></text> </staticText> <staticText> <reportElement x="130" y="122" width="15" height="11"/> <textElement> </textElement> <text> <![CDATA[To:]]></text> </staticText> <textField> <reportElement x="48" y="95" width="112" height="12"/> <textElement/> <textFieldExpression> <![CDATA[$F{PatronName}]]></textFieldExpression> </textField> <textField> <reportElement x="55" y="109" width="104" height="12"/> <textElement/> <textFieldExpression> <![CDATA[$F{Department}]]></textFieldExpression> </textField> <textField> <reportElement x="61" y="121" width="68" height="13"/> <textElement/> <textFieldExpression> <![CDATA[$F{MembershipStarts}]]></textFieldExpression> </textField> <textField> <reportElement x="145" y="121" width="84" height="12"/> <textElement/> <textFieldExpression> <![CDATA[$F{MembershipEnds}]]></textFieldExpression> </textField> </band> </detail> </jasperReport> Back side <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="PatronIdCardBackSide" language="groovy" columnCount="2" pageWidth="595" pageHeight="842" columnWidth="292" leftMargin="5" rightMargin="5" topMargin="5" bottomMargin="5"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <parameter name="OrganizationName" class="java.lang.String"/> <parameter name="LibraryName" class="java.lang.String"/> <parameter name="LibraryAddress" class="java.lang.String"/> <field name="Address" class="java.lang.String"/> <title> <band/> </title> <detail> <band height="160"> <staticText> <reportElement x="18" y="6" width="43" height="12"/> <textElement> </textElement> <text> <![CDATA[Address:]]></text> </staticText> <staticText> <reportElement x="12" y="30" width="225" height="36"/> <textElement> </textElement> <text> <![CDATA[It is requested that kindly protect this card from theft, mutilation, wear tear etc. This card is not transferrable. In absence of this card the borrowing facility is not possible.]]></text> </staticText> <line> <reportElement x="14" y="131" width="100" height="1"/> </line> <line> <reportElement x="137" y="131" width="100" height="1"/> </line> <staticText> <reportElement x="29" y="136" width="69" height="7"/> <textElement> </textElement> <text> <![CDATA[Issuing Authority]]></text> </staticText> <staticText> <reportElement x="177" y="136" width="36" height="7"/> <textElement> </textElement> <text> <![CDATA[Librarian]]></text> </staticText> <staticText> <reportElement x="12" y="70" width="203" height="11"/> <textElement> </textElement> <text> <![CDATA[In case the card is found please return it to: ]]></text> </staticText> <line> <reportElement x="11" y="82" width="202" height="1"/> <graphicElement> <pen lineWidth="0.5" lineStyle="Solid"/> </graphicElement> </line> <textField isStretchWithOverflow="true"> <reportElement x="11" y="83" width="111" height="11"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{OrganizationName}]]></textFieldExpression> </textField> <textField> <reportElement x="130" y="83" width="100" height="11"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{LibraryName}]]></textFieldExpression> </textField> <staticText> <reportElement x="122" y="83" width="7" height="11"/> <textElement> </textElement> <text> <![CDATA[, ]]></text> </staticText> <textField isStretchWithOverflow="true"> <reportElement x="11" y="96" width="219" height="11"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{LibraryAddress}]]></textFieldExpression> </textField> <textField> <reportElement x="66" y="6" width="171" height="17"/> <textElement/> <textFieldExpression> <![CDATA[$F{Address}]]></textFieldExpression> </textField> </band> </detail> </jasperReport> |
In reply to this post by Verus Solutions Support
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="PatronIdCardFrontSide" language="groovy" columnCount="2" pageWidth="595" pageHeight="842" columnWidth="292" leftMargin="5" rightMargin="5" topMargin="5" bottomMargin="5"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <parameter name="OrganizationName" class="java.lang.String"/> <parameter name="LibraryName" class="java.lang.String"/> <parameter name="LibraryAddress" class="java.lang.String"/> <parameter name="PatronAddress" class="java.lang.String"/> <parameter name="LogoLocation" class="java.lang.String"/> <field name="PatronName" class="java.lang.String"/> <field name="Department" class="java.lang.String"/> <field name="MembershipStarts" class="java.lang.String"/> <field name="MembershipEnds" class="java.lang.String"/> <field name="PatronId" class="java.lang.String"/> <field name="PatronPhotoLocation" class="java.lang.String"/> <title> <band/> </title> <detail> <band height="160"> <image> <reportElement x="9" y="9" width="30" height="30"/> <imageExpression> <![CDATA[$P{LogoLocation}]]></imageExpression> </image> <textField> <reportElement x="41" y="5" width="187" height="14"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{OrganizationName}]]></textFieldExpression> </textField> <textField> <reportElement x="41" y="19" width="187" height="16"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{LibraryName}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement x="41" y="35" width="187" height="21"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{LibraryAddress}]]></textFieldExpression> </textField> <componentElement> <reportElement x="12" y="58" width="129" height="27"/> <jr:barbecue xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" type="Code39 (Extended)" drawText="true" checksumRequired="false"> <jr:codeExpression> <![CDATA[$F{PatronId}]]></jr:codeExpression> </jr:barbecue> </componentElement> <image> <reportElement x="165" y="56" width="64" height="60"/> <imageExpression> <![CDATA[$F{PatronPhotoLocation}]]></imageExpression> </image> <staticText> <reportElement x="16" y="95" width="30" height="10"/> <textElement> </textElement> <text> <![CDATA[Name:]]></text> </staticText> <staticText> <reportElement x="15" y="109" width="40" height="11"/> <textElement> </textElement> <text> <![CDATA[Details:]]></text> </staticText> <staticText> <reportElement x="10" y="122" width="51" height="11"/> <textElement> </textElement> <text> <![CDATA[Valid from:]]></text> </staticText> <staticText> <reportElement x="130" y="122" width="15" height="11"/> <textElement> </textElement> <text> <![CDATA[To:]]></text> </staticText> <textField> <reportElement x="48" y="95" width="112" height="12"/> <textElement/> <textFieldExpression> <![CDATA[$F{PatronName}]]></textFieldExpression> </textField> <textField> <reportElement x="55" y="109" width="104" height="12"/> <textElement/> <textFieldExpression> <![CDATA[$F{Department}]]></textFieldExpression> </textField> <textField> <reportElement x="61" y="121" width="68" height="13"/> <textElement/> <textFieldExpression> <![CDATA[$F{MembershipStarts}]]></textFieldExpression> </textField> <textField> <reportElement x="145" y="121" width="84" height="12"/> <textElement/> <textFieldExpression> <![CDATA[$F{MembershipEnds}]]></textFieldExpression> </textField> </band> </detail> </jasperReport> Back side <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="PatronIdCardBackSide" language="groovy" columnCount="2" pageWidth="595" pageHeight="842" columnWidth="292" leftMargin="5" rightMargin="5" topMargin="5" bottomMargin="5"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <parameter name="OrganizationName" class="java.lang.String"/> <parameter name="LibraryName" class="java.lang.String"/> <parameter name="LibraryAddress" class="java.lang.String"/> <field name="Address" class="java.lang.String"/> <title> <band/> </title> <detail> <band height="160"> <staticText> <reportElement x="18" y="6" width="43" height="12"/> <textElement> </textElement> <text> <![CDATA[Address:]]></text> </staticText> <staticText> <reportElement x="12" y="30" width="225" height="36"/> <textElement> </textElement> <text> <![CDATA[It is requested that kindly protect this card from theft, mutilation, wear tear etc. This card is not transferrable. In absence of this card the borrowing facility is not possible.]]></text> </staticText> <line> <reportElement x="14" y="131" width="100" height="1"/> </line> <line> <reportElement x="137" y="131" width="100" height="1"/> </line> <staticText> <reportElement x="29" y="136" width="69" height="7"/> <textElement> </textElement> <text> <![CDATA[Issuing Authority]]></text> </staticText> <staticText> <reportElement x="177" y="136" width="36" height="7"/> <textElement> </textElement> <text> <![CDATA[Librarian]]></text> </staticText> <staticText> <reportElement x="12" y="70" width="203" height="11"/> <textElement> </textElement> <text> <![CDATA[In case the card is found please return it to: ]]></text> </staticText> <line> <reportElement x="11" y="82" width="202" height="1"/> <graphicElement> <pen lineWidth="0.5" lineStyle="Solid"/> </graphicElement> </line> <textField isStretchWithOverflow="true"> <reportElement x="11" y="83" width="111" height="11"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{OrganizationName}]]></textFieldExpression> </textField> <textField> <reportElement x="130" y="83" width="100" height="11"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{LibraryName}]]></textFieldExpression> </textField> <staticText> <reportElement x="122" y="83" width="7" height="11"/> <textElement> </textElement> <text> <![CDATA[, ]]></text> </staticText> <textField isStretchWithOverflow="true"> <reportElement x="11" y="96" width="219" height="11"/> <textElement> </textElement> <textFieldExpression> <![CDATA[$P{LibraryAddress}]]></textFieldExpression> </textField> <textField> <reportElement x="66" y="6" width="171" height="17"/> <textElement/> <textFieldExpression> <![CDATA[$F{Address}]]></textFieldExpression> </textField> </band> </detail> </jasperReport> |
Kindly replace those 2 files with the attached files. Let us know if it worked! On Fri, Apr 10, 2015 at 1:32 PM, Ali Ahammad Taher Hasan [via NGL] <[hidden email]> wrote:
PatronIdCardBackSide.jrxml (4K) Download Attachment PatronIdCardFrontSide.jrxml (5K) Download Attachment |
I have replaced those two files with those of the attached files. But it still shows 'null' where library name and organization name should be displayed.
|
Respected Patron,
We replicated the problem. We think there is a problem with PatronIdCard.properties. Please replace its contents with these and also make sure there is a Logo.jpg according to LogoLocation LibraryName=Taher Library OrganizationName=Taher Organization LogoLocation=C:/NGLWorkBenchFiles/images/Logo.jpg On Saturday 11 April 2015 12:27 PM, Ali
Ahammad Taher Hasan [via NGL] wrote:
I have replaced those two files with those of the attached files. But it still shows 'null' where library name and organization name should be displayed.
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Should I make changes in PatronIdCard.properties like the following?
MyLibrary=CENTRAL LIBRARY=My OrganizationName=KABI NAZRUL COLLEGE=My Organization LogoLocation=C:/NGLWorkBenchFiles/images/Logo.jpg |
Respected Patron,
The mentioned is wrong. It must be like this LibraryName=CENTRAL LIBRARY OrganizationName=KABI NAZRUL COLLEGE LogoLocation=C:/NGLWorkBenchFiles/images/Logo.jpg On Thursday 16 April 2015 11:11 AM, Ali Ahammad Taher Hasan [via NGL] wrote: > MyLibrary=CENTRAL LIBRARY=My OrganizationName=KABI NAZRUL COLLEGE=My > Organization > LogoLocation=C:/NGLWorkBenchFiles/images/Logo.jpg -- NGL Open Source Support Verus Solutions NGL - Install Happiness -- Plot No:69, Krishnapuri Colony, West Marredpally, Secunderabad, India - 500 026 Support email: [hidden email] Land Line: +91 40 27719161 / 62 Support Mob: +91 70758 24768 / 69, +91 74167 82119 / 83719 Business Mob : +91 70758 24766 / 67
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Thank you. The problem is solved.
|
Free forum by Nabble | Edit this page |