users@woodstock.java.net

Re: formatting tables: dynamic row highlighting

From: Dan Labrecque <Dan.Labrecque_at_Sun.COM>
Date: Tue, 13 May 2008 19:56:36 -0400

Using the styleClasses attribute of tableRowGroup, set a value
expression. As the table iterates over each row, your backing bean
method will be called and you may return the appropriate value.

Dan

Louis Polycarpou wrote:
> What is the best way to format a row (i.e. row highlighting) when a
> particular field value is present in a table column for that row?
>
> For example, I want to highlight all the rows in the table shown where
> Status = 'Not Started'. Status is a databound value.
>
>
>
> Thanks,
> Louis