usha.vellala Posted August 4, 2014 Share Posted August 4, 2014 Hi All, I created a parameter whose type is "Collection" and it is a multi select parameter. I want to choose one value as default but I am unable to do so. I have tried all the options mentioned in this forum likethe default values as " new ArrayList(Arrays.asList(new String[] {"WhatValueUWant"})) "and " [" "] " but still didn't work. Can any one please help me here ? Thanks, Link to comment Share on other sites More sharing options...
mlopez_1 Posted August 4, 2014 Share Posted August 4, 2014 Hello, I use apache Commons Lang 3 library. Put it into Preference -> Java -> User Libraries in Jaspersoft Studio and then parameter's property 'Default Value Expression':Arrays.asList("VALUE1","VALUE2", ....)And parameter's property 'class' : java.util.List Regards Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now