Your TML page should have a grid component, in there you would have a
parameter defined as such:

<t:parameter name="storyCell">
     ${storyexcerpt}
</t:parameter>


Also you should assign the 'row' parameter of the grid component to a
property value in your page:

@Property
private 'Entity' gridRow;


And then in your page you would have a public get method:

public String getStoryExcerpt() {
   return StringUtils.abbreviate(gridRow.getStory(),30);
}


Where StringUtils comes from the org.apache.commons.lang package.


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-type-grid-Excerpt-column-tp4708859p4711160.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to