I have a grid table in "Roster.tml". The grid table prints out information for "User(s)". An "User" has many properties including rank and status defined as follow:
public enum Rank {INITIATE, MEMBER, GROUP_ADMIN} public enum Status {NEW, OLD} With the template below, the output values for column "Rank" is unformated (noticed all caps and underscore): INITIATE, MEMBER, GROUP_ADMIN. While the output values for column "Status" is formated: New, Old. My question is how to print out formated rank when overriding the "rankCell" in the Grid table. Obviously, it's not "${user.rank}". Thanks. Roster.tml ======= <div id="rosterComp" class="comp" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <div class="title">Roster</div> <div id="rosterView" class="mainpost"> <t:grid source="userList" row="user" model="model" rowClass="rowClass" pagerPosition="top" rowsPerPage="20"> <t:parameter name="rankCell"> ${user.rank} </t:parameter> </t:grid> </div> </div> -- View this message in context: http://www.nabble.com/Format-Output-in-Grid-Table-tp15782616p15782616.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]