hmm...the table component seems to have a slight problem with commas there.
However, there's another solution
Use
<table jwcid="[EMAIL PROTECTED]:Table"
columns="createDate, name, id"
...
>
and after that, create a block, such as:
<span jwcid="[EMAIL PROTECTED]">
<span jwcid="@Insert"
value="ognl:@[EMAIL PROTECTED](components.myTable.tableRow.user,
components.myTable.tableRow.createDate)"/>
</span>
Such blocks override the value presented in every row of the table.
Ed Cohen wrote:
In a Table, I need to call a (static) method having 2 arguments:
columns="createDate:@[EMAIL PROTECTED](user,createDate),
name, id"
(where getUser() and getCreateDate() are methods on the table row bean.)
There seems to be a problem with parsing when the method has more than
one argument, having to do with the comma separating the method's
arguments. I tried putting a \ prior to the comma, but that did not
work either.
What is the correct syntax for multi-parameter methods in column specs?
Thanks,
Ed
---------------------------------------------------------------------
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]