Hmm. What kind of error are you getting, or what shows on the page? Also, you are aware that the convertStatus method must be on the row object, i.e. the class that the source list is made up of?
That's all I can come up with atm, but I'm new to this as well :) Anyone? Cheers, PS On 3/10/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: > > 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] > >