Hi

My application displays information from a database in tables - whoa! nothing new there... However, in one case the whole structure of the table is 'dynamic', in that the number of columns, the headers and the type of information within the columns is configured by the user. I have been studying the contrib Table component and it seems that by using ITableColumn I can easily generate an iteratior of an object supporting ITableColumn to render both header and row data.

My problem is simple - how do I make one of the rows into a link to another page? With the more 'static' versions I have followed the approach as laid out in the very excellent EWDT [Tong] (every Tapestry developer should have one)

It seems to me that one approach is simply to create a PageLink object in my code and render this into the required column. I'm not sure if this is really in the 'ethos' of Tapestry, so maybe there is a better way to do it?

Thanks in advance

Regards

Alan Chaney


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to