Jump to content
Changes to the Jaspersoft community edition download ×

Bob.Lawson

Members
  • Posts

    9
  • Joined

  • Last visited

Bob.Lawson's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. The issue is I want to pass in the location of the picture. I do not always wany to have the same picture. I have a detail line with two picture positions on it. I have a cursor with basically two fields(picture1 and picture2). If I have 4 pictures I would have two rows and so on.
  2. I am trying to display images in a report. To that end I have an imageExpression. <imageExpression><![CDATA[$F{picture1}]]></imageExpression> I even included a border to see if it would show up in case there was a problem displaying the image but no luck on that either. I have tried setting $F{picture1} field to: \192.168.10.16castitimages200581921.JPG//192.168.10.16/castit/images/2005/08/1921.JPGbut with no luck in either case. The image is stored on a share on a remote computer. I can navigate to the image using Windows Explorer so I know the image is there. I can click on the image and display it. I can past the top path into windows explorer and it displays the image. Any ideas? Thanks.
  3. Just found this and it worked for me: http://community.jaspersoft.com/questions/972671/would-anyone-explain-me-how-add-data-source-part-report-book
  4. I have been playing with Report Books all morning and getting no output, it also does not seem to touch my JRDatasource(s) so that got me asking the question. Are Report Books available in the community edition? Great idea for running multiple reports together as one report but only if they are available. Thanks
  5. I have two reports, Report1.jrxml and Report2.jrxml. Both reports work when run individually. I have specified whenNoDataType="AllSectionsNoDetail" so that I will get the header even with an empty dataset. This works with both reports when run alone. Now I want to run them together so I created a book and added both reports to the book. I pass the JRDataSource to each report, but even if I did not I should still get the header. However I get nothing, just an empty PDF returned. <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.3.1.final using JasperReports Library version 6.3.1 --><!-- 2017-06-19T11:10:26 --><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="Empty_Book" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" sectionType="Part" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30" uuid="d2716064-8ae4-40cf-a575-33afba400e3a"> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <property name="net.sf.jasperreports.print.create.bookmarks" value="true"/> <parameter name="Report1DataSource" class="net.sf.jasperreports.engine.JRDataSource"/> <parameter name="Report2DataSource" class="net.sf.jasperreports.engine.JRDataSource"/> <parameter name="company" class="java.lang.String"/> <parameter name="address1" class="java.lang.String"/> <parameter name="address2" class="java.lang.String"/> <parameter name="city" class="java.lang.String"/> <parameter name="state" class="java.lang.String"/> <parameter name="zip" class="java.lang.String"/> <parameter name="phone" class="java.lang.String"/> <parameter name="fax" class="java.lang.String"/> <parameter name="website" class="java.lang.String"/> <queryString> <![CDATA[]]> </queryString> <detail> <part evaluationTime="Now" uuid="1ee53675-d742-4aed-8bc3-7b67af20545e"> <p:subreportPart xmlns:p="http://jasperreports.sourceforge.net/jasperreports/parts" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/parts http://jasperreports.sourceforge.net/xsd/parts.xsd"> <subreportParameter name="REPORT_CONNECTION"> <subreportParameterExpression><![CDATA[$P{REPORT_CONNECTION}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="REPORT_DATA_SOURCE"> <subreportParameterExpression><![CDATA[$P{Report1DataSource}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="company"> <subreportParameterExpression><![CDATA[$P{company}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="address1"> <subreportParameterExpression><![CDATA[$P{address1}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="address2"> <subreportParameterExpression><![CDATA[$P{address2}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="city"> <subreportParameterExpression><![CDATA[$P{city}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="state"> <subreportParameterExpression><![CDATA[$P{state}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="zip"> <subreportParameterExpression><![CDATA[$P{zip}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="phone"> <subreportParameterExpression><![CDATA[$P{phone}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="fax"> <subreportParameterExpression><![CDATA[$P{fax}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="website"> <subreportParameterExpression><![CDATA[$P{website}]]></subreportParameterExpression> </subreportParameter> <subreportExpression><![CDATA["src/com/castit/reports/templates/qualitycontrol/nondestructivetesting/FpiTechnique.jasper"]]></subreportExpression> </p:subreportPart> </part> <part uuid="d3162c3a-5eba-45b7-9d48-800f5dddfc75"> <p:subreportPart xmlns:p="http://jasperreports.sourceforge.net/jasperreports/parts" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/parts http://jasperreports.sourceforge.net/xsd/parts.xsd"> <subreportParameter name="REPORT_CONNECTION"> <subreportParameterExpression><![CDATA[$P{REPORT_CONNECTION}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="REPORT_DATA_SOURCE"> <subreportParameterExpression><![CDATA[$P{Report2DataSource}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="company"> <subreportParameterExpression><![CDATA[$P{company}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="address1"> <subreportParameterExpression><![CDATA[$P{address1}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="address2"> <subreportParameterExpression><![CDATA[$P{address2}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="city"> <subreportParameterExpression><![CDATA[$P{city}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="state"> <subreportParameterExpression><![CDATA[$P{state}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="zip"> <subreportParameterExpression><![CDATA[$P{zip}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="phone"> <subreportParameterExpression><![CDATA[$P{phone}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="fax"> <subreportParameterExpression><![CDATA[$P{fax}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="website"> <subreportParameterExpression><![CDATA[$P{website}]]></subreportParameterExpression> </subreportParameter> <subreportExpression><![CDATA["src/com/castit/reports/templates/qualitycontrol/nondestructivetesting/FpiTechniqueWithImages.jasper"]]></subreportExpression> </p:subreportPart> </part> </detail></jasperReport>[/code]
  6. I have been passing header information, Company name, address etc into the report using Parameters, and passing the detail in using fields. Now I want to create a Report Book. So how does parameter passing work in a Report Book. I took a quick look at the documentation but do not see it. If I define a parameter 'company' to the Report Book, will all report in the Report Book see the parameter? Thanks
  7. Currently when I edit and compile with the Jaspersoft plugin for eclipse the compiled report is placed in the same directory as the report. Is there a way to get it to be built in and build/classes directory so I do not have to manyallu copy it there? Thanks
  8. I am trying to use IF() when building an address string but keep running into a ClassNotFound error. $F{site_name}+"n"+ $F{site_address1}+"n"+ IF($F{site_address2}.length()>0,$F{site_address2}+"n","")+ $F{site_city}+", "+$F{site_state}+", "+$F{site_zip}[/code]I have tried many things but I can not seem to run it with the IF() included. I have checked all the fields and the above prints fine if I do not have the IF(). Ideas? Thanks
  9. I am having problems getting the plugin installed in Eclipse. I am running: Eclipse Java EE IDE for Web Developers. Version: Neon.2 Release (4.6.2) Build id: 20161208-0600 I have tried Eclipse Marketplace but I get the following messageThe following solutions are not available: Jaspersoft Studio 6.3.1Proceed with the installation anyway?If I do it goes through 15 steps that take a long time and then saysthere is nothing to install. I have also tried Install New Software with url: http://jasperstudio.sourceforge.net/updates/but it displays:There are no items available Others in my group have it installed and they have followed those steps but two of us are getting the above errors. I have installed the standalone version but would really like the plugin.
×
×
  • Create New...