On Thu, 04 Feb 2010 21:33:03 -0200, Christoph Jäger <christoph.jae...@polleninfo.org> wrote:

Hi,

Hi!

It would be a great help, if t:Label would first search for a property like "name-label", and, if none is found, for "name" (without the trailing "-label").

This logic is implemented in the ComponentDefaultProvider service, specifically its defaultLabel(ComponentResources resources) method. You can advise it so it uses any logic you want.

Is there a good reason not to enhance t:Label to do this? How can I help to get this implemented (in case I am not the only one who thinks this would be a good idea)?

I think it could be a good idea. Please post a JIRA for that.

--
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

Reply via email to