Re: Accessing Tapestry's Enum Translation

2009-07-24 Thread Thiago H. de Paula Figueiredo
Em Fri, 24 Jul 2009 17:27:24 -0300, Geoffrey Wiseman escreveu: Is there an easier path someone's found? Taking a look at EnumSelectModel, I've found that it uses TapestryInternalUtils.getLabelForEnum(messages, prefix, value). to get the label. The only downside is that it is internal, s

Accessing Tapestry's Enum Translation

2009-07-24 Thread Geoffrey Wiseman
Tapestry's already got a mechanism for translating an enum (e.g. LAST_NAME) to a human-readable value (e.g. Last Name) which can also be overridden in the properties. Is there an easy way to get access to that in order to reuse it in validation messages? Seems silly to do this another way when th