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

showtime

Members
  • Posts

    5
  • Joined

  • Last visited

showtime's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. May be I put it in this way, please refer to the following code. This is example from the custom bean data source: C:\Jasper\jasperserver-ce-3.7.0\samples\customDataSource\webapp\WEB-INF\applicationContext-sampleCDS.xml Can I pass the parameter value, say "bar", to the JasperServer externally from a Web Service or JSP ? Code:<bean id="myCustomDataSource"class="com.jaspersoft.jasperserver.api.engine.jasperreports.util.CustomDataSourceDefinition"> <property name="factory" ref="customDataSourceServiceFactory"/> <property name="name" value="myCustomDataSource"/> <property name="serviceClassName" value="example.cds.CustomSimplifiedDataSourceService"/> <property name="validator"> <bean class="example.cds.CustomTestValidator"/> </property> <property name="propertyDefinitions"> <list> <map> <entry key="name" value="foo"/> </map> <map> <entry key="name" value="bar"/> <entry key="default" value="b"/> </map> <map> <entry key="name" value="repository"/> <entry key="hidden" value="true"/> <entry key="default" value-ref="repositoryService"/> </map> </list> </property></bean>
  2. Hi all, I have created a custom data source successfully. I have a parameter in the custom data source, which is a sql statement. In my custom data source, I will execute this sql statement and pass the ResultSet to the Jasper report. After I finished the coding, I found that I don't know how to define the parameter of the Custom Data Source dynamically. Anyone could give me some hits how I can pass a parameter to a Custom Data Source? I would use Jasper Web Service + JSP to run the report. Your help is much appreciated. Thanks. Gary
  3. I would like to ask whether I can set the access right of the reports by users or by user group in JapserServer Community Edition? Thanks.
  4. I would like to ask whether I can set the access right of the reports by users or by user group in JapserServer Community Edition? Thanks in advance.
×
×
  • Create New...