The only way to override a message key in a component's message catalog is to subclass the component, and provide a new message catalog (that implicitly extends the super-class message catalog).
On Mon, Aug 6, 2012 at 8:21 AM, Matías Blasi <matias.bl...@gmail.com> wrote: > Hi all, > > I'd like to know if my question is clear, because I can't resolve it yet, > and I think that I should be missing something obvious... > > A component has a <t:label t:for="userName"/>, the same component defines > userName-label in its component.properties, and I don't know how to > override that property... I tried in everywhere, my own > component_es.properties, my app_es.properties, I don't know who has more > hierarchy in the properties resolution than the component' own properties > file. > > I filed an issue in jira: http://jira.codehaus.org/browse/TYNAMO-173 > > Best regards, > Matias. > > > On Thu, Aug 2, 2012 at 4:43 PM, Matías Blasi <matias.bl...@gmail.com> wrote: > >> Thanks Alex, >> >> I have no problem for overriding error messages, I have a custom one which >> is working. >> But the field labes, uses a message binding with "loginLabel" key, and it >> is finding it in LoginForm.properties and I don't know where to override it. >> >> Best regards, >> Matias. >> >> >> >> On Thu, Aug 2, 2012 at 1:09 AM, Matías Blasi <matias.bl...@gmail.com>wrote: >> >>> Hi all! >>> >>> I'm trying to override a message from the catalog of a component. It is >>> the LoginForm from the tynamo-security-0.4.6. >>> >>> It includes a LoginForm.properties with "loginLabel=Login". I added that >>> message in my app_es.properties (loginLabel=Acceso) with no effect. >>> >>> What am I missing??? >>> >>> Thank you for any suggestion, >>> Best regards, >>> Matias. >>> >> >> -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org