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

matheusluz39

Members
  • Posts

    12
  • Joined

  • Last visited

matheusluz39's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. Yes, I tryed. When I put: "paramArray": {1} >>> Uncaught SyntaxError: Unexpected token } "paramArray": {1, 2} >>> Uncaught SyntaxError: Unexpected token , "paramArray": [{1}] >>> Uncaught SyntaxError: Unexpected token } "paramArray": [{1, 2}] >>> Uncaught SyntaxError: Unexpected token ,
  2. How can I put a name to my file? report.run(function(){ report.export({ outputFormat: "pdf" }).done(function(link){ window.open(link.href); }); });[/code]
  3. Good morning, I have this parameters. <parameter name="paramString" class="java.lang.String"/> <parameter name="paramArray" class="java.util.ArrayList"/>[/code] Using visualiza.js. How can I send parameters to paramArray? visualize(function ( v ){ v("#container").report({ resource: "/public/MyProject/Reports/teste", params: { "paramString": ["Title! Hello world"], "paramArray": [???] } }); });[/code] When I tried put "paramArray": [ [1,2,3] ] Return this error: 09:56:11.468 [bi/report/Report] [visualize.js:49] [ERROR] - illegal.parameter.value.error : Can not deserialize instance of java.util.ArrayList out of END_OBJECT token at [source: org.apache.catalina.connector.CoyoteInputStream@193a86fe; line: 1, column: 489] (through reference chain: com.jaspersoft.jasperserver.jaxrs.report.ReportExecutionRequest["parameters"]->com.jaspersoft.jasperserver.dto.reports.ReportParameters["reportParameter"]->com.jaspersoft.jasperserver.dto.reports.ReportParameter["value"]) What's wrong? Thank you...
  4. I just found the option Ignore Pagination. It's possible change this option dinamically? When I'll render the report set true and when I'll export to pdf set false.
  5. Hello, I have a table report with multiple pages and I'm rendering in a #container. But only show the first page. I would like that this report doesn't break the table and show me all registers. What I have to do? Thank you.
  6. Hozawa, thaks for your answer. I solved this problem replacing the parameter type to java.lang.Object.
  7. Hello, I'm trying to use a jasper studio and visualize.js In my report, I have this parameter: <parameter name="status_id" class="java.util.Collection"/>[/code] In my query, I have this clausule WHERE $X{IN,table.status_id,status_id}[/code] And my code of visualize.js is: visualize(function ( v ){ params = { status_id": [{1:1,2:2}] }; v("#container").report({ resource: "/public/Reports/report3", params: params }); });[/code] But this parameter dosen't work. How I have to send a param to java.util.Collection in visualize.js?
  8. I created 3 dataset in my report. I need to put them as a list. Like as: Filters: List 1: aaaaaa, bbbb, ccccccccccccccc. List 2: dd, eeeeeeeeeeeeeeeee, gggggggggggggg. List 3: Hhhhhh. How can I do it? Thank you.
  9. Hello, I'm trying to use a jasper studio and visualize.js In my report, I have this parameter: <parameter name="status_id" class="java.util.Collection"/> In my query, I have this clausule WHERE $X{IN,table.status_id,status_id} And my code of visualize.js is: visualize(function ( v ){ params = { status_id": [{1:1,2:2}] }; v("#container").report({ resource: "/public/Reports/report3", params: params }); }); But this parameter dosen't work. How I have to send a param to java.util.Collection in visualize.js?
×
×
  • Create New...