If it is boolean, better way is to define the label in properties. propertyname.true=Yes propertyname.false=No
DH ----- Original Message ----- From: "Thiago H. de Paula Figueiredo" <thiag...@gmail.com> To: "Tapestry users" <users@tapestry.apache.org> Sent: Tuesday, January 26, 2010 11:07 PM Subject: Re: message catalog and generated labels from property name On Tue, 26 Jan 2010 12:07:13 -0200, kamiseq <kami...@gmail.com> wrote: > oh, one more thing > can I map values in components like grid to some other names. > so if in cell I have "false" or "true", can I map this to something like > yes / no Not out of the box, but you can use <p:> blocks (formerly <t:parameter name=""> blocks) to override how a property will be output. This is documented at the Grid componente reference: http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org