Jump to content
Changes to the Jaspersoft community edition download ×

help for printWhenExpression


Recommended Posts

By: Pinkal Shukla - pinkal

help for printWhenExpression

2002-12-11 12:11

can anybody help for printwhenExpession giving example

 

 

 

 

 

By: Chuck Deal - cdeal

RE: help for printWhenExpression

2002-12-11 12:39

This sample is directly from the FirstJasper.xml

 

<rectangle>

<reportElement x="0" y="5" width="1" height="1" forecolor="#FF0000" backcolor="#FF0000">

<printWhenExpression>new Boolean($F{OrderID}.intValue() % 10 == 0)</printWhenExpression>

</reportElement>

<graphicElement stretchType="NoStretch"/>

</rectangle>

 

 

The basic idea is to have an expression that evaluates to a Boolean value

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