morlandin
-
Posts
666 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Downloads
Posts posted by morlandin
-
-
Hi,
can you provide a sample project already configured where the error is easily reproducible? Thank you.
-
You must set the password property at report level and the locked property at element level. I've tested something like this and it works:
<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="Blank_A4" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="3bff4add-3bc7-49b8-acd4-0ec822191576"><property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/><property name="net.sf.jasperreports.export.xls.password" value="test_password"/><queryString><![CDATA[]]></queryString><background><band splitType="Stretch"/></background><title><band height="79" splitType="Stretch"><staticText><reportElement x="123" y="2" width="100" height="30" uuid="c9f7abf8-2ed4-44c3-abf5-84fda5d190f4"><property name="net.sf.jasperreports.export.xls.cell.locked" value="true"/></reportElement><text><![CDATA[static Text]]></text></staticText></band></title></jasperReport> -
The problem is that JasperReports can't the xml file since you are not providing the absolute path, you have two choices
-The first one is to provide the context of the current report, in this way it will look inside the project folder of the report to search the resource when the path is relative, like this:
new net.sf.jasperreports.engine.data.JRXmlDataSource((JasperReportsContext)$P{JASPER_REPORTS_CONTEXT}, "rmc.xml", "/mytexts/text")-Provide the absolute path for your jrxml, like this:new net.sf.jasperreports.engine.data.JRXmlDataSource( "C:/Users/Marco/workspace/MyReports/rmc.xml", "/mytexts/text") -
Can you provide the xml, the main report and the subreport so we can debug to find why beofre it worked and now not?
-
A good starting point can be create a new JSS plugin data adapter wizard. This was done to allow the users to easly port a JasperReport data adapter on JSS. This wizard will create many of the code that you need to plug your data adapter.
-
Hi,
this depends to which attributes you want to change. You can use an external style reference shared between the reports that you can change and the changes are inherited by the reports who use it. But the styles can not change attributes like size and position. For this ones you can use a Template Set (you can access it from the settings menu on the right-upper corner of the editor), that allow to define some attributes for the new elements and it allows also to provide a default size for each type of element. Also the template set are shared between the reprots but they are used only when an element is created and if you change something in the template set this is not applied also on the report created with it.
However, if the attributes you want to change are supported by a style element then create an external style and use it as reference inside your reports.
-
Hi, i've fixed some NPEs about the crosstab editor, now you can add column or row and undo without problem. If you get the errors during the run of the report it can be also JasperReports, or we allow to delete to much stuff. However if you send us the report that give the exception at runtime we will give a look to the exception.
For the next time please use the answer question only for the answer request on how to use the product, for the bugs use the tracker (like you have done the previous times), because for us it easier to read them and keep track of them also. Thanks!
-
I've just checked and this function was not implemented in JSS 5.5, it is available from JSS 5.6 . Actually JSS 5.6 is still in beta, if you want you can download the last public beta from http://sourceforge.net/projects/jasperstudio/files/beta-release/packages/ , but consider that it may contains many bugs.
-
yes, then you need only to enable the Text Property checkbox and that buttons (along with the text size, font... buttons) will appears in the toolbar when you select an element with some text inside
-
Hi,
you can enable it from window->preferences->Jaspersoft Studio->Report Designer->Toolbars and here check "Text Properties", now by selecting a textual element you will se in the toolbar all the controls to manage the text.
-
It's porbably the problem where all the datasource is consumed by the chart. If you leave in the report only the table do you see it?
-
Hi,in the cheatsheet there was an error, in the step with the text "In the fields Series and Label add the value F{SHIPCITY}", the name of the field should be $F{SHIPCITY}.Anyway this isn't probably your problem since the report dosen't even compile with a wrong variable name. Another thing is that your chart area is just too small, i've added two new steps to the cheatsheet where is explained how enlarge the chart. Anyway you can try to set the height of the summary band to 500 and then right click on the chart, select "Size To Container" and then "Fit Both". Doing this the chart will expands to fill all the summary.Please, let us know if this solved your problem. Thanks!
Using chart customizer from Studio on Server
in Products
Posted
Hi,
the customizer are embedded in JasperReports, if on studio they works and on the server not probably the JR version is too old an it doesn't support customizers.