jQuery in Action, 3rd edition
The moose likes Other Open Source Projects and the fly likes Jasper - Dynamic TextField Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Jasper - Dynamic TextField" Watch "Jasper - Dynamic TextField" New topic

Jasper - Dynamic TextField

Leo Madrid

Joined: Nov 09, 2009
Posts: 13
Hi all,

In JasperReport, is there a way hide the whole textfield element in the code below with an "if" type of statement?
I know there is a "printWhenExpression" but this doesn't work with a whole textfied section.

Basically what I want do do is "If myParameter == false; completely ignore the whole text field section below".
Now, I may be looking at this wrong. Being a web developer, I'm used to using if conditions to completely eliminate huge sections of html.
So perhaps what I'm trying to do is impossible in the reporting world.

Any help would be appreciated.


I agree. Here's the link: http://aspose.com/file-tools
subject: Jasper - Dynamic TextField
jQuery in Action, 3rd edition