You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by eclipser <jm...@modeemi.fi> on 2012/03/21 11:55:31 UTC
Localizing boolean values?
Hi,
I've been trying to figure out a way to localize false and true in my grids
and beandisplays.
Adding
false=foo
true=bar
in app.properties had no effect (visible to me at least) and I tried
building a translator to do it but I couldn't get that working either - not
sure if it's even applicable for the situation.
So... How can I localize the true and false across my application?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Localizing-boolean-values-tp5582541p5582541.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Localizing boolean values?
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Wed, 21 Mar 2012 07:55:31 -0300, eclipser <jm...@modeemi.fi> wrote:
> Hi,
Hi!
> I've been trying to figure out a way to localize false and true in my
> grids and beandisplays.
>
> Adding
>
> false=foo
> true=bar
>
> in app.properties had no effect (visible to me at least) and I tried
> building a translator to do it but I couldn't get that working either -
> not sure if it's even applicable for the situation.
>
> So... How can I localize the true and false across my application?
There's no direct way of doing that. I guess that would be a good JIRA.
Please post it. :) Meanwhile, you can override the view block for the
Boolean class following the steps in the BeanEditForm tutorial.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org