Jump to content

scriplet in parameter


linvicch

Recommended Posts

Hi, I would like to pass the returned value of a sciplet into the default expression of a parameter. It doesn't seem to work.. this is what I have done

parameter:   flag-> java.lang.Integer

default expression:new Integer(ReportTrigger.getFlag())

 

and on my filter expression I have

new Boolean($P{flag}.intValue()==1?true:false)

 

I can't populate the filter expression with a parameter that reads in a scriplet?

 

 

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