Jump to content

multiple value (checkbox) input control problem


kurky17

Recommended Posts

Hi,

I am having problems with multiple value query (checkbox) input control type.  In my jrxml file, I have this parameter:

<parameter name="PackageID" class="java.util.String" isForPrompting="true" />

and I want to produce checkboxes with corresponding PackageID values for my input control.

Now, when I preview my report on jasperserver, it does indeed show the checkboxes, but after I choose a few and run my report, it gives me the ff error:

Unknown parameter type java.lang.String for multiple value input

 

I have read from old forum posts about using java.util.Collection and it gives me a different error.  And this time, it doesn't even display the checkbox interface.

 

Anybody who can help me with this?

 

Thanks,

Michelle

 

 

EDIT:  Nevermind about this question, I was able to solve it using:

java.util.Collection as my parameter type and

$X{IN, table_fieldname, parameter_name} in my WHERE statement.

 



Post Edited by kurky17 at 06/21/2010 09:04
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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