Thanks Adrew that works.
I looked for more general solution but forget this simple one.
Regards Sasha.

On 4/18/06, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> Is this what you want?
>
> <t:dataTable sortColumn="#{bean.sortby}">
>   <t:column>
>     <t:commandSortHeader column="COLUMN1">
>       <t:outputText value="#{'COLUMN1' eq bean.sortby ? 'SORTED' :
> 'NOTSORTED'}" />
>     </t:commandSortHeader>
>   </t:column>
> </t:dataTable>
>
> -Andrew
>
>
> On 4/18/06, Sasa Milosavljevic <[EMAIL PROTECTED]> wrote:
> > I need to render different title on commandSortHeader link regarding
> > is it current  column equal to sort column. So I need to check for
> > every header something like this  commandSortHeader.columnName ==
> > sortColumn. I suppose i can find component via context , perform
> > conversion and check condition, but I am not sure is this the best way
> > to do that?
> > Thanks in advance.
> > Sasha
> >
>
>

Reply via email to