Hi everybody,

I started to use contrib:Table instead of the For component yesterday
but now I have a problem and I'm not quite sure how to fix it.
Is it possible to define an ognl method call in the page specification
like this (convertStatus() but this doesn't work):

<component id="recordList" type="contrib:Table">
    <binding name="source" value="recordList"/>
    <binding name="columns" value="literal: date, 
status:status:convertStatus(status), !details"/>
    <binding name="initialSortColumn" value="literal: date"/>
    <binding name="pageSize" value="10"/>
    <binding name="rowsClass" value="beans.evenOdd.next"/>
    <binding name="columnsClass" value="literal:table_head"/>
</component>

In my template I only have

<span jwcid="recordList">
        <span jwcid="[EMAIL PROTECTED]">
        <a href="#" jwcid="showDetails"><span 
key="show-details">show-details</span></a>
        </span>
</span>

Perhaps, do I have to define the rows/columns explicitly in the template or
create a custom TableModel?

Thanks in advance!
  Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to