Hi, Can I put java code inside the .jrxml?
For example, I want to put an if() or a "new ..()"
Is it possible? How?
Thanks
Hi, Can I put java code inside the .jrxml?
For example, I want to put an if() or a "new ..()"
Is it possible? How?
Thanks
You can't put any code, you can only put expressions. So, you can put:
new Something(someParameter)
somebool.booleanValue == true ? new Something() : new OtherThing()
;but you can't use if
, for
, switch
, declare methods or classes.