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

asfernandes

Members
  • Posts

    44
  • Joined

  • Last visited

asfernandes's Achievements

Contributor

Contributor (5/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. It's even worse than my original report, because, if current month is a 30-day month and the field is blank, you cannot start entering 31 because it automatically sent the month to the current month, so you have to enter another day, edit the month and came back to adjust the day to 31. By the way, and off topic for this ticket, I know, each time we enter in the design and open the preview again, all parameters get they default or blank values. Is there a way to avoid that, i.e., maintain the previously entered values?
  2. Changed Assigned User from @anonymous to - Any news on that? Can you then see with Nebula what they can do to make the control more usable for users countries with DD/MM/YYYY pattern?
  3. > I don't see why variable-width font does not make sense for SQL, can you give me a strong argument? Serious??? Do you think any programming language, where you need to indent things, make sense with variable width fonts? I don't see any other IDE/tool doing that other than the horrible Oracle Reports, the tool we were just replacing with iReport.
  4. @morlandin, but like I said in the initial description, the query may depend on a parameter, and that parameter (when not null) make the query to return non-null data. But then, JSS (not JasperReports - it works outside JSS) do not allow me to put the parameter value and run the query with null parameters, causing the problem.
  5. Changed Assigned User from @User_306070 to @anonymous Here is it, in the simplest possible form.
  6. I was able to make it work following this thread: http://community.jaspersoft.com/jaspersoft-studio/issues/3228
  7. I had an executor factory working in iReport and now I'm trying to make it work in JasperSoft Studio. This is a simple custom language based in JRJdbcQueryExecuterFactory. The library is in the report project classpath. I can import classes from it and use in the report. The library also has an extension registry factory (referenced in jasperreports_extension.properties) which is loaded. But if I use the language from my executer factory, the report always displays empty inside the IDE. It also doesn't show my language in the drop box in the Dataset Query Dialog. In my application everything works, as in iReport. I see in the IDE that the class (referenced in jasperreports.properties) is not even loaded. How to make it work?
  8. I'm looking for better alternatives than rewrite a possible long and slow query in a subreport to display things that already could be computed while passhing through the data. Sorry, but I don't believe in what you suggested about hardcoding tests for each state (or whatever). This is something against any well programming practice, and I'm looking for a better (generic) way to solve problems.
  9. Let's say you have this data source: State City Sales SP São Paulo 10 SP Ribeirão Preto 5 RJ Rio de Janeiro 8 RJ Campos 3 And you want a report that 1) Print this table; and 2) Print the counts per state in the end: State Sales SP 15 RJ 11 Is there a way to use groups and put the counts per state right after all cities? Or what's the recommended way to do it? Thanks. Adriano
  10. Would you please apply the attached patched? We run with it for a long time with previous versions. I don't want to need to repatch each version when we upgrade. Thanks.
  11. Is the fix for this issue scheduled for a future version?
  12. Giulio, The problems happens dut eto this piece of code in ReportConverter.java, when calling JRExpressionUtil.getSimpleExpressionText: protected void loadReportTemplateStyles(JRReportTemplate template, Set loadedLocations) { JRExpression sourceExpression = template.getSourceExpression(); if (sourceExpression != null) { String location = JRExpressionUtil.getSimpleExpressionText(sourceExpression); if (location == null) { log.warn("Template source expression " + sourceExpression.getText() + "cannot be evaluated; some styles might remain unresolved."); } else { HashSet parentLocations = new HashSet(); loadTemplateStyles(location, loadedLocations, parentLocations); } } }
  13. Let me add something interesting. When I use an expression for the template, it is called. And it just works for purpose of expand the Styles / Template in the Report Inspector with the elements of the external reference. When my template expression is just a simple ("/path.jrtx") string, everything works. But if it's something like "" + "/path.jrtx" it cause the problem. Looks like in some place it's evaluated different. And the problem is not that fields and texts become blanks in the designer, but they use the default font, which in my case make it feel they are blank because they are small.
  14. Hi! I may use external styles with JasperReports and define them with Java expression directly or inside a parameter. That works, and I may use it to specify the directory where the jrtx file is. But when I do the samething with iReport, iReport seems to not locate the file and shows every text/static field blank in the designer view. I tried that with 3.6.1. How can I do that (my jrtx is in the parent dir. of the report, so I need to specify it)? Thanks.
×
×
  • Create New...