users@woodstock.java.net

Re: Table - Conditional Formatting

From: Winston Prakash <Winston.Prakash_at_Sun.COM>
Date: Tue, 15 Apr 2008 06:49:36 -0700

See if my blog helps

http://blogs.sun.com/winston/entry/setting_table_column_style

- Winston
http://blogs.sun.com/winston
>
> Hi,
>
> I have a webuijsf:table component that displays certain data obtained
> from web service call using ObjectArrayDataProvider. It works fine,
> but I now need conditional formatting on the table. Like if the value
> in a column is greater than certain number display it in green
> otherwise in red if it falls below another condition. JSTL c:choose or
> c:if does not work since it does not accept deferred expression. Could
> anyone comment on how to go about it?
>
> Regards,
> Naveen.