> 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?
You could inject the Locale as well as the Messages services into the page and use the latter in a property method to return a localized string. Also, check out the Adding new property editors section in the BeanEditForm guide (https://tapestry.apache.org/beaneditform-guide.html) It may look clumsy initially but it‘s quite beautiful when a bean needs to appear on different pages across your app (which is likely to be the case).