got the problem. U where using character constant as the .equals() argument
not a String .  ie 'ht' . Use the string "ht" instead. 




anjay wrote:
> 
> 
> Can u please put this instead of ur expression,
>        new Boolean($P{EXPORT_TYPE}.equals("ht"))
> also can u please print the EXPORT_TYPE parameter in a textfield to ensure
> that it is the right export type code ur using inside the expression.
> 
> regards,
> anjay
> 
> 
> Thanks for your response. Can u elaborate more your answer pls? you know
> when i tried like this..<printWhenExpression>$P{EXPORT_TYPE}.equals('ht')
> ? Boolean.FALSE : Boolean.TRUE</printWhenExpression>
> 
> it raises an error message "Invalid character constant"  i tried ht with
> html,hr... but i can't get the correct constant and i can't get
> documentation too.
> 
>  Thanks for ur help
> 
> Helen
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-remove-the-group-header-in-html-format-but-not-in-pdf-format-tp21015167p21047217.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to