Jump to content
Changes to the Jaspersoft community edition download ×

JasperReports Server multi select query - default value


xavier.bonislawski

Recommended Posts

  • 2 weeks later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

The default Value Expression on the Parameters initiates the parameter with a default value. 

so initiating a default value with nothing should resolve this issue.

For example in the below snippet code, my parameter is an arraylist and I'm initiating it with new ArrayList(Arrays.asList()), which is a blank arraylist. 

<parameter name="paramTest" class="java.util.ArrayList">
        <defaultValueExpression><![CDATA[new ArrayList(Arrays.asList())]]></defaultValueExpression>
    </parameter>

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...