You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Reinier Mostert <re...@clabo.co.za> on 2003/03/30 13:49:17 UTC

implicit components and Table model

Hi,

Me again ;-).  Another query on the table - I get the following error
when I try to view my table.  

The component $TableColumns must be contained within an
ITableModelSource component, such as TableView component:
org.apache.tapestry.contrib.table.components.TableColumns$Enhance_3@116a67[ViewTurnoverPage/$TableColumns]

I tried to change the definition of the table from the .page file to use
implicit components in the .html file.  Perhaps I got it wrong??

<span jcwid="@Contrib:TableView" width="100%" tableModel="tableModel"
tableSessionStateManager="tableSessionStateManager">
	<tr>
		<td></td>
		<td jwcid="@Contrib:TableColumns"/>
	</tr>
		
	<tr jwcid="@Contrib:TableRows" value="ognl:turnover">
		<td><!--<span jwcid="@Checkbox"/>--></td>
		<td jwcid="@Contrib:TableValues" align="center"/>
	</tr>
</span>

Thanx
reinier