Em Tue, 15 Sep 2009 14:58:13 -0300, ross.efi <[email protected]> escreveu:

Rather than using a BeanDisplay to show a few fields from a bean, what if I want a table with a few th and td tags. The td tag would just contain the field referenced as ${bean.property}. Is there a way to auto generate a nice label for the th tag without adding a bunch of message catalog entries? Basically, is there a component to humanize the property name?

Tapestry itself uses TapestryInternalUtils.toUserPresentable(String propertyName). This class is internal, so be warned that it can be changed between releases and no backward compatibility is guaranteed.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to