On Saturday 17 December 2005 10:24, skydiverx wrote:
> Hi,
>
> I am utterly lost here, and having spent too many our on this witout any
> progress (I must be thick I guess) finally decided to ask here. I have
> looked through all the documentation not finidng anything.
>
> We use Tapestry 4.0
What version of docs are you looking at? The later the release the better the
docs in this respect
>
> I get the exception:
> > Either the tableModel parameter or both source and columns parameters
> > must be specified by component Home/table.tableView.
When you use the @Contrib:table component, you have several ways to specify
how it gets the data. One way is to specify the information in the "source"
and "columns" parameters, the other is to specify a "tableModel" parameter to
a class that implements ITableModel. You have to provide one or the other.
Here is an example I am using
<table id="list" jwcid="[EMAIL PROTECTED]:Table"
rowsClass="ognl:beans.evenOdd.next"
columnsClass="title"
source="ognl:model"
columns="id:ID:id, forename:Forename:forename, surname:Surname:surname,
DOB:Born:DOB, gender:Gender:gender"
pageSize="50"
>
>
> My very simple Home.hml:
>
>
>
>
>
>
> Table test
>
>
>
>
>
>
>
>
???? Not much here ????
--
Alan Chandler
http://www.chandlerfamily.org.uk
Open Source. It's the difference between trust and antitrust.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]