Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The "Tapestry5GridComponent" page has been changed by KimballRobinson:
http://wiki.apache.org/tapestry/Tapestry5GridComponent?action=diff&rev1=13&rev2=14

  == How to add an extra column ==
  You want to add an extra column called "details" to each line that does not 
have a field in the POJO:
  {{{
- <t:grid t:source="list" row="person">
+ <t:grid t:source="list" add="details" row="person">
    <t:parameter name="detailsCell">  <!-- just invent a cell name -->
      <t:pagelink t:page="person" 
t:context="[person.id,person.lastname]">${person.lastname}</t:pagelink>
    </t:parameter>
  </t:grid>
  }}}
  
- Unfortunately a change in the page class is also required:
+ Unfortunately a change in the page class may also be required (if you don't 
use the "add" parameter above, or have a special model).
  {{{
  public class Page {
    @Inject

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to