You need to use the "loadSettings" method.
so, if you had something like the following in your page class...
public List getColumns() {
...
ExpressionTableColumn idCol = new ExpressionTableColumn("idc","id");
idCol.loadSettings(this);
}
then that should do the trick for you.
Robert
Darío Vasconcelos wrote:
> Hi,
>
> I've been trying unsuccessfully to add links to a Table whose columns
> have been specified with ExpressionTableColumns. My code is pretty
> straightforward,
>
> <table jwcid="@contrib:Table" source="ognl:data"
> columns="ognl:columns" border="0" cellspacing="1" cellpadding="2"
> class="tabla2" width="100%">
> <span jwcid="[EMAIL PROTECTED]"> </span>
> <span jwcid="[EMAIL PROTECTED]">
> <a jwcid="@DirectLink"
> listener="ognl:listeners.linkEditContent"
> parameters="ognl:components.table.tableRow">idc</a>
> </span>
> </table>
>
> The "idc" column exists, its cells are using class idcColumnValue, but
> the links just don't appear. What am I doing wrong?
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]