You need to use a Block to render that column. Simply change testList.name back to testList and include the following inside the table element in your template:
<span jwcid="[EMAIL PROTECTED]"> <span jwcid="@Insert" value="ognl:components.table.tableRow.name" /> </span> the Table component will use this block to render the data in the testList column instead of the standard rendering. On 3/21/06, Nima Boustanian <[EMAIL PROTECTED]> wrote: > Hey all > > I have two columns in my contrib:table, one returns a string and the > other one returns a list. > > <table jwcid="[EMAIL PROTECTED]:Table" > cellpadding="0" > width="100%" > class="myTable" > source="ognl:table" > columns="testString, testList.name" > pageSize="5" > pagesDisplayed="2"/> > > I manage to extract the string with the above line, but the testList > which contains objects with getName methods (that return strings) > is a bit trickier. I have tried testList.name but without luck, can > someone please give me some pointers on how this > should be done? > > Thanks! > > --------------------------------------------------------------------- > 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]