jXLS supports JEXL expressions listed at
http://commons.apache.org/jexl/reference/syntax.html .
So ternary condition should work fine I suppose.

--
Leo

On Wed, Nov 23, 2011 at 11:22 AM, Deina <deina_s...@yahoo.com> wrote:

> Hi,
>
> How can I use a ternary condition in a jxls template.
> Is it ok to use something like this:
>
> ${obj.value == true ? yes : no}
>
> Best regards,
> Dana
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> jXLS-user mailing list
> jXLS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jxls-user
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
jXLS-user mailing list
jXLS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxls-user

Reply via email to