2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 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:29Ok I solved it. Field OBIEKT_ZLOZONY was DECODE field in my oracle view. It is Jasper Bug ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now