Hello! Have you tried <t:propertyDisplay value="object.enumValue"/>? This component is used by BeanDisplay and Grid for outputting property values, using the contributed display blocks to the BeanBlockSource, and uses TapestryInternalUtils.getLabelForEnum(Messages, Enum).
On Wed, Aug 25, 2021 at 11:31 PM Paul Stanton <pa...@mapshed.com.au> wrote: > Using ${object.enumValue} renders the enum in raw form ie ENUM1 > > How do I leverage "TapestryInternalUtils.getLabelForEnum" without having > to use a BeanDisplay or Grid etc? > > Or is there super easy way to just render the Enum value formatted > without rendering any wrapping html etc? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Thiago