Why don't you just adapt the code I've posted here?

@Inject
private Messages messages;

String componentId = ...;
String key = componentId + "-label";
if (messages.contains(key)) return messages.get(key);
return TapestryInternalUtils.toUserPresentable(componentId);

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.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