tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tapestry Wiki] Update of "Tapestry5GridComponent" by KimballRobinson
Date Fri, 20 Jul 2012 21:11:42 GMT
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:

  == 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>
- 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 {

To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org

View raw message