Jump to content
We've recently updated our Privacy Statement, available here ×

Nested textFieldExpression


Recommended Posts

By: mikel - mikel1982

Nested textFieldExpression

2006-06-27 03:09

<textFieldExpression class="java.lang.String"><![CDATA["Lokalizacja: " + new String($F{WYPOZYCZONY}.equals("Yes") ? $F{LOKALIZACJA_TYMCZASOWA} : new String($F{OBIEKT_ZLOZONY}.equals("Yes") ? $F{LOKALIZACJA_KONTRAHENTA} : $F{LOKALIZACJA}))]]></textFieldExpression>

 

My nested expresion dont work. When WYPOZYCZONY is Yes value everythink is ok - Lokalizacja value, but when it has No or other value i have blank field witout Lokalizacja ether.

If is posible to solve this problem like this ?

Please help me :) Because if, else if is not posible also.

 

 

 

By: mikel - mikel1982

RE: Nested textFieldExpression

2006-06-27 04:29

Ok I solved it. Field OBIEKT_ZLOZONY was DECODE field in my oracle view. It is Jasper Bug ?

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