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

morlandin

Members
  • 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

Downloads

Everything posted by morlandin

  1. Changed Resolution from Open to Fixed Changed Status from New to Closed I've added tooltip text to this fields to give a minimum of explanation. However only to explain the concept of series that is probably the hardest to understand: Each value of the series has it own x value and y value expression. This means that each value series generate a chart, and all the charts will be painted overlaped. If you have only a series with static value "series 1" a single chart is painted. If you have another series "series 2" it will be paint two chart, one with the x and y values of the series 1 and one with the x and y values of the series 2. Then the chart 1 will be painted above the chart 2 (how this happen depends on the type of chart). I've talken about the values of the series because even if you have only a series but in it's expression you use a value that change during the execution of the report then in the end you will get a series for each of the values.
  2. morlandin

    JRS

    Changed Resolution from Open to Fixed Changed Status from New to Resolved Changed Assigned User from - to @morlandin
  3. This functionality is no longer applicable to our latest version. You can now set the compile with older JasperReports version in the properties of Studio or the Project. Please check the link here for documentation in the Jaspersoft Studio User Guide, Chapter: Properties and Configuration, Setting Compatibility with Earlier Versions of JasperReports Library OverviewJaspersoft Studio always uses and embedded version of JasperReports (tipically the one with the same version number of Studio) to build the report. Sometimes the user want to compile with an older version without used an older version of Jaspersoft Studio. This mostly because JasperReports dosen't provide an interface (graphical or from command line) to compile the report, so using it directly need some Java skills. For this reason was introduced inside Jaspersoft Studio a backward compatible compiler that can be used to compile a report with many JasperReports version and everything, from the download of the desired version of JasperReports to the use of it to compile, can be done trough a simple graphical interface. Download the desired version of JasperReportsThe first step to compile with an older version is download the files of that version. Jaspersoft Studio offer a simple interface to do this and to move the downloaded files in the right directory. First of all open the report you want to compile and expand the compile menu from the compile button on the editor. From the menu select "Manage JasperRepoers Version" A wizard will appear, showing all the JasperReports versions you can download and the ones you have already available. The version already on your disk will have a check mark on them, if this is the first time you use this feature then you shouldn't have any mark since there are no older version of JasperReports included in Studio by default. In this step when you check a version you don't have it will be downloaded from internet, so you will need an internet connection. The download can take some time depending on your connection speed, during the download will be shown the amount of data downloaded, cosnider that a JasperReports version has an average size of about 100MB. Always in this step when you uncheck something previously checked then it means you want to remove a JasperReports version from your system, so if you want to be able to use that version to compile you will need to redownload it. You can select or deselect any number of versions and the operation on them will be done sequentially For example select the version 4.7.0 and hit "Next". Now the download will start and you will not able to proceed with the wizard until it is finished. However you can abort the operation anytime, but in this case the files versions that was not completely downloaded will not be usable for the compilation. Once the operations are completed you will see a summary page where you have only to click "Finish". Compile with the downloaded version of JasperReportsAt this point you can compile your file, still expand the compile menu from the compile button and you will see a new option to compile the current file with all the downloaded versions. Select "Compile with JasperReports 4.7.0" The output of the compilation process is shown on a console view, it is also shown the command used to compile the report so the users can review advanced informations like the classpath. At this point you will find in the same location of the source file the jasper file generated with JasperReports 4.7.0. However maybe you don't want that a file generated with this version is placed inside the workspace among other japser files generated with different versions or also because you don't want it replaced by the automatic building. For this reason you can configure the output path. Form the compile menu go in the submenu "Backward Compatible Binary Destination". From here you can add a new absolute path on the filesystyem, select "Add destination path" to open the browse dialog and select the folder you want to use as output. The added folder will be used from now as default location, now every backward compilation will place the resulting file on the selected folder. You can access anytime to this menu and select one of the existing destination or add a new one. The menu will remember the last eight custom location allowing to switch between them easily, without need to select each time the target folder from the browser. Remember that the output folder is used only by the backward compatible JasperReports compiler, if you press directly the compile button will be used always the last version of JasperReports and the result of the compilation will be placed among the source, since it is a standard building. Delete the unnecessary JasperReports versionsYou can delete in any moment the old JasperReports versions you want to use. From the compile menu reopen the wizard trought "Manage JasperReports versions" like show in the first image. Now you will see already marked the version that are currently on your system. Unmark the ones you want to delete and press "Next" and they will be delete. Obviously since they are no more on your system you will not able to compile a report with that versions anymore, if you want to use on of it you must download it like you have done the first time. Advanced informationCompiling the file in this way is something external to the core of Jaspersoft Studio application. Jaspersoft Studio will internally use alway the last version of JasperReports and there is now way to switch it. For this reason the preview dialog will aways shown a report compiled with the last version and also all the other functions like the export and so on. This backward compatible compilation is provided with the purpose to allow to easly compilate the jrxml and use it outside Jaspersoft Studio, because many users want to use the last version of Jaspersoft Studio but still want a jasper file compiled with an older version of JasperReports because it is the one required from some third parties programs. Also for this reason the output of the compilation is shown in a separate console instead of the Report State view as usually. About the classpath used to compile the file, this procedure will try to use in the compilation proccess the same classpath that is defined on the project that contains the source file. The used classpath can be seen by the user when the backward compilation process is satarted. In the console will be paint the command used to compile the source file and in it there is written the used classpat, after the option "-cp".
  4. Between the 6.0.0 and the 6.0.2 the enumaration for the text alignment were changed in JasperReports. Where do you use the Jasper file? if you are using it on an external application you must be sure it support the new JasperReport version and that it read correctly the new enumerations for the alignment.
  5. Changed Resolution from Open to Duplicate Changed Status from Feedback Requested to Closed Changed Assigned User from @mrabbi to @morlandin Resolved, duplicate of http://community.jaspersoft.com/jaspersoft-studio/issues/3812
  6. It's not only a parameter problem, the query for the sampleDB i've provided it isn't never null, but still the chart raise the exception. So there is a bug also on JR. We have other bugs about the parameter request, we are working on that, but somehow it is difficult to reproduce. With your report for example the parameter is correctly requested. EDIT: Also the null exception when there are not null values seems a JSS bug, we are working on it.
  7. Update: Ok, i've seen your bug, it raise the null exception even if in the dataset there isn't any record with a null key. It's a bug, but it a JasperReprots bug from what i've saw. I've already forwared the information about the bug to the JR team, i will keep you updated in this thread.
  8. Changed Assigned User from @anonymous to @morlandin I've tested your report with a similar query that can be used against the sampleDB: select sum(TOTAL) as QUANTIDADE, LASTNAME as SISTEMAfrom DOCUMENT left join ADDRESS on DOCUMENT.ADDRESSID = ADDRESS.IDgroup by LASTNAMEAnd yes, the field used for the series can't be null, but it seems normal. A series key value shouldn't be null. Is it possible that your data is changed over the time allowing null values?
  9. You said that you get the error when you open the report, right? because i can open it without any problem, but when i try to run the report it says that the category series is null. However this is a JasperReprot error and it has anything to do with JSS. Other than this i've tested your reprot also with iReport 5.6 and JR return the same error. Probably in the old version the null value for the category series was a valid one, because also the statement you wrote aim to avoid the null value since it is replaced with zero.
  10. 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.
  11. Changed Assigned User from - to @User_306070 can you provide the report?
  12. Changed Resolution from Open to Fixed Changed Status from New to Resolved Changed Assigned User from @User_306070 to @morlandin
  13. Changed Assigned User from - to @User_306070 If this happen also in the preview then probably it's due to some changes on JasperReport, also in the editor JasperReport is used to render the elements
  14. Changed Resolution from Reopened to Fixed Changed Status from Acknowledged to Closed I've add the paste operation also on the dialog, available using the contextual menu (cmd + v will not work since you are inside a modal dialog with no element selected, and it is not a standard case of copy\paste). However remember that the paste operation will be enabled only if there are something to paste. Also if you copy an expression property on an element an try to paste it as a report property (and the report support only value properties, not expression ones). That property will be skip.
  15. Probably you are trying to paste on the properties dialog of the target, but you need to paste directly on the target element(both with the cmd + v or right click and paste). This was done to allow the paste operation on all the selected elements, while the dialog can be opened only for one of the selected elements
  16. Changed Resolution from Open to Fixed Changed Status from Assigned to Resolved
  17. Changed Status from New to Assigned Changed Assigned User from @anonymous to @morlandin
  18. Changed Resolution from Open to Works as Designed Changed Status from New to Closed Changed Assigned User from @User_306070 to @anonymous Here a step by step tutorial on how to add the custom visualization component to JRS. I suppose that you are on windows with JSS 6.0.3, JRS 6.0.1 and default installations path. I also provide the paths that i have on my windows machine, on the other OS they will change a bit.- Found the jasperreports-customvisualization-6.0.1.jar (on my machine the path is C:\Program Files\TIBCO\Jaspersoft Studio-6.0.3.final\configuration\org.eclipse.osgi\bundles\23\1\.cp\lib\jasperreports-customvisualization-6.0.1.jar- Copy the jar file inside the web-inf\lib folder of your jasperserver (C:\Jaspersoft\jasperreports-server-cp-6.0.1\apache-tomcat\webapps\jasperserver\WEB-INF\lib)- Edit the file jaspereports.properties in web-inf\classes (C:\Jaspersoft\jasperreports-server-cp-6.0.1\apache-tomcat\webapps\jasperserver\WEB-INF\classes)- Add the the two properties listed above (the path of require js should be C:\Jaspersoft\jasperreports-server-cp-6.0.1\apache-tomcat\webapps\jasperserver\optimized-scripts\bower_components\requirejs\require.js)Stop and restart the server. After this the upload of report with the custom visualization component should work.
  19. Changed Assigned User from - to @User_306070 The version of JasperReports used with ant and the one used from you JSS (6.0.3) are the same?
  20. Changed Assigned User from @anonymous to @morlandin Probably your supportsGetFieldsOperation() dosen't need the parameter because the signature of the method is changed after the 5.5.0. At last in the 5.6.0 it need the context. However if you can share with us your plugin data adapter i can try to debug to find the problem. At the current state, without your data adapter, it is not possible to debug this, since al the other data adapters on JSS uses the same methods to retrive the fields and they work.
  21. Changed Resolution from Open to Fixed Changed Status from New to Resolved Changed Assigned User from @User_306070 to @morlandin
  22. Changed Resolution from Open to Fixed Changed Status from New to Resolved Changed Assigned User from - to @User_306070
×
×
  • Create New...