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

Render grid from parameter via Webservice


yaroslav

Recommended Posts

Hello,

 

I'm work with jasper server via webservice from PHP script.

If I use JDBC everything works fine.

But now I want set parameter in report.

something like that:

 

$a = array(

array('name' => 'Mark', 'age' => 28),

array('name' => 'Artur', 'age' => 15)

);

 

And then display like a grid in report

Name   |  Age

------------------------

Mark     | 28

Artur     | 15

------------------------

 

Is it possible?

Plese some examples or links where I can find it.

Thanks.

 

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You will have to play with it. Here is one approach that may work.

 

You would pass the collection as a value for an input control to the report.

 

You would need a custom data source (Java code on the server) that takes the collection from the parameter and presents it as a data source to the report.

 

 

Sherman

Jaspersoft

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...