raysefo Posted December 13, 2007 Share Posted December 13, 2007 Hi, I have some lines on my backgorund! And i want to hide them if page number is 1, else they will be visible. But I could NOT manage.Here is the code below on my print when expression part: $V{PAGE_NUMBER}.equals("1") ? Boolean.FALSE:Boolean.TRUE Any help please? Link to comment Share on other sites More sharing options...
Pedja Posted December 13, 2007 Share Posted December 13, 2007 Use only !$V{PAGE_NUMBER}.equals("1"), or new Boolean(!$V{PAGE_NUMBER}.equals("1")) if you get an error like "Cannot cast from boolean to Boolean...." 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