You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Alex Fishlock <al...@racingjag.com> on 2007/05/04 13:16:45 UTC

t5 - Grid help

Can anybody help me with this:

 

I am displaying a grid in T5 so:

 

For example:

Start.html is:

 

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">

<body>

  <h2>Name: ${foo.name}</h2>

  Systems

  <table t:type="grid" source="foo.bars">

  </table>

</body>

</html>

 

Where:

 

Start.java has:

Public Foo getFoo();

 

And Foo.java has:

Public List<Bar> getBars();

 

The table shown is fine, for all properties of Bar that are renderable, eg
strings, ints etc.

 

This is the problem:

 

Bar.java also has:

Public List<Stuff> getStuff();

 

 

And I would like to make a special render for the List<Stuff>, so that in
my cell I can make my own HTML for the column called bars;

 

Alex