Hi Thiago,

thanks for the fast response. Worked like a charm. 

Must confess that I've been seriously neglectful of the excellent message 
catalog support in T5 :-(

Kind Regards,
Wulf

-----Original Message-----
From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] 
Sent: Montag, 24. Oktober 2011 22:44
To: Tapestry users; Wechsung, Wulf
Subject: Re: Enum Value display

On Mon, 24 Oct 2011 18:33:30 -0200, Wechsung, Wulf <wulf.wechs...@sap.com>  
wrote:

> Hello T5-Users,

Hi!

> what would be the easiest way to get Tapestry components like Beaneditor  
> and Grid to display Enum values by their actual (not friendly-fied)  
> names? Would that be a Bleanblock contribution for the specific type?

Just add some lines to your app.properties. Example:

RetentionPolicy.SOURCE=SOURCE

java.lang.annotation.RetentionPolicy being used as example.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

Reply via email to