Have you tried this?

<textFieldExpression class="java.lang.String"><!
[CDATA[$F{myBooleanField}.booleanValue() ? "1" : "2" ]]></textFieldExpression>

-Scott

On Wednesday 20 September 2006 10:21, you wrote:
> guys,
>
> i am implementing jasper reports within my tapestry web app. and i am
> sorry i should probably post this to jasper forums, but i am really in
> urgent need for help here.
>
> i have a field which is returning a boolean value true or false. i
> want to replace a true with a 1 and a false with a 2 within my report.
> how can i do this.
>
> can somebody pls help me out here. thanks and sorry for posting here.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to