On Thu, 31 Jul 2014 10:43:08 -0300, Stephan Windmüller <[email protected]> wrote:

Hello,

Hi!

I am wondering if it possible to extend the list with my own resource.

Yep! Do what Tapestry itself does: contribute ObjectProvider instances to the MasterObjectProvider service. For example, injection of symbol values using @Symbol is implemented by SymbolObjectProvider.

What I have in mind is a custom messages resource which is aware of the current component/page and also has access to the current locale as well as another injected service. I want to use it to extend the solution mentioned in my earlier thread "Product-line specific component messages".

Wasn't the solution we built enough? Why?

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to