Hello,

in our Tapestry application we have several product lines which require a different wording on the pages. My first thought was to provide my own implementation of the Messages service and set the product line in the Java Code with something like

        messages.setProductLine(ProductLine)

during onActivate and provide different keys like

        title-PRODUCT1=Product One
        title-PRODUCT2=Product Two

That would work for all messages retrieved by the injected service, but how can I replace the service which is used to parse messages in the TML files? Sadly I was not able to determine the code which is called when messages are parsed here. Is it handled by AbstractMessages, too?

Regards
 Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to