StudioUser_100 Posted February 24, 2015 Share Posted February 24, 2015 I created a parameter which is java.util.Collection . I want to initialize this paramater with some String values. How can i achieve this? Link to comment Share on other sites More sharing options...
Solution mlopez_1 Posted February 24, 2015 Solution Share Posted February 24, 2015 Using something like this:Arrays.asList("VALUE1","VALUE2",.....) Link to comment Share on other sites More sharing options...
StudioUser_100 Posted February 24, 2015 Author Share Posted February 24, 2015 i have already tried that, but when i preview my report my filter has no elements. I set this in default value expression Link to comment Share on other sites More sharing options...
mlopez_1 Posted February 24, 2015 Share Posted February 24, 2015 Try to show parameter in report and if it's well initialized the problem will be other Link to comment Share on other sites More sharing options...
StudioUser_100 Posted February 24, 2015 Author Share Posted February 24, 2015 Thanks. You are right!!! 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