Pretty sure that should be: <p:storyCell>${storyExceprt}</p:storyCell>
Cheers, Robert On Aug 17, 2011, at 8/1711:24 AM , Thiago H. de Paula Figueiredo wrote: > On Wed, 17 Aug 2011 13:06:22 -0300, TG <tapestry...@hotmail.com> wrote: > >> I am trying to display a table using grid and one of the column are the >> details of a story, but in the start page, I would like an excerpt of that >> column. Meaning the text should be truncated to say first 100 characters. > > Hi! > > Just use <p:story>${storyExcerpt}</p:story> inside your grid (to override the > block that renders the story column/property) and add a String > getStoryExcerpt() methord that returns the excerpt. > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and > instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.arsmachina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org