Hi Paul,
Sure it can.You can specify your column id in your column method.
there is a SimpleTableColumn's constructor that takes 3 parameters. column id,
column display name, and sort option
for example:
public ITableColumn getCurrentStatusColumn(){
SimpleTableColumn currentStatusColumn = new
SimpleTableColumn("statusId","Status",true);
...
}
So, you replace the value using
<span jwcid="[EMAIL PROTECTED]">
...
regards,
Gunna
On Wednesday 16 November 2005 15:24, Paul Rush wrote:
...
> The code WAS working using a custom ColumnEvaluator and using
> =currentStatusColumn in the column definition but in that case there
> is no way to specific a @Block replacement because as far as I can
> tell =currentStatusColumn doesn't have an id. For example:
>
> <table class="mytable" jwcid="[EMAIL PROTECTED]:Table"
> source="ognl:allNotes"
> columns="name, !description, dateCreated, =currentStatusColumn" >
> <span jwcid="[EMAIL PROTECTED]">
> <span jwcid="@Insert"
> value="ognl:components.table.tableRow.currentStatus.status.id" />
> </span>
>
> This DOESN'T work. The @Block never gets referenced. This would be
> my preferred way to handle this situation, but I can't figure out how
> to link the @Block up to the column.
>
> Any further thoughts?
>
> Thanks again,
> Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]