You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dan Adams <da...@ifactory.com> on 2005/09/14 23:06:14 UTC

localizing messages programatically

How do you do the equivalent of "message:foo.bar" in code?

-- 
Dan Adams
Software Engineer
Interactive Factory


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: localizing messages programatically

Posted by an...@di.uoa.gr.
> How do you do the equivalent of "message:foo.bar" in code?

see IComponent.getMessage("foo.bar") or
IComponent.getMessages().getMessage("foo.bar")

The first is deprecated in 4.0, but the only option in 3.0.

> 
> -- 
> Dan Adams
> Software Engineer
> Interactive Factory
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 


-- 



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org