This is available in tomahawk as of earlier this week thanks to Mathias Broekelmann. Search the list archives for subject "Variable cell style classes in data table". The short and skinny is that you can do something like:

<x:dataTable values="#{bean.values}" var="val">
   <x:column styleClass="style-#{val}">
       <h:outputText value="#{val}" />
   </x:column>
</x:dataTable>

Rich

Sean Schofield wrote:

I don't think this is available.  We're currently working on something
at work that is similar.  We need the ability to dynamically determine
column width.

sean

On 8/4/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
I recall some discussion awhile ago about the possibility of dynamically
determining a style class for an individual row or cell in a table based
upon some information in the associated data bean.  Can someone
summarize what (if anything) was decided?  Is this capability available?

Thanks,

- Brendan


Reply via email to